@mastra/core 0.9.3 → 0.9.4-alpha.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.
Files changed (143) hide show
  1. package/a2a.d.ts +1 -0
  2. package/dist/a2a/index.cjs +79 -0
  3. package/dist/a2a/index.d.cts +780 -0
  4. package/dist/a2a/index.d.ts +780 -0
  5. package/dist/a2a/index.js +68 -0
  6. package/dist/agent/index.cjs +2 -2
  7. package/dist/agent/index.d.cts +4 -3
  8. package/dist/agent/index.d.ts +4 -3
  9. package/dist/agent/index.js +1 -1
  10. package/dist/{base-CeEVvwRi.d.ts → base-4Z34GQL8.d.ts} +1 -1
  11. package/dist/{base-BCnFhShR.d.ts → base-4hc3EYVz.d.ts} +144 -10
  12. package/dist/{base-VMWGZau0.d.cts → base-DvwYl4To.d.cts} +144 -10
  13. package/dist/{base-D9APQt4V.d.cts → base-H7siSAfu.d.cts} +1 -1
  14. package/dist/base.cjs +2 -2
  15. package/dist/base.d.cts +2 -2
  16. package/dist/base.d.ts +2 -2
  17. package/dist/base.js +1 -1
  18. package/dist/bundler/index.cjs +2 -2
  19. package/dist/bundler/index.d.cts +2 -2
  20. package/dist/bundler/index.d.ts +2 -2
  21. package/dist/bundler/index.js +1 -1
  22. package/dist/{chunk-NDAW47QQ.js → chunk-235X76GC.js} +1 -1
  23. package/dist/{chunk-BMSBIZKD.cjs → chunk-2GXSTMD7.cjs} +2 -2
  24. package/dist/{chunk-Q6ZDDQOB.js → chunk-2OC4YT6C.js} +1 -1
  25. package/dist/{chunk-R652KYQW.js → chunk-4OTKXCGD.js} +1 -1
  26. package/dist/{chunk-OGNJRWRQ.cjs → chunk-5DUFC7TV.cjs} +2 -2
  27. package/dist/{chunk-SONEVGEJ.js → chunk-62M2N34A.js} +1 -1
  28. package/dist/{chunk-QQFFJTJ4.cjs → chunk-7EXZJ7KS.cjs} +2 -2
  29. package/dist/{chunk-2BVZNKLX.js → chunk-CMPPXW4U.js} +2 -1
  30. package/dist/{chunk-CPONI4EX.js → chunk-CTKNWYK2.js} +1 -1
  31. package/dist/{chunk-JCBDQUQY.js → chunk-D6GO3MBG.js} +1 -1
  32. package/dist/{chunk-ZMMZXEOL.cjs → chunk-DFZXG6NK.cjs} +9 -9
  33. package/dist/{chunk-6NUAJ6AB.cjs → chunk-E4FAXBUV.cjs} +2 -2
  34. package/dist/{chunk-RO52JMKQ.cjs → chunk-EG74VBSP.cjs} +6 -6
  35. package/dist/{chunk-EYMLOJ2Q.js → chunk-EGZ7J727.js} +4 -4
  36. package/dist/{chunk-ZQ7FXUGY.js → chunk-GFFVEANU.js} +34 -22
  37. package/dist/{chunk-5ENQX4BI.cjs → chunk-GXKODTLA.cjs} +42 -9
  38. package/dist/{chunk-FXAV2WYX.cjs → chunk-IETVW7QJ.cjs} +35 -24
  39. package/dist/{chunk-QFJY3MEL.js → chunk-JBJ7KXN5.js} +1 -1
  40. package/dist/{chunk-6YITFTRU.cjs → chunk-KSCPMPZT.cjs} +2 -2
  41. package/dist/{chunk-TCL7XDJL.js → chunk-NLBJOFNG.js} +1 -1
  42. package/dist/{chunk-FVYYXFPR.js → chunk-NOPY74PV.js} +1 -1
  43. package/dist/{chunk-O7IW545H.cjs → chunk-O44MSFMZ.cjs} +2 -1
  44. package/dist/{chunk-2PLTE53B.cjs → chunk-OYK2RU6Y.cjs} +50 -25
  45. package/dist/{chunk-KPOUHZFJ.js → chunk-R2JX75H2.js} +3 -3
  46. package/dist/{chunk-RE5MNHDE.cjs → chunk-RAQBTCIR.cjs} +2 -2
  47. package/dist/{chunk-CRHH7KRS.cjs → chunk-RGE4UF6A.cjs} +2 -2
  48. package/dist/{chunk-KXWR3FNX.cjs → chunk-S7J63JOG.cjs} +2 -2
  49. package/dist/{chunk-IKZWOULI.js → chunk-SOLXHDNQ.js} +35 -2
  50. package/dist/{chunk-T5V4W7WU.js → chunk-TAFOICHR.js} +1 -1
  51. package/dist/{chunk-GUMHVPHG.cjs → chunk-V2Q2FEVO.cjs} +2 -2
  52. package/dist/{chunk-XYP6MY7U.js → chunk-VG2VXLOG.js} +34 -9
  53. package/dist/{chunk-37HZ77Z5.cjs → chunk-W3FGUGQZ.cjs} +11 -11
  54. package/dist/{chunk-DWD7X4KB.js → chunk-W4BSLENO.js} +1 -1
  55. package/dist/{chunk-ITFMXU6H.cjs → chunk-ZPFKNO6J.cjs} +2 -2
  56. package/dist/deployer/index.cjs +2 -2
  57. package/dist/deployer/index.d.cts +2 -2
  58. package/dist/deployer/index.d.ts +2 -2
  59. package/dist/deployer/index.js +1 -1
  60. package/dist/eval/index.d.cts +4 -3
  61. package/dist/eval/index.d.ts +4 -3
  62. package/dist/{index-CquI0inB.d.ts → index-QV27jkxQ.d.cts} +1 -0
  63. package/dist/{index-CquI0inB.d.cts → index-QV27jkxQ.d.ts} +1 -0
  64. package/dist/index.cjs +99 -99
  65. package/dist/index.d.cts +7 -6
  66. package/dist/index.d.ts +7 -6
  67. package/dist/index.js +18 -18
  68. package/dist/integration/index.cjs +3 -3
  69. package/dist/integration/index.d.cts +4 -3
  70. package/dist/integration/index.d.ts +4 -3
  71. package/dist/integration/index.js +1 -1
  72. package/dist/llm/index.d.cts +4 -3
  73. package/dist/llm/index.d.ts +4 -3
  74. package/dist/logger/index.cjs +9 -9
  75. package/dist/logger/index.d.cts +1 -1
  76. package/dist/logger/index.d.ts +1 -1
  77. package/dist/logger/index.js +1 -1
  78. package/dist/mastra/index.cjs +2 -2
  79. package/dist/mastra/index.d.cts +4 -3
  80. package/dist/mastra/index.d.ts +4 -3
  81. package/dist/mastra/index.js +1 -1
  82. package/dist/mcp/index.cjs +42 -0
  83. package/dist/mcp/index.d.cts +26 -0
  84. package/dist/mcp/index.d.ts +26 -0
  85. package/dist/mcp/index.js +40 -0
  86. package/dist/memory/index.cjs +4 -4
  87. package/dist/memory/index.d.cts +4 -3
  88. package/dist/memory/index.d.ts +4 -3
  89. package/dist/memory/index.js +1 -1
  90. package/dist/network/index.cjs +8 -8
  91. package/dist/network/index.d.cts +4 -3
  92. package/dist/network/index.d.ts +4 -3
  93. package/dist/network/index.js +4 -4
  94. package/dist/relevance/index.cjs +4 -4
  95. package/dist/relevance/index.d.cts +4 -3
  96. package/dist/relevance/index.d.ts +4 -3
  97. package/dist/relevance/index.js +1 -1
  98. package/dist/server/index.d.cts +4 -3
  99. package/dist/server/index.d.ts +4 -3
  100. package/dist/storage/index.cjs +2 -2
  101. package/dist/storage/index.d.cts +4 -3
  102. package/dist/storage/index.d.ts +4 -3
  103. package/dist/storage/index.js +1 -1
  104. package/dist/storage/libsql/index.cjs +2 -2
  105. package/dist/storage/libsql/index.d.cts +4 -3
  106. package/dist/storage/libsql/index.d.ts +4 -3
  107. package/dist/storage/libsql/index.js +1 -1
  108. package/dist/telemetry/index.d.cts +4 -3
  109. package/dist/telemetry/index.d.ts +4 -3
  110. package/dist/tools/index.cjs +4 -4
  111. package/dist/tools/index.d.cts +4 -3
  112. package/dist/tools/index.d.ts +4 -3
  113. package/dist/tools/index.js +1 -1
  114. package/dist/tts/index.cjs +2 -2
  115. package/dist/tts/index.d.cts +2 -2
  116. package/dist/tts/index.d.ts +2 -2
  117. package/dist/tts/index.js +1 -1
  118. package/dist/utils.cjs +12 -12
  119. package/dist/utils.d.cts +5 -4
  120. package/dist/utils.d.ts +5 -4
  121. package/dist/utils.js +1 -1
  122. package/dist/vector/index.cjs +2 -2
  123. package/dist/vector/index.d.cts +2 -2
  124. package/dist/vector/index.d.ts +2 -2
  125. package/dist/vector/index.js +1 -1
  126. package/dist/vector/libsql/index.cjs +3 -3
  127. package/dist/vector/libsql/index.d.cts +2 -2
  128. package/dist/vector/libsql/index.d.ts +2 -2
  129. package/dist/vector/libsql/index.js +1 -1
  130. package/dist/voice/index.cjs +4 -4
  131. package/dist/voice/index.d.cts +4 -3
  132. package/dist/voice/index.d.ts +4 -3
  133. package/dist/voice/index.js +1 -1
  134. package/dist/workflows/index.cjs +22 -22
  135. package/dist/workflows/index.d.cts +5 -4
  136. package/dist/workflows/index.d.ts +5 -4
  137. package/dist/workflows/index.js +1 -1
  138. package/dist/workflows/vNext/index.cjs +10 -10
  139. package/dist/workflows/vNext/index.d.cts +5 -4
  140. package/dist/workflows/vNext/index.d.ts +5 -4
  141. package/dist/workflows/vNext/index.js +4 -4
  142. package/mcp.d.ts +1 -0
  143. package/package.json +2 -2
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var chunkUVRGQEMD_cjs = require('./chunk-UVRGQEMD.cjs');
4
- var chunkRO52JMKQ_cjs = require('./chunk-RO52JMKQ.cjs');
4
+ var chunkEG74VBSP_cjs = require('./chunk-EG74VBSP.cjs');
5
5
  var chunkRWTSGWWL_cjs = require('./chunk-RWTSGWWL.cjs');
