@decocms/runtime 0.28.0 → 0.28.1

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.
@@ -1,11 +1,12 @@
1
1
  import * as zod from 'zod';
2
- 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-B7U9jXW4.js';
2
+ 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-xKtm7A7B.js';
3
3
  import * as _mastra_core from '@mastra/core';
4
- import { c as createPrivateTool, a as createStreamableTool, S as StreamableTool } from '../index-uCMd27hU.js';
4
+ import { c as createPrivateTool, a as createStreamableTool, S as StreamableTool } from '../index-LOfgE9a_.js';
5
5
  import { z } from 'zod/v3';
6
6
  import { MCPConnection } from '@decocms/bindings/connection';
7
- import { M as MCPClientFetchStub } from '../mcp-DYmQ2RQf.js';
7
+ import { M as MCPClientFetchStub } from '../mcp-87iLaW9V.js';
8
8
  import { ToolBinder } from '@decocms/bindings';
9
+ import { LanguageModelV2StreamPart } from '@ai-sdk/provider';
9
10
  import '@cloudflare/workers-types';
10
11
  import '@mastra/core/di';
11
12
  import '@mastra/core/workflows';
@@ -316,8 +317,8 @@ declare const ViewBinding: {
316
317
  title: string;
317
318
  icon: string;
318
319
  id?: string | undefined;
319
- url?: string | undefined;
320
320
  name?: string | undefined;
321
+ url?: string | undefined;
321
322
  description?: string | undefined;
322
323
  resourceName?: string | undefined;
323
324
  mimeTypePattern?: string | undefined;
@@ -327,11 +328,11 @@ declare const ViewBinding: {
327
328
  title: string;
328
329
  icon: string;
329
330
  id?: string | undefined;
330
- url?: string | undefined;
331
331
  name?: string | undefined;
332
- tools?: string[] | undefined;
332
+ url?: string | undefined;
333
333
  description?: string | undefined;
334
334
  resourceName?: string | undefined;
335
+ tools?: string[] | undefined;
335
336
  mimeTypePattern?: string | undefined;
336
337
  prompt?: string | undefined;
337
338
  installBehavior?: "open" | "none" | "autoPin" | undefined;
@@ -342,8 +343,8 @@ declare const ViewBinding: {
342
343
  title: string;
343
344
  icon: string;
344
345
  id?: string | undefined;
345
- url?: string | undefined;
346
346
  name?: string | undefined;
347
+ url?: string | undefined;
347
348
  description?: string | undefined;
348
349
  resourceName?: string | undefined;
349
350
  mimeTypePattern?: string | undefined;
@@ -355,11 +356,11 @@ declare const ViewBinding: {
355
356
  title: string;
356
357
  icon: string;
357
358
  id?: string | undefined;
358
- url?: string | undefined;
359
359
  name?: string | undefined;
360
- tools?: string[] | undefined;
360
+ url?: string | undefined;
361
361
  description?: string | undefined;
362
362
  resourceName?: string | undefined;
363
+ tools?: string[] | undefined;
363
364
  mimeTypePattern?: string | undefined;
364
365
  prompt?: string | undefined;
365
366
  installBehavior?: "open" | "none" | "autoPin" | undefined;
@@ -395,8 +396,8 @@ declare const VIEW_BINDING: readonly [{
395
396
  title: string;
396
397
  icon: string;
397
398
  id?: string | undefined;
398
- url?: string | undefined;
399
399
  name?: string | undefined;
400
+ url?: string | undefined;
400
401
  description?: string | undefined;
401
402
  resourceName?: string | undefined;
402
403
  mimeTypePattern?: string | undefined;
@@ -406,11 +407,11 @@ declare const VIEW_BINDING: readonly [{
406
407
  title: string;
407
408
  icon: string;
408
409
  id?: string | undefined;
409
- url?: string | undefined;
410
410
  name?: string | undefined;
411
- tools?: string[] | undefined;
411
+ url?: string | undefined;
412
412
  description?: string | undefined;
413
413
  resourceName?: string | undefined;
414
+ tools?: string[] | undefined;
414
415
  mimeTypePattern?: string | undefined;
415
416
  prompt?: string | undefined;
416
417
  installBehavior?: "open" | "none" | "autoPin" | undefined;
@@ -421,8 +422,8 @@ declare const VIEW_BINDING: readonly [{
421
422
  title: string;
422
423
  icon: string;
423
424
  id?: string | undefined;
424
- url?: string | undefined;
425
425
  name?: string | undefined;
426
+ url?: string | undefined;
426
427
  description?: string | undefined;
427
428
  resourceName?: string | undefined;
428
429
  mimeTypePattern?: string | undefined;
@@ -434,11 +435,11 @@ declare const VIEW_BINDING: readonly [{
434
435
  title: string;
435
436
  icon: string;
436
437
  id?: string | undefined;
437
- url?: string | undefined;
438
438
  name?: string | undefined;
439
- tools?: string[] | undefined;
439
+ url?: string | undefined;
440
440
  description?: string | undefined;
441
441
  resourceName?: string | undefined;
442
+ tools?: string[] | undefined;
442
443
  mimeTypePattern?: string | undefined;
443
444
  prompt?: string | undefined;
444
445
  installBehavior?: "open" | "none" | "autoPin" | undefined;
@@ -463,8 +464,8 @@ declare const listViewsSchema: z.ZodObject<{
463
464
  title: string;
464
465
  icon: string;
465
466
  id?: string | undefined;
466
- url?: string | undefined;
467
467
  name?: string | undefined;
468
+ url?: string | undefined;
468
469
  description?: string | undefined;
469
470
  resourceName?: string | undefined;
470
471
  mimeTypePattern?: string | undefined;
@@ -474,11 +475,11 @@ declare const listViewsSchema: z.ZodObject<{
474
475
  title: string;
475
476
  icon: string;
476
477
  id?: string | undefined;
477
- url?: string | undefined;
478
478
  name?: string | undefined;
479
- tools?: string[] | undefined;
479
+ url?: string | undefined;
480
480
  description?: string | undefined;
481
481
  resourceName?: string | undefined;
482
+ tools?: string[] | undefined;
482
483
  mimeTypePattern?: string | undefined;
483
484
  prompt?: string | undefined;
484
485
  installBehavior?: "open" | "none" | "autoPin" | undefined;
@@ -489,8 +490,8 @@ declare const listViewsSchema: z.ZodObject<{
489
490
  title: string;
490
491
  icon: string;
491
492
  id?: string | undefined;
492
- url?: string | undefined;
493
493
  name?: string | undefined;
494
+ url?: string | undefined;
494
495
  description?: string | undefined;
495
496
  resourceName?: string | undefined;
496
497
  mimeTypePattern?: string | undefined;
@@ -502,11 +503,11 @@ declare const listViewsSchema: z.ZodObject<{
502
503
  title: string;
503
504
  icon: string;
504
505
  id?: string | undefined;
505
- url?: string | undefined;
506
506
  name?: string | undefined;
507
- tools?: string[] | undefined;
507
+ url?: string | undefined;
508
508
  description?: string | undefined;
509
509
  resourceName?: string | undefined;
510
+ tools?: string[] | undefined;
510
511
  mimeTypePattern?: string | undefined;
511
512
  prompt?: string | undefined;
512
513
  installBehavior?: "open" | "none" | "autoPin" | undefined;
@@ -751,11 +752,11 @@ declare const DeleteOutputSchema: z.ZodObject<{
751
752
  success: z.ZodBoolean;
752
753
  uri: z.ZodString;
753
754
  }, "strip", z.ZodTypeAny, {
754
- uri: string;
755
755
  success: boolean;
756
- }, {
757
756
  uri: string;
757
+ }, {
758
758
  success: boolean;
759
+ uri: string;
759
760
  }>;
760
761
  /**
761
762
  * Factory function to create item schema for a specific resource type
@@ -890,6 +891,8 @@ declare const ResourceUri: {
890
891
  declare function getMetadataValue(metadata: unknown, key: string): unknown;
891
892
  declare function getMetadataString(metadata: unknown, key: string): string | undefined;
892
893
 
894
+ declare function streamToResponse(stream: ReadableStream<LanguageModelV2StreamPart>, headers?: Record<string, string>): Response;
895
+
893
896
  declare const WellKnownBindings: {
894
897
  readonly Channel: readonly [{
895
898
  readonly name: "DECO_CHAT_CHANNELS_JOIN";
@@ -1184,13 +1187,10 @@ declare const WellKnownBindings: {
1184
1187
  }>>;
1185
1188
  provider: zod.ZodNullable<zod.ZodEnum<["openai", "anthropic", "google", "xai", "deepseek", "openai-compatible", "openrouter"]>>;
1186
1189
  }, "strip", zod.ZodTypeAny, {
1187
- id: string;
1188
- title: string;
1189
- created_at: string;
1190
- updated_at: string;
1191
1190
  description: string | null;
1192
- capabilities: string[];
1191
+ id: string;
1193
1192
  logo: string | null;
1193
+ capabilities: string[];
1194
1194
  limits: {
1195
1195
  maxOutputTokens: number;
1196
1196
  contextWindow: number;
@@ -1200,16 +1200,16 @@ declare const WellKnownBindings: {
1200
1200
  output: number;
1201
1201
  } | null;
1202
1202
  provider: "openai" | "anthropic" | "google" | "deepseek" | "openai-compatible" | "openrouter" | "xai" | null;
1203
- created_by?: string | undefined;
1204
- updated_by?: string | undefined;
1205
- }, {
1206
- id: string;
1207
1203
  title: string;
1208
1204
  created_at: string;
1209
1205
  updated_at: string;
1206
+ created_by?: string | undefined;
1207
+ updated_by?: string | undefined;
1208
+ }, {
1210
1209
  description: string | null;
1211
- capabilities: string[];
1210
+ id: string;
1212
1211
  logo: string | null;
1212
+ capabilities: string[];
1213
1213
  limits: {
1214
1214
  maxOutputTokens: number;
1215
1215
  contextWindow: number;
@@ -1219,6 +1219,9 @@ declare const WellKnownBindings: {
1219
1219
  output: number;
1220
1220
  } | null;
1221
1221
  provider: "openai" | "anthropic" | "google" | "deepseek" | "openai-compatible" | "openrouter" | "xai" | null;
1222
+ title: string;
1223
+ created_at: string;
1224
+ updated_at: string;
1222
1225
  created_by?: string | undefined;
1223
1226
  updated_by?: string | undefined;
1224
1227
  }>, "many">;
@@ -1226,13 +1229,10 @@ declare const WellKnownBindings: {
1226
1229
  hasMore: zod.ZodOptional<zod.ZodBoolean>;
1227
1230
  }, "strip", zod.ZodTypeAny, {
1228
1231
  items: {
1229
- id: string;
1230
- title: string;
1231
- created_at: string;
1232
- updated_at: string;
1233
1232
  description: string | null;
1234
- capabilities: string[];
1233
+ id: string;
1235
1234
  logo: string | null;
1235
+ capabilities: string[];
1236
1236
  limits: {
1237
1237
  maxOutputTokens: number;
1238
1238
  contextWindow: number;
@@ -1242,6 +1242,9 @@ declare const WellKnownBindings: {
1242
1242
  output: number;
1243
1243
  } | null;
1244
1244
  provider: "openai" | "anthropic" | "google" | "deepseek" | "openai-compatible" | "openrouter" | "xai" | null;
1245
+ title: string;
1246
+ created_at: string;
1247
+ updated_at: string;
1245
1248
  created_by?: string | undefined;
1246
1249
  updated_by?: string | undefined;
1247
1250
  }[];
@@ -1249,13 +1252,10 @@ declare const WellKnownBindings: {
1249
1252
  hasMore?: boolean | undefined;
1250
1253
  }, {
1251
1254
  items: {
1252
- id: string;
1253
- title: string;
1254
- created_at: string;
1255
- updated_at: string;
1256
1255
  description: string | null;
1257
- capabilities: string[];
1256
+ id: string;
1258
1257
  logo: string | null;
1258
+ capabilities: string[];
1259
1259
  limits: {
1260
1260
  maxOutputTokens: number;
1261
1261
  contextWindow: number;
@@ -1265,6 +1265,9 @@ declare const WellKnownBindings: {
1265
1265
  output: number;
1266
1266
  } | null;
1267
1267
  provider: "openai" | "anthropic" | "google" | "deepseek" | "openai-compatible" | "openrouter" | "xai" | null;
1268
+ title: string;
1269
+ created_at: string;
1270
+ updated_at: string;
1268
1271
  created_by?: string | undefined;
1269
1272
  updated_by?: string | undefined;
1270
1273
  }[];
@@ -1314,13 +1317,10 @@ declare const WellKnownBindings: {
1314
1317
  }>>;
1315
1318
  provider: zod.ZodNullable<zod.ZodEnum<["openai", "anthropic", "google", "xai", "deepseek", "openai-compatible", "openrouter"]>>;
1316
1319
  }, "strip", zod.ZodTypeAny, {
1317
- id: string;
1318
- title: string;
1319
- created_at: string;
1320
- updated_at: string;
1321
1320
  description: string | null;
1322
- capabilities: string[];
1321
+ id: string;
1323
1322
  logo: string | null;
1323
+ capabilities: string[];
1324
1324
  limits: {
1325
1325
  maxOutputTokens: number;
1326
1326
  contextWindow: number;
@@ -1330,16 +1330,16 @@ declare const WellKnownBindings: {
1330
1330
  output: number;
1331
1331
  } | null;
1332
1332
  provider: "openai" | "anthropic" | "google" | "deepseek" | "openai-compatible" | "openrouter" | "xai" | null;
1333
- created_by?: string | undefined;
1334
- updated_by?: string | undefined;
1335
- }, {
1336
- id: string;
1337
1333
  title: string;
1338
1334
  created_at: string;
1339
1335
  updated_at: string;
1336
+ created_by?: string | undefined;
1337
+ updated_by?: string | undefined;
1338
+ }, {
1340
1339
  description: string | null;
1341
- capabilities: string[];
1340
+ id: string;
1342
1341
  logo: string | null;
1342
+ capabilities: string[];
1343
1343
  limits: {
1344
1344
  maxOutputTokens: number;
1345
1345
  contextWindow: number;
@@ -1349,18 +1349,18 @@ declare const WellKnownBindings: {
1349
1349
  output: number;
1350
1350
  } | null;
1351
1351
  provider: "openai" | "anthropic" | "google" | "deepseek" | "openai-compatible" | "openrouter" | "xai" | null;
1352
+ title: string;
1353
+ created_at: string;
1354
+ updated_at: string;
1352
1355
  created_by?: string | undefined;
1353
1356
  updated_by?: string | undefined;
1354
1357
  }>>;
1355
1358
  }, "strip", zod.ZodTypeAny, {
1356
1359
  item: {
1357
- id: string;
1358
- title: string;
1359
- created_at: string;
1360
- updated_at: string;
1361
1360
  description: string | null;
1362
- capabilities: string[];
1361
+ id: string;
1363
1362
  logo: string | null;
1363
+ capabilities: string[];
1364
1364
  limits: {
1365
1365
  maxOutputTokens: number;
1366
1366
  contextWindow: number;
@@ -1370,18 +1370,18 @@ declare const WellKnownBindings: {
1370
1370
  output: number;
1371
1371
  } | null;
1372
1372
  provider: "openai" | "anthropic" | "google" | "deepseek" | "openai-compatible" | "openrouter" | "xai" | null;
1373
+ title: string;
1374
+ created_at: string;
1375
+ updated_at: string;
1373
1376
  created_by?: string | undefined;
1374
1377
  updated_by?: string | undefined;
1375
1378
  } | null;
1376
1379
  }, {
1377
1380
  item: {
1378
- id: string;
1379
- title: string;
1380
- created_at: string;
1381
- updated_at: string;
1382
1381
  description: string | null;
1383
- capabilities: string[];
1382
+ id: string;
1384
1383
  logo: string | null;
1384
+ capabilities: string[];
1385
1385
  limits: {
1386
1386
  maxOutputTokens: number;
1387
1387
  contextWindow: number;
@@ -1391,6 +1391,9 @@ declare const WellKnownBindings: {
1391
1391
  output: number;
1392
1392
  } | null;
1393
1393
  provider: "openai" | "anthropic" | "google" | "deepseek" | "openai-compatible" | "openrouter" | "xai" | null;
1394
+ title: string;
1395
+ created_at: string;
1396
+ updated_at: string;
1394
1397
  created_by?: string | undefined;
1395
1398
  updated_by?: string | undefined;
1396
1399
  } | null;
@@ -1431,13 +1434,10 @@ declare const WellKnownBindings: {
1431
1434
  }>>;
1432
1435
  provider: zod.ZodNullable<zod.ZodEnum<["openai", "anthropic", "google", "xai", "deepseek", "openai-compatible", "openrouter"]>>;
1433
1436
  }, "strip", zod.ZodTypeAny, {
1434
- id: string;
1435
- title: string;
1436
- created_at: string;
1437
- updated_at: string;
1438
1437
  description: string | null;
1439
- capabilities: string[];
1438
+ id: string;
1440
1439
  logo: string | null;
1440
+ capabilities: string[];
1441
1441
  limits: {
1442
1442
  maxOutputTokens: number;
1443
1443
  contextWindow: number;
@@ -1447,16 +1447,16 @@ declare const WellKnownBindings: {
1447
1447
  output: number;
1448
1448
  } | null;
1449
1449
  provider: "openai" | "anthropic" | "google" | "deepseek" | "openai-compatible" | "openrouter" | "xai" | null;
1450
- created_by?: string | undefined;
1451
- updated_by?: string | undefined;
1452
- }, {
1453
- id: string;
1454
1450
  title: string;
1455
1451
  created_at: string;
1456
1452
  updated_at: string;
1453
+ created_by?: string | undefined;
1454
+ updated_by?: string | undefined;
1455
+ }, {
1457
1456
  description: string | null;
1458
- capabilities: string[];
1457
+ id: string;
1459
1458
  logo: string | null;
1459
+ capabilities: string[];
1460
1460
  limits: {
1461
1461
  maxOutputTokens: number;
1462
1462
  contextWindow: number;
@@ -1466,18 +1466,18 @@ declare const WellKnownBindings: {
1466
1466
  output: number;
1467
1467
  } | null;
1468
1468
  provider: "openai" | "anthropic" | "google" | "deepseek" | "openai-compatible" | "openrouter" | "xai" | null;
1469
+ title: string;
1470
+ created_at: string;
1471
+ updated_at: string;
1469
1472
  created_by?: string | undefined;
1470
1473
  updated_by?: string | undefined;
1471
1474
  }>;
1472
1475
  }, "strip", zod.ZodTypeAny, {
1473
1476
  data: {
1474
- id: string;
1475
- title: string;
1476
- created_at: string;
1477
- updated_at: string;
1478
1477
  description: string | null;
1479
- capabilities: string[];
1478
+ id: string;
1480
1479
  logo: string | null;
1480
+ capabilities: string[];
1481
1481
  limits: {
1482
1482
  maxOutputTokens: number;
1483
1483
  contextWindow: number;
@@ -1487,18 +1487,18 @@ declare const WellKnownBindings: {
1487
1487
  output: number;
1488
1488
  } | null;
1489
1489
  provider: "openai" | "anthropic" | "google" | "deepseek" | "openai-compatible" | "openrouter" | "xai" | null;
1490
+ title: string;
1491
+ created_at: string;
1492
+ updated_at: string;
1490
1493
  created_by?: string | undefined;
1491
1494
  updated_by?: string | undefined;
1492
1495
  };
1493
1496
  }, {
1494
1497
  data: {
1495
- id: string;
1496
- title: string;
1497
- created_at: string;
1498
- updated_at: string;
1499
1498
  description: string | null;
1500
- capabilities: string[];
1499
+ id: string;
1501
1500
  logo: string | null;
1501
+ capabilities: string[];
1502
1502
  limits: {
1503
1503
  maxOutputTokens: number;
1504
1504
  contextWindow: number;
@@ -1508,6 +1508,9 @@ declare const WellKnownBindings: {
1508
1508
  output: number;
1509
1509
  } | null;
1510
1510
  provider: "openai" | "anthropic" | "google" | "deepseek" | "openai-compatible" | "openrouter" | "xai" | null;
1511
+ title: string;
1512
+ created_at: string;
1513
+ updated_at: string;
1511
1514
  created_by?: string | undefined;
1512
1515
  updated_by?: string | undefined;
1513
1516
  };
@@ -1546,13 +1549,10 @@ declare const WellKnownBindings: {
1546
1549
  }>>;
1547
1550
  provider: zod.ZodNullable<zod.ZodEnum<["openai", "anthropic", "google", "xai", "deepseek", "openai-compatible", "openrouter"]>>;
1548
1551
  }, "strip", zod.ZodTypeAny, {
1549
- id: string;
1550
- title: string;
1551
- created_at: string;
1552
- updated_at: string;
1553
1552
  description: string | null;
1554
- capabilities: string[];
1553
+ id: string;
1555
1554
  logo: string | null;
1555
+ capabilities: string[];
1556
1556
  limits: {
1557
1557
  maxOutputTokens: number;
1558
1558
  contextWindow: number;
@@ -1562,16 +1562,16 @@ declare const WellKnownBindings: {
1562
1562
  output: number;
1563
1563
  } | null;
1564
1564
  provider: "openai" | "anthropic" | "google" | "deepseek" | "openai-compatible" | "openrouter" | "xai" | null;
1565
- created_by?: string | undefined;
1566
- updated_by?: string | undefined;
1567
- }, {
1568
- id: string;
1569
1565
  title: string;
1570
1566
  created_at: string;
1571
1567
  updated_at: string;
1568
+ created_by?: string | undefined;
1569
+ updated_by?: string | undefined;
1570
+ }, {
1572
1571
  description: string | null;
1573
- capabilities: string[];
1572
+ id: string;
1574
1573
  logo: string | null;
1574
+ capabilities: string[];
1575
1575
  limits: {
1576
1576
  maxOutputTokens: number;
1577
1577
  contextWindow: number;
@@ -1581,18 +1581,18 @@ declare const WellKnownBindings: {
1581
1581
  output: number;
1582
1582
  } | null;
1583
1583
  provider: "openai" | "anthropic" | "google" | "deepseek" | "openai-compatible" | "openrouter" | "xai" | null;
1584
+ title: string;
1585
+ created_at: string;
1586
+ updated_at: string;
1584
1587
  created_by?: string | undefined;
1585
1588
  updated_by?: string | undefined;
1586
1589
  }>;
1587
1590
  }, "strip", zod.ZodTypeAny, {
1588
1591
  item: {
1589
- id: string;
1590
- title: string;
1591
- created_at: string;
1592
- updated_at: string;
1593
1592
  description: string | null;
1594
- capabilities: string[];
1593
+ id: string;
1595
1594
  logo: string | null;
1595
+ capabilities: string[];
1596
1596
  limits: {
1597
1597
  maxOutputTokens: number;
1598
1598
  contextWindow: number;
@@ -1602,18 +1602,18 @@ declare const WellKnownBindings: {
1602
1602
  output: number;
1603
1603
  } | null;
1604
1604
  provider: "openai" | "anthropic" | "google" | "deepseek" | "openai-compatible" | "openrouter" | "xai" | null;
1605
+ title: string;
1606
+ created_at: string;
1607
+ updated_at: string;
1605
1608
  created_by?: string | undefined;
1606
1609
  updated_by?: string | undefined;
1607
1610
  };
1608
1611
  }, {
1609
1612
  item: {
1610
- id: string;
1611
- title: string;
1612
- created_at: string;
1613
- updated_at: string;
1614
1613
  description: string | null;
1615
- capabilities: string[];
1614
+ id: string;
1616
1615
  logo: string | null;
1616
+ capabilities: string[];
1617
1617
  limits: {
1618
1618
  maxOutputTokens: number;
1619
1619
  contextWindow: number;
@@ -1623,6 +1623,9 @@ declare const WellKnownBindings: {
1623
1623
  output: number;
1624
1624
  } | null;
1625
1625
  provider: "openai" | "anthropic" | "google" | "deepseek" | "openai-compatible" | "openrouter" | "xai" | null;
1626
+ title: string;
1627
+ created_at: string;
1628
+ updated_at: string;
1626
1629
  created_by?: string | undefined;
1627
1630
  updated_by?: string | undefined;
1628
1631
  };
@@ -1684,13 +1687,10 @@ declare const WellKnownBindings: {
1684
1687
  }>>;
1685
1688
  provider: zod.ZodNullable<zod.ZodEnum<["openai", "anthropic", "google", "xai", "deepseek", "openai-compatible", "openrouter"]>>;
1686
1689
  }, "strip", zod.ZodTypeAny, {
1687
- id: string;
1688
- title: string;
1689
- created_at: string;
1690
- updated_at: string;
1691
1690
  description: string | null;
1692
- capabilities: string[];
1691
+ id: string;
1693
1692
  logo: string | null;
1693
+ capabilities: string[];
1694
1694
  limits: {
1695
1695
  maxOutputTokens: number;
1696
1696
  contextWindow: number;
@@ -1700,16 +1700,16 @@ declare const WellKnownBindings: {
1700
1700
  output: number;
1701
1701
  } | null;
1702
1702
  provider: "openai" | "anthropic" | "google" | "deepseek" | "openai-compatible" | "openrouter" | "xai" | null;
1703
- created_by?: string | undefined;
1704
- updated_by?: string | undefined;
1705
- }, {
1706
- id: string;
1707
1703
  title: string;
1708
1704
  created_at: string;
1709
1705
  updated_at: string;
1706
+ created_by?: string | undefined;
1707
+ updated_by?: string | undefined;
1708
+ }, {
1710
1709
  description: string | null;
1711
- capabilities: string[];
1710
+ id: string;
1712
1711
  logo: string | null;
1712
+ capabilities: string[];
1713
1713
  limits: {
1714
1714
  maxOutputTokens: number;
1715
1715
  contextWindow: number;
@@ -1719,18 +1719,18 @@ declare const WellKnownBindings: {
1719
1719
  output: number;
1720
1720
  } | null;
1721
1721
  provider: "openai" | "anthropic" | "google" | "deepseek" | "openai-compatible" | "openrouter" | "xai" | null;
1722
+ title: string;
1723
+ created_at: string;
1724
+ updated_at: string;
1722
1725
  created_by?: string | undefined;
1723
1726
  updated_by?: string | undefined;
1724
1727
  }>;
1725
1728
  }, "strip", zod.ZodTypeAny, {
1726
1729
  item: {
1727
- id: string;
1728
- title: string;
1729
- created_at: string;
1730
- updated_at: string;
1731
1730
  description: string | null;
1732
- capabilities: string[];
1731
+ id: string;
1733
1732
  logo: string | null;
1733
+ capabilities: string[];
1734
1734
  limits: {
1735
1735
  maxOutputTokens: number;
1736
1736
  contextWindow: number;
@@ -1740,18 +1740,18 @@ declare const WellKnownBindings: {
1740
1740
  output: number;
1741
1741
  } | null;
1742
1742
  provider: "openai" | "anthropic" | "google" | "deepseek" | "openai-compatible" | "openrouter" | "xai" | null;
1743
+ title: string;
1744
+ created_at: string;
1745
+ updated_at: string;
1743
1746
  created_by?: string | undefined;
1744
1747
  updated_by?: string | undefined;
1745
1748
  };
1746
1749
  }, {
1747
1750
  item: {
1748
- id: string;
1749
- title: string;
1750
- created_at: string;
1751
- updated_at: string;
1752
1751
  description: string | null;
1753
- capabilities: string[];
1752
+ id: string;
1754
1753
  logo: string | null;
1754
+ capabilities: string[];
1755
1755
  limits: {
1756
1756
  maxOutputTokens: number;
1757
1757
  contextWindow: number;
@@ -1761,6 +1761,9 @@ declare const WellKnownBindings: {
1761
1761
  output: number;
1762
1762
  } | null;
1763
1763
  provider: "openai" | "anthropic" | "google" | "deepseek" | "openai-compatible" | "openrouter" | "xai" | null;
1764
+ title: string;
1765
+ created_at: string;
1766
+ updated_at: string;
1764
1767
  created_by?: string | undefined;
1765
1768
  updated_by?: string | undefined;
1766
1769
  };
@@ -1809,13 +1812,10 @@ declare const WellKnownBindings: {
1809
1812
  }>>;
1810
1813
  provider: zod.ZodNullable<zod.ZodEnum<["openai", "anthropic", "google", "xai", "deepseek", "openai-compatible", "openrouter"]>>;
1811
1814
  }, "strip", zod.ZodTypeAny, {
1812
- id: string;
1813
- title: string;
1814
- created_at: string;
1815
- updated_at: string;
1816
1815
  description: string | null;
1817
- capabilities: string[];
1816
+ id: string;
1818
1817
  logo: string | null;
1818
+ capabilities: string[];
1819
1819
  limits: {
1820
1820
  maxOutputTokens: number;
1821
1821
  contextWindow: number;
@@ -1825,16 +1825,16 @@ declare const WellKnownBindings: {
1825
1825
  output: number;
1826
1826
  } | null;
1827
1827
  provider: "openai" | "anthropic" | "google" | "deepseek" | "openai-compatible" | "openrouter" | "xai" | null;
1828
- created_by?: string | undefined;
1829
- updated_by?: string | undefined;
1830
- }, {
1831
- id: string;
1832
1828
  title: string;
1833
1829
  created_at: string;
1834
1830
  updated_at: string;
1831
+ created_by?: string | undefined;
1832
+ updated_by?: string | undefined;
1833
+ }, {
1835
1834
  description: string | null;
1836
- capabilities: string[];
1835
+ id: string;
1837
1836
  logo: string | null;
1837
+ capabilities: string[];
1838
1838
  limits: {
1839
1839
  maxOutputTokens: number;
1840
1840
  contextWindow: number;
@@ -1844,18 +1844,18 @@ declare const WellKnownBindings: {
1844
1844
  output: number;
1845
1845
  } | null;
1846
1846
  provider: "openai" | "anthropic" | "google" | "deepseek" | "openai-compatible" | "openrouter" | "xai" | null;
1847
+ title: string;
1848
+ created_at: string;
1849
+ updated_at: string;
1847
1850
  created_by?: string | undefined;
1848
1851
  updated_by?: string | undefined;
1849
1852
  }>;
1850
1853
  }, "strip", zod.ZodTypeAny, {
1851
1854
  item: {
1852
- id: string;
1853
- title: string;
1854
- created_at: string;
1855
- updated_at: string;
1856
1855
  description: string | null;
1857
- capabilities: string[];
1856
+ id: string;
1858
1857
  logo: string | null;
1858
+ capabilities: string[];
1859
1859
  limits: {
1860
1860
  maxOutputTokens: number;
1861
1861
  contextWindow: number;
@@ -1865,18 +1865,18 @@ declare const WellKnownBindings: {
1865
1865
  output: number;
1866
1866
  } | null;
1867
1867
  provider: "openai" | "anthropic" | "google" | "deepseek" | "openai-compatible" | "openrouter" | "xai" | null;
1868
+ title: string;
1869
+ created_at: string;
1870
+ updated_at: string;
1868
1871
  created_by?: string | undefined;
1869
1872
  updated_by?: string | undefined;
1870
1873
  };
1871
1874
  }, {
1872
1875
  item: {
1873
- id: string;
1874
- title: string;
1875
- created_at: string;
1876
- updated_at: string;
1877
1876
  description: string | null;
1878
- capabilities: string[];
1877
+ id: string;
1879
1878
  logo: string | null;
1879
+ capabilities: string[];
1880
1880
  limits: {
1881
1881
  maxOutputTokens: number;
1882
1882
  contextWindow: number;
@@ -1886,6 +1886,9 @@ declare const WellKnownBindings: {
1886
1886
  output: number;
1887
1887
  } | null;
1888
1888
  provider: "openai" | "anthropic" | "google" | "deepseek" | "openai-compatible" | "openrouter" | "xai" | null;
1889
+ title: string;
1890
+ created_at: string;
1891
+ updated_at: string;
1889
1892
  created_by?: string | undefined;
1890
1893
  updated_by?: string | undefined;
1891
1894
  };
@@ -1935,14 +1938,14 @@ declare const WellKnownBindings: {
1935
1938
  description: zod.ZodOptional<zod.ZodString>;
1936
1939
  }, "strip", zod.ZodTypeAny, {
1937
1940
  type: "json";
1938
- description?: string | undefined;
1939
- name?: string | undefined;
1940
1941
  schema?: any;
1942
+ name?: string | undefined;
1943
+ description?: string | undefined;
1941
1944
  }, {
1942
1945
  type: "json";
1943
- description?: string | undefined;
1944
- name?: string | undefined;
1945
1946
  schema?: any;
1947
+ name?: string | undefined;
1948
+ description?: string | undefined;
1946
1949
  }>]>>;
1947
1950
  tools: zod.ZodOptional<zod.ZodArray<zod.ZodAny, "many">>;
1948
1951
  toolChoice: zod.ZodOptional<zod.ZodAny>;
@@ -1951,8 +1954,6 @@ declare const WellKnownBindings: {
1951
1954
  headers: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<[zod.ZodString, zod.ZodUndefined]>>>;
1952
1955
  providerOptions: zod.ZodOptional<zod.ZodAny>;
1953
1956
  }, "strip", zod.ZodTypeAny, {
1954
- tools?: any[] | undefined;
1955
- headers?: Record<string, string | undefined> | undefined;
1956
1957
  prompt?: any;
1957
1958
  maxOutputTokens?: number | undefined;
1958
1959
  temperature?: number | undefined;
@@ -1966,17 +1967,17 @@ declare const WellKnownBindings: {
1966
1967
  type: "text";
1967
1968
  } | {
1968
1969
  type: "json";
1969
- description?: string | undefined;
1970
- name?: string | undefined;
1971
1970
  schema?: any;
1971
+ name?: string | undefined;
1972
+ description?: string | undefined;
1972
1973
  } | undefined;
1974
+ tools?: any[] | undefined;
1973
1975
  toolChoice?: any;
1974
1976
  includeRawChunks?: boolean | undefined;
1975
1977
  abortSignal?: any;
1978
+ headers?: Record<string, string | undefined> | undefined;
1976
1979
  providerOptions?: any;
1977
1980
  }, {
1978
- tools?: any[] | undefined;
1979
- headers?: Record<string, string | undefined> | undefined;
1980
1981
  prompt?: any;
1981
1982
  maxOutputTokens?: number | undefined;
1982
1983
  temperature?: number | undefined;
@@ -1990,20 +1991,20 @@ declare const WellKnownBindings: {
1990
1991
  type: "text";
1991
1992
  } | {
1992
1993
  type: "json";
1993
- description?: string | undefined;
1994
- name?: string | undefined;
1995
1994
  schema?: any;
1995
+ name?: string | undefined;
1996
+ description?: string | undefined;
1996
1997
  } | undefined;
1998
+ tools?: any[] | undefined;
1997
1999
  toolChoice?: any;
1998
2000
  includeRawChunks?: boolean | undefined;
1999
2001
  abortSignal?: any;
2002
+ headers?: Record<string, string | undefined> | undefined;
2000
2003
  providerOptions?: any;
2001
2004
  }>;
2002
2005
  }, "strip", zod.ZodTypeAny, {
2003
2006
  modelId: string;
2004
2007
  callOptions: {
2005
- tools?: any[] | undefined;
2006
- headers?: Record<string, string | undefined> | undefined;
2007
2008
  prompt?: any;
2008
2009
  maxOutputTokens?: number | undefined;
2009
2010
  temperature?: number | undefined;
@@ -2017,20 +2018,20 @@ declare const WellKnownBindings: {
2017
2018
  type: "text";
2018
2019
  } | {
2019
2020
  type: "json";
2020
- description?: string | undefined;
2021
- name?: string | undefined;
2022
2021
  schema?: any;
2022
+ name?: string | undefined;
2023
+ description?: string | undefined;
2023
2024
  } | undefined;
2025
+ tools?: any[] | undefined;
2024
2026
  toolChoice?: any;
2025
2027
  includeRawChunks?: boolean | undefined;
2026
2028
  abortSignal?: any;
2029
+ headers?: Record<string, string | undefined> | undefined;
2027
2030
  providerOptions?: any;
2028
2031
  };
2029
2032
  }, {
2030
2033
  modelId: string;
2031
2034
  callOptions: {
2032
- tools?: any[] | undefined;
2033
- headers?: Record<string, string | undefined> | undefined;
2034
2035
  prompt?: any;
2035
2036
  maxOutputTokens?: number | undefined;
2036
2037
  temperature?: number | undefined;
@@ -2044,13 +2045,15 @@ declare const WellKnownBindings: {
2044
2045
  type: "text";
2045
2046
  } | {
2046
2047
  type: "json";
2047
- description?: string | undefined;
2048
- name?: string | undefined;
2049
2048
  schema?: any;
2049
+ name?: string | undefined;
2050
+ description?: string | undefined;
2050
2051
  } | undefined;
2052
+ tools?: any[] | undefined;
2051
2053
  toolChoice?: any;
2052
2054
  includeRawChunks?: boolean | undefined;
2053
2055
  abortSignal?: any;
2056
+ headers?: Record<string, string | undefined> | undefined;
2054
2057
  providerOptions?: any;
2055
2058
  };
2056
2059
  }>;
@@ -2083,14 +2086,14 @@ declare const WellKnownBindings: {
2083
2086
  description: zod.ZodOptional<zod.ZodString>;
2084
2087
  }, "strip", zod.ZodTypeAny, {
2085
2088
  type: "json";
2086
- description?: string | undefined;
2087
- name?: string | undefined;
2088
2089
  schema?: any;
2090
+ name?: string | undefined;
2091
+ description?: string | undefined;
2089
2092
  }, {
2090
2093
  type: "json";
2091
- description?: string | undefined;
2092
- name?: string | undefined;
2093
2094
  schema?: any;
2095
+ name?: string | undefined;
2096
+ description?: string | undefined;
2094
2097
  }>]>>;
2095
2098
  tools: zod.ZodOptional<zod.ZodArray<zod.ZodAny, "many">>;
2096
2099
  toolChoice: zod.ZodOptional<zod.ZodAny>;
@@ -2099,8 +2102,6 @@ declare const WellKnownBindings: {
2099
2102
  headers: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<[zod.ZodString, zod.ZodUndefined]>>>;
2100
2103
  providerOptions: zod.ZodOptional<zod.ZodAny>;
2101
2104
  }, "strip", zod.ZodTypeAny, {
2102
- tools?: any[] | undefined;
2103
- headers?: Record<string, string | undefined> | undefined;
2104
2105
  prompt?: any;
2105
2106
  maxOutputTokens?: number | undefined;
2106
2107
  temperature?: number | undefined;
@@ -2114,17 +2115,17 @@ declare const WellKnownBindings: {
2114
2115
  type: "text";
2115
2116
  } | {
2116
2117
  type: "json";
2117
- description?: string | undefined;
2118
- name?: string | undefined;
2119
2118
  schema?: any;
2119
+ name?: string | undefined;
2120
+ description?: string | undefined;
2120
2121
  } | undefined;
2122
+ tools?: any[] | undefined;
2121
2123
  toolChoice?: any;
2122
2124
  includeRawChunks?: boolean | undefined;
2123
2125
  abortSignal?: any;
2126
+ headers?: Record<string, string | undefined> | undefined;
2124
2127
  providerOptions?: any;
2125
2128
  }, {
2126
- tools?: any[] | undefined;
2127
- headers?: Record<string, string | undefined> | undefined;
2128
2129
  prompt?: any;
2129
2130
  maxOutputTokens?: number | undefined;
2130
2131
  temperature?: number | undefined;
@@ -2138,20 +2139,20 @@ declare const WellKnownBindings: {
2138
2139
  type: "text";
2139
2140
  } | {
2140
2141
  type: "json";
2141
- description?: string | undefined;
2142
- name?: string | undefined;
2143
2142
  schema?: any;
2143
+ name?: string | undefined;
2144
+ description?: string | undefined;
2144
2145
  } | undefined;
2146
+ tools?: any[] | undefined;
2145
2147
  toolChoice?: any;
2146
2148
  includeRawChunks?: boolean | undefined;
2147
2149
  abortSignal?: any;
2150
+ headers?: Record<string, string | undefined> | undefined;
2148
2151
  providerOptions?: any;
2149
2152
  }>;
2150
2153
  }, "strip", zod.ZodTypeAny, {
2151
2154
  modelId: string;
2152
2155
  callOptions: {
2153
- tools?: any[] | undefined;
2154
- headers?: Record<string, string | undefined> | undefined;
2155
2156
  prompt?: any;
2156
2157
  maxOutputTokens?: number | undefined;
2157
2158
  temperature?: number | undefined;
@@ -2165,20 +2166,20 @@ declare const WellKnownBindings: {
2165
2166
  type: "text";
2166
2167
  } | {
2167
2168
  type: "json";
2168
- description?: string | undefined;
2169
- name?: string | undefined;
2170
2169
  schema?: any;
2170
+ name?: string | undefined;
2171
+ description?: string | undefined;
2171
2172
  } | undefined;
2173
+ tools?: any[] | undefined;
2172
2174
  toolChoice?: any;
2173
2175
  includeRawChunks?: boolean | undefined;
2174
2176
  abortSignal?: any;
2177
+ headers?: Record<string, string | undefined> | undefined;
2175
2178
  providerOptions?: any;
2176
2179
  };
2177
2180
  }, {
2178
2181
  modelId: string;
2179
2182
  callOptions: {
2180
- tools?: any[] | undefined;
2181
- headers?: Record<string, string | undefined> | undefined;
2182
2183
  prompt?: any;
2183
2184
  maxOutputTokens?: number | undefined;
2184
2185
  temperature?: number | undefined;
@@ -2192,13 +2193,15 @@ declare const WellKnownBindings: {
2192
2193
  type: "text";
2193
2194
  } | {
2194
2195
  type: "json";
2195
- description?: string | undefined;
2196
- name?: string | undefined;
2197
2196
  schema?: any;
2197
+ name?: string | undefined;
2198
+ description?: string | undefined;
2198
2199
  } | undefined;
2200
+ tools?: any[] | undefined;
2199
2201
  toolChoice?: any;
2200
2202
  includeRawChunks?: boolean | undefined;
2201
2203
  abortSignal?: any;
2204
+ headers?: Record<string, string | undefined> | undefined;
2202
2205
  providerOptions?: any;
2203
2206
  };
2204
2207
  }>;
@@ -2246,22 +2249,22 @@ declare const WellKnownBindings: {
2246
2249
  headers: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
2247
2250
  body: zod.ZodOptional<zod.ZodAny>;
2248
2251
  }, "strip", zod.ZodTypeAny, {
2249
- id?: string | undefined;
2250
2252
  headers?: Record<string, string> | undefined;
2251
2253
  body?: any;
2254
+ id?: string | undefined;
2252
2255
  timestamp?: Date | undefined;
2253
2256
  modelId?: string | undefined;
2254
2257
  }, {
2255
- id?: string | undefined;
2256
2258
  headers?: Record<string, string> | undefined;
2257
2259
  body?: any;
2260
+ id?: string | undefined;
2258
2261
  timestamp?: Date | undefined;
2259
2262
  modelId?: string | undefined;
2260
2263
  }>>;
2261
2264
  warnings: zod.ZodArray<zod.ZodAny, "many">;
2262
2265
  }, "strip", zod.ZodTypeAny, {
2263
2266
  content: any[];
2264
- finishReason: "length" | "unknown" | "error" | "stop" | "content-filter" | "tool-calls" | "other";
2267
+ finishReason: "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "error" | "other";
2265
2268
  usage: {
2266
2269
  inputTokens: number | undefined;
2267
2270
  outputTokens: number | undefined;
@@ -2274,15 +2277,15 @@ declare const WellKnownBindings: {
2274
2277
  body?: any;
2275
2278
  } | undefined;
2276
2279
  response?: {
2277
- id?: string | undefined;
2278
2280
  headers?: Record<string, string> | undefined;
2279
2281
  body?: any;
2282
+ id?: string | undefined;
2280
2283
  timestamp?: Date | undefined;
2281
2284
  modelId?: string | undefined;
2282
2285
  } | undefined;
2283
2286
  }, {
2284
2287
  content: any[];
2285
- finishReason: "length" | "unknown" | "error" | "stop" | "content-filter" | "tool-calls" | "other";
2288
+ finishReason: "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "error" | "other";
2286
2289
  usage: {
2287
2290
  inputTokens?: number | undefined;
2288
2291
  outputTokens?: number | undefined;
@@ -2297,9 +2300,9 @@ declare const WellKnownBindings: {
2297
2300
  body?: any;
2298
2301
  } | undefined;
2299
2302
  response?: {
2300
- id?: string | undefined;
2301
2303
  headers?: Record<string, string> | undefined;
2302
2304
  body?: any;
2305
+ id?: string | undefined;
2303
2306
  timestamp?: Date | undefined;
2304
2307
  modelId?: string | undefined;
2305
2308
  } | undefined;
@@ -2309,4 +2312,4 @@ declare const WellKnownBindings: {
2309
2312
  };
2310
2313
  type WellKnownBindingsName = keyof typeof WellKnownBindings;
2311
2314
 
2312
- export { type Binder, type BinderImplementation, Binding, CHANNEL_BINDING, type Callbacks, ChannelBinding, type CreateInput, type CreateOutput, type DeleteInput, DeleteInputSchema, type DeleteOutput, DeleteOutputSchema, DescribeInputSchema, DescribeOutputSchema, type JoinedChannelPayload, type ListChannelsSchema, type MCPBindingClient, type ReadInput, ReadInputSchema, type ReadOutput, type ResourceItem, ResourcePath, ResourceUri, ResourceUriSchema, type SearchInput, SearchInputSchema, type SearchOutput, type ToolLike, type UpdateInput, type UpdateOutput, VIEW_BINDING, ViewBinding, WellKnownBindings, type WellKnownBindingsName, bindingClient, constructResourceUri, createCreateInputSchema, createCreateOutputSchema, createItemSchema, createReadOutputSchema, createSearchOutputSchema, createUpdateInputSchema, createUpdateOutputSchema, getMetadataString as deconfigGetMetadataString, getMetadataValue as deconfigGetMetadataValue, normalizeDirectory as deconfigNormalizeDirectory, impl, listViewsSchema, parseResourceUri, validateResourceUri };
2315
+ export { type Binder, type BinderImplementation, Binding, CHANNEL_BINDING, type Callbacks, ChannelBinding, type CreateInput, type CreateOutput, type DeleteInput, DeleteInputSchema, type DeleteOutput, DeleteOutputSchema, DescribeInputSchema, DescribeOutputSchema, type JoinedChannelPayload, type ListChannelsSchema, type MCPBindingClient, type ReadInput, ReadInputSchema, type ReadOutput, type ResourceItem, ResourcePath, ResourceUri, ResourceUriSchema, type SearchInput, SearchInputSchema, type SearchOutput, type ToolLike, type UpdateInput, type UpdateOutput, VIEW_BINDING, ViewBinding, WellKnownBindings, type WellKnownBindingsName, bindingClient, constructResourceUri, createCreateInputSchema, createCreateOutputSchema, createItemSchema, createReadOutputSchema, createSearchOutputSchema, createUpdateInputSchema, createUpdateOutputSchema, getMetadataString as deconfigGetMetadataString, getMetadataValue as deconfigGetMetadataValue, normalizeDirectory as deconfigNormalizeDirectory, impl, listViewsSchema, parseResourceUri, streamToResponse, validateResourceUri };