6
6
 
7
7
  // src/voice/voice.ts
@@ -10,7 +10,7 @@ _MastraVoice_decorators = [chunkUVRGQEMD_cjs.InstrumentClass({
10
10
  prefix: "voice",
11
11
  excludeMethods: ["__setTools", "__setLogger", "__setTelemetry", "#log"]
12
12
  })];
13
- exports.MastraVoice = class MastraVoice extends (_a = chunkRO52JMKQ_cjs.MastraBase) {
13
+ exports.MastraVoice = class MastraVoice extends (_a = chunkEG74VBSP_cjs.MastraBase) {
14
14
  listeningModel;
15
15
  speechModel;
16
16
  speaker;
@@ -1,6 +1,6 @@
1
- import { DefaultProxyStorage, augmentWithInit } from './chunk-CPONI4EX.js';
1
+ import { DefaultProxyStorage, augmentWithInit } from './chunk-CTKNWYK2.js';
2
2
  import { InstrumentClass, Telemetry } from './chunk-BFNYQFG2.js';
3
- import { createLogger, LogLevel, noopLogger } from './chunk-2BVZNKLX.js';
3
+ import { createLogger, LogLevel, noopLogger } from './chunk-CMPPXW4U.js';
4
4
  import { __decoratorStart, __decorateElement, __runInitializers } from './chunk-C6A6W6XS.js';
5
5
 
6
6
  // src/mastra/index.ts
@@ -23,6 +23,7 @@ var Mastra = class {
23
23
  #memory;
24
24
  #networks;
25
25
  #server;
26
+ #mcpServers;
26
27
  /**
27
28
  * @deprecated use getTelemetry() instead
28
29
  */
@@ -98,6 +99,18 @@ var Mastra = class {
98
99
  if (config?.vectors) {
99
100
  this.#vectors = config.vectors;
100
101
  }
102
+ if (config?.networks) {
103
+ this.#networks = config.networks;
104
+ }
105
+ if (config?.mcpServers) {
106
+ this.#mcpServers = config.mcpServers;
107
+ Object.values(this.#mcpServers).forEach(server => {
108
+ if (this.#telemetry) {
109
+ server.__setTelemetry(this.#telemetry);
110
+ }
111
+ server.__registerMastra(this);
112
+ });
113
+ }
101
114
  if (config?.memory) {
102
115
  this.#memory = config.memory;
103
116
  if (this.#telemetry) {
@@ -323,6 +336,11 @@ Do:
323
336
  this.#vectors?.[key]?.__setLogger(this.#logger);
324
337
  });
325
338
  }
339
+ if (this.#mcpServers) {
340
+ Object.keys(this.#mcpServers).forEach(key => {
341
+ this.#mcpServers?.[key]?.__setLogger(this.#logger);
342
+ });
343
+ }
326
344
  }
327
345
  setTelemetry(telemetry) {
328
346
  this.#telemetry = Telemetry.init(telemetry);
@@ -437,6 +455,21 @@ Do:
437
455
  console.log(this.#logger);
438
456
  return await this.#logger.getLogs(transportId);
439
457
  }
458
+ /**
459
+ * Get a specific MCP server by ID
460
+ * @param serverId - The ID of the MCP server to retrieve
461
+ * @returns The MCP server with the specified ID, or undefined if not found
462
+ */
463
+ getMCPServer(serverId) {
464
+ return this.#mcpServers?.[serverId];
465
+ }
466
+ /**
467
+ * Get all registered MCP servers as a Record, with keys being their IDs.
468
+ * @returns Record of MCP server IDs to MCPServerBase instances, or undefined if none.
469
+ */
470
+ getMCPServers() {
471
+ return this.#mcpServers;
472
+ }
440
473
  };
441
474
  Mastra = /*@__PURE__*/(_ => {
442
475
  _init = __decoratorStart(null);
@@ -1,5 +1,5 @@
1
1
  import { TABLE_WORKFLOW_SNAPSHOT, TABLE_EVALS, TABLE_MESSAGES, TABLE_THREADS, TABLE_TRACES, TABLE_SCHEMAS } from './chunk-SEOWDGC2.js';
2
- import { MastraBase } from './chunk-NDAW47QQ.js';
2
+ import { MastraBase } from './chunk-235X76GC.js';
3
3
 
4
4
  // src/storage/base.ts
5
5
  var MastraStorage = class extends MastraBase {
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var chunkUVRGQEMD_cjs = require('./chunk-UVRGQEMD.cjs');
4
- var chunkRO52JMKQ_cjs = require('./chunk-RO52JMKQ.cjs');
4
+ var chunkEG74VBSP_cjs = require('./chunk-EG74VBSP.cjs');
5
5
  var chunkRWTSGWWL_cjs = require('./chunk-RWTSGWWL.cjs');
6
6
 
7
7
  // src/tts/index.ts
@@ -10,7 +10,7 @@ _MastraTTS_decorators = [chunkUVRGQEMD_cjs.InstrumentClass({
10
10
  prefix: "tts",
11
11
  excludeMethods: ["__setTools", "__setLogger", "__setTelemetry", "#log"]
12
12
  })];
13
- exports.MastraTTS = class MastraTTS extends (_a = chunkRO52JMKQ_cjs.MastraBase) {
13
+ exports.MastraTTS = class MastraTTS extends (_a = chunkEG74VBSP_cjs.MastraBase) {
14
14
  model;
15
15
  constructor({
16
16
  model
@@ -1,11 +1,11 @@
1
- import { DefaultVoice } from './chunk-FVYYXFPR.js';
2
- import { MastraLLM } from './chunk-KPOUHZFJ.js';
1
+ import { DefaultVoice } from './chunk-NOPY74PV.js';
2
+ import { executeHook } from './chunk-BB4KXGBU.js';
3
+ import { MastraLLM } from './chunk-R2JX75H2.js';
3
4
  import { InstrumentClass } from './chunk-BFNYQFG2.js';
4
- import { ensureToolProperties, ensureAllMessagesAreCoreMessages, createMastraProxy, makeCoreTool } from './chunk-ZQ7FXUGY.js';
5
- import { MastraBase } from './chunk-NDAW47QQ.js';
6
- import { RegisteredLogger } from './chunk-2BVZNKLX.js';
5
+ import { ensureToolProperties, ensureAllMessagesAreCoreMessages, createMastraProxy, makeCoreTool } from './chunk-GFFVEANU.js';
6
+ import { MastraBase } from './chunk-235X76GC.js';
7
+ import { RegisteredLogger } from './chunk-CMPPXW4U.js';
7
8
  import { RuntimeContext } from './chunk-SGGPJWRQ.js';
8
- import { executeHook } from './chunk-BB4KXGBU.js';
9
9
  import { __decoratorStart, __decorateElement, __runInitializers } from './chunk-C6A6W6XS.js';
10
10
  import { context, trace } from '@opentelemetry/api';
11
11
  import { z } from 'zod';
@@ -853,7 +853,8 @@ var Agent = class extends (_a = MastraBase) {
853
853
  threadId: thread.id,
854
854
  resourceId,
855
855
  memoryConfig: memoryConfig2,
856
- title
856
+ title,
857
+ metadata: thread.metadata
857
858
  });
858
859
  })();
859
860
  let responseMessages = result.response.messages;
@@ -2773,7 +2774,11 @@ var WorkflowInstance = class {
2773
2774
  runtimeContext: runtimeContext ?? new RuntimeContext()
2774
2775
  });
2775
2776
  if (this.#onFinish) {
2776
- this.#onFinish();
2777
+ const activePathsObj = Object.fromEntries(results.activePaths);
2778
+ const hasSuspendedActivePaths = Object.values(activePathsObj).some(value => value.status === "suspended");
2779
+ if (!hasSuspendedActivePaths) {
2780
+ this.#onFinish();
2781
+ }
2777
2782
  }
2778
2783
  return {
2779
2784
  ...results,
@@ -3973,7 +3978,27 @@ var Workflow = class extends MastraBase {
3973
3978
  * @param runId - ID of the run to retrieve
3974
3979
  * @returns The workflow run instance if found, undefined otherwise
3975
3980
  */
3976
- getRun(runId) {
3981
+ async getRun(runId) {
3982
+ const inMemoryRun = this.#runs.get(runId);
3983
+ if (inMemoryRun) {
3984
+ return inMemoryRun;
3985
+ }
3986
+ const storage = this.#mastra?.getStorage();
3987
+ if (!storage) {
3988
+ this.logger.debug("Cannot get workflow run. Mastra engine is not initialized");
3989
+ return null;
3990
+ }
3991
+ return await storage.getWorkflowRunById({
3992
+ runId,
3993
+ workflowName: this.name
3994
+ });
3995
+ }
3996
+ /**
3997
+ * Gets a workflow run instance by ID, from memory
3998
+ * @param runId - ID of the run to retrieve
3999
+ * @returns The workflow run instance if found, undefined otherwise
4000
+ */
4001
+ getMemoryRun(runId) {
3977
4002
  return this.#runs.get(runId);
3978
4003
  }
3979
4004
  /**
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
- var chunkITFMXU6H_cjs = require('./chunk-ITFMXU6H.cjs');
4
- var chunkRE5MNHDE_cjs = require('./chunk-RE5MNHDE.cjs');
5
- var chunkFXAV2WYX_cjs = require('./chunk-FXAV2WYX.cjs');
6
- var chunkRO52JMKQ_cjs = require('./chunk-RO52JMKQ.cjs');
3
+ var chunkZPFKNO6J_cjs = require('./chunk-ZPFKNO6J.cjs');
4
+ var chunkRAQBTCIR_cjs = require('./chunk-RAQBTCIR.cjs');
5
+ var chunkIETVW7QJ_cjs = require('./chunk-IETVW7QJ.cjs');
6
+ var chunkEG74VBSP_cjs = require('./chunk-EG74VBSP.cjs');
7
7
  var fs = require('fs');
8
8
  var path = require('path');
9
9
  var fsp = require('fs/promises');
@@ -113,7 +113,7 @@ var fastEmbedProvider = ai.experimental_customProvider({
113
113
  var defaultEmbedder = fastEmbedProvider.textEmbeddingModel;
114
114
 
115
115
  // src/memory/memory.ts
116
- var MemoryProcessor = class extends chunkRO52JMKQ_cjs.MastraBase {
116
+ var MemoryProcessor = class extends chunkEG74VBSP_cjs.MastraBase {
117
117
  /**
118
118
  * Process a list of messages and return a filtered or transformed list.
119
119
  * @param messages The messages to process
@@ -163,7 +163,7 @@ var newMemoryDefaultOptions = {
163
163
  // new
164
164
  use: "tool-call"}
165
165
  };
166
- var MastraMemory = class extends chunkRO52JMKQ_cjs.MastraBase {
166
+ var MastraMemory = class extends chunkEG74VBSP_cjs.MastraBase {
167
167
  MAX_CONTEXT_TOKENS;
168
168
  storage;
169
169
  vector;
@@ -182,7 +182,7 @@ var MastraMemory = class extends chunkRO52JMKQ_cjs.MastraBase {
182
182
  if (config.storage) {
183
183
  this.storage = config.storage;
184
184
  } else {
185
- this.storage = new chunkRE5MNHDE_cjs.DefaultProxyStorage({
185
+ this.storage = new chunkRAQBTCIR_cjs.DefaultProxyStorage({
186
186
  config: {
187
187
  url: "file:memory.db"
188
188
  }
@@ -236,7 +236,7 @@ export const yourAgent = new Agent({
236
236
  })
237
237
  `);
238
238
  }
239
- this.storage = chunkRE5MNHDE_cjs.augmentWithInit(this.storage);
239
+ this.storage = chunkRAQBTCIR_cjs.augmentWithInit(this.storage);
240
240
  const semanticRecallIsEnabled = this.threadConfig.semanticRecall !== false;
241
241
  if (config.vector && semanticRecallIsEnabled) {
242
242
  this.vector = config.vector;
@@ -279,7 +279,7 @@ export const agent = new Agent({
279
279
  })
280
280
  })
281
281
  `);
282
- this.vector = new chunkITFMXU6H_cjs.LibSQLVector({
282
+ this.vector = new chunkZPFKNO6J_cjs.LibSQLVector({
283
283
  // TODO: MAY 20th BREAKING CHANGE: remove this default and throw an error if semantic recall is enabled but there's no vector db
284
284
  connectionUrl: hasOldDb ? `file:${oldDb}` : `file:${newDb}`
285
285
  });
@@ -422,7 +422,7 @@ ${messages.length ? messages.map((ft) => ft.message).join(`
422
422
  }
423
423
  }
424
424
  setStorage(storage) {
425
- if (storage instanceof chunkRE5MNHDE_cjs.DefaultProxyStorage) {
425
+ if (storage instanceof chunkRAQBTCIR_cjs.DefaultProxyStorage) {
426
426
  this.deprecationWarnings.push(`Importing "DefaultStorage" from '@mastra/core/storage/libsql' is deprecated.
427
427
 
428
428
  Instead of:
@@ -472,7 +472,7 @@ Do:
472
472
  return { indexName };
473
473
  }
474
474
  getMergedThreadConfig(config) {
475
- return chunkFXAV2WYX_cjs.deepMerge(this.threadConfig, config || {});
475
+ return chunkIETVW7QJ_cjs.deepMerge(this.threadConfig, config || {});
476
476
  }
477
477
  /**
478
478
  * Apply all configured message processors to a list of messages.
@@ -1,4 +1,4 @@
1
- import { MastraBundler } from './chunk-TCL7XDJL.js';
1
+ import { MastraBundler } from './chunk-NLBJOFNG.js';
2
2
 
3
3
  // src/deployer/index.ts
4
4
  var MastraDeployer = class extends MastraBundler {
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
+ var chunk2GXSTMD7_cjs = require('./chunk-2GXSTMD7.cjs');
3
4
  var chunkYK3XJ52U_cjs = require('./chunk-YK3XJ52U.cjs');
4
- var chunkBMSBIZKD_cjs = require('./chunk-BMSBIZKD.cjs');
5
5
  var path = require('path');
6
6
  var client = require('@libsql/client');
7
7
 
@@ -451,7 +451,7 @@ var processOperator = (key, operator, operatorValue) => {
451
451
  };
452
452
 
453
453
  // src/vector/libsql/index.ts
454
- var LibSQLVector = class extends chunkBMSBIZKD_cjs.MastraVector {
454
+ var LibSQLVector = class extends chunk2GXSTMD7_cjs.MastraVector {
455
455
  turso;
456
456
  constructor({
457
457
  connectionUrl,
@@ -1,10 +1,10 @@
1
1
  'use strict';
2
2
 
3
- var chunk6NUAJ6AB_cjs = require('../chunk-6NUAJ6AB.cjs');
3
+ var chunkE4FAXBUV_cjs = require('../chunk-E4FAXBUV.cjs');
4
4
 
5
5
 
6
6
 
7
7
  Object.defineProperty(exports, "MastraDeployer", {
8
8
  enumerable: true,
9
- get: function () { return chunk6NUAJ6AB_cjs.MastraDeployer; }
9
+ get: function () { return chunkE4FAXBUV_cjs.MastraDeployer; }
10
10
  });
@@ -1,7 +1,7 @@
1
1
  import { MastraBundler, IBundler } from '../bundler/index.cjs';
2
- import '../base-D9APQt4V.cjs';
2
+ import '../base-H7siSAfu.cjs';
3
3
  import '@opentelemetry/api';
4
- import '../index-CquI0inB.cjs';
4
+ import '../index-QV27jkxQ.cjs';
5
5
  import 'stream';
6
6
  import 'pino';
7
7
  import '@opentelemetry/sdk-trace-base';
@@ -1,7 +1,7 @@
1
1
  import { MastraBundler, IBundler } from '../bundler/index.js';
2
- import '../base-CeEVvwRi.js';
2
+ import '../base-4Z34GQL8.js';
3
3
  import '@opentelemetry/api';
4
- import '../index-CquI0inB.js';
4
+ import '../index-QV27jkxQ.js';
5
5
  import 'stream';
6
6
  import 'pino';
7
7
  import '@opentelemetry/sdk-trace-base';
@@ -1 +1 @@
1
- export { MastraDeployer } from '../chunk-DWD7X4KB.js';
1
+ export { MastraDeployer } from '../chunk-W4BSLENO.js';
@@ -1,10 +1,10 @@
1
1
  import { a as Metric, T as TestInfo, E as EvaluationResult } from '../types-BtMyV38I.cjs';
2
2
  export { M as MetricResult } from '../types-BtMyV38I.cjs';
3
- import { F as Agent } from '../base-VMWGZau0.cjs';
3
+ import { F as Agent } from '../base-DvwYl4To.cjs';
4
4
  import 'ai';
5
- import '../base-D9APQt4V.cjs';
5
+ import '../base-H7siSAfu.cjs';
6
6
  import '@opentelemetry/api';
7
- import '../index-CquI0inB.cjs';
7
+ import '../index-QV27jkxQ.cjs';
8
8
  import 'stream';
9
9
  import 'pino';
10
10
  import '@opentelemetry/sdk-trace-base';
@@ -17,6 +17,7 @@ import 'node:events';
17
17
  import '../vector/index.cjs';
18
18
  import '../vector/filter/index.cjs';
19
19
  import '../tts/index.cjs';
20
+ import 'node:http';
20
21
  import 'events';
21
22
  import '../deployer/index.cjs';
22
23
  import '../bundler/index.cjs';
@@ -1,10 +1,10 @@
1
1
  import { a as Metric, T as TestInfo, E as EvaluationResult } from '../types-BtMyV38I.js';
2
2
  export { M as MetricResult } from '../types-BtMyV38I.js';
3
- import { F as Agent } from '../base-BCnFhShR.js';
3
+ import { F as Agent } from '../base-4hc3EYVz.js';
4
4
  import 'ai';
5
- import '../base-CeEVvwRi.js';
5
+ import '../base-4Z34GQL8.js';
6
6
  import '@opentelemetry/api';
7
- import '../index-CquI0inB.js';
7
+ import '../index-QV27jkxQ.js';
8
8
  import 'stream';
9
9
  import 'pino';
10
10
  import '@opentelemetry/sdk-trace-base';
@@ -17,6 +17,7 @@ import 'node:events';
17
17
  import '../vector/index.js';
18
18
  import '../vector/filter/index.js';
19
19
  import '../tts/index.js';
20
+ import 'node:http';
20
21
  import 'events';
21
22
  import '../deployer/index.js';
22
23
  import '../bundler/index.js';
@@ -20,6 +20,7 @@ declare const RegisteredLogger: {
20
20
  readonly MEMORY: "MEMORY";
21
21
  readonly STORAGE: "STORAGE";
22
22
  readonly EMBEDDINGS: "EMBEDDINGS";
23
+ readonly MCP_SERVER: "MCP_SERVER";
23
24
  };
24
25
  type RegisteredLogger = (typeof RegisteredLogger)[keyof typeof RegisteredLogger];
25
26
  declare const LogLevel: {
@@ -20,6 +20,7 @@ declare const RegisteredLogger: {
20
20
  readonly MEMORY: "MEMORY";
21
21
  readonly STORAGE: "STORAGE";
22
22
  readonly EMBEDDINGS: "EMBEDDINGS";
23
+ readonly MCP_SERVER: "MCP_SERVER";
23
24
  };
24
25
  type RegisteredLogger = (typeof RegisteredLogger)[keyof typeof RegisteredLogger];
25
26
  declare const LogLevel: {