@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,38 +1,38 @@
1
1
  'use strict';
2
2
 
3
- var chunkO7IW545H_cjs = require('../chunk-O7IW545H.cjs');
3
+ var chunkO44MSFMZ_cjs = require('../chunk-O44MSFMZ.cjs');
4
4
 
5
5
 
6
6
 
7
7
  Object.defineProperty(exports, "LogLevel", {
8
8
  enumerable: true,
9
- get: function () { return chunkO7IW545H_cjs.LogLevel; }
9
+ get: function () { return chunkO44MSFMZ_cjs.LogLevel; }
10
10
  });
11
11
  Object.defineProperty(exports, "Logger", {
12
12
  enumerable: true,
13
- get: function () { return chunkO7IW545H_cjs.Logger; }
13
+ get: function () { return chunkO44MSFMZ_cjs.Logger; }
14
14
  });
15
15
  Object.defineProperty(exports, "LoggerTransport", {
16
16
  enumerable: true,
17
- get: function () { return chunkO7IW545H_cjs.LoggerTransport; }
17
+ get: function () { return chunkO44MSFMZ_cjs.LoggerTransport; }
18
18
  });
19
19
  Object.defineProperty(exports, "MultiLogger", {
20
20
  enumerable: true,
21
- get: function () { return chunkO7IW545H_cjs.MultiLogger; }
21
+ get: function () { return chunkO44MSFMZ_cjs.MultiLogger; }
22
22
  });
23
23
  Object.defineProperty(exports, "RegisteredLogger", {
24
24
  enumerable: true,
25
- get: function () { return chunkO7IW545H_cjs.RegisteredLogger; }
25
+ get: function () { return chunkO44MSFMZ_cjs.RegisteredLogger; }
26
26
  });
27
27
  Object.defineProperty(exports, "combineLoggers", {
28
28
  enumerable: true,
29
- get: function () { return chunkO7IW545H_cjs.combineLoggers; }
29
+ get: function () { return chunkO44MSFMZ_cjs.combineLoggers; }
30
30
  });
31
31
  Object.defineProperty(exports, "createLogger", {
32
32
  enumerable: true,
33
- get: function () { return chunkO7IW545H_cjs.createLogger; }
33
+ get: function () { return chunkO44MSFMZ_cjs.createLogger; }
34
34
  });
35
35
  Object.defineProperty(exports, "noopLogger", {
36
36
  enumerable: true,
37
- get: function () { return chunkO7IW545H_cjs.noopLogger; }
37
+ get: function () { return chunkO44MSFMZ_cjs.noopLogger; }
38
38
  });
@@ -1,3 +1,3 @@
1
1
  import 'stream';
2
2
  import 'pino';
3
- export { B as BaseLogMessage, a as LogLevel, L as Logger, b as LoggerTransport, M as MultiLogger, R as RegisteredLogger, T as TransportMap, c as combineLoggers, e as createLogger, n as noopLogger } from '../index-CquI0inB.cjs';
3
+ export { B as BaseLogMessage, a as LogLevel, L as Logger, b as LoggerTransport, M as MultiLogger, R as RegisteredLogger, T as TransportMap, c as combineLoggers, e as createLogger, n as noopLogger } from '../index-QV27jkxQ.cjs';
@@ -1,3 +1,3 @@
1
1
  import 'stream';
2
2
  import 'pino';
3
- export { B as BaseLogMessage, a as LogLevel, L as Logger, b as LoggerTransport, M as MultiLogger, R as RegisteredLogger, T as TransportMap, c as combineLoggers, e as createLogger, n as noopLogger } from '../index-CquI0inB.js';
3
+ export { B as BaseLogMessage, a as LogLevel, L as Logger, b as LoggerTransport, M as MultiLogger, R as RegisteredLogger, T as TransportMap, c as combineLoggers, e as createLogger, n as noopLogger } from '../index-QV27jkxQ.js';
@@ -1 +1 @@
1
- export { LogLevel, Logger, LoggerTransport, MultiLogger, RegisteredLogger, combineLoggers, createLogger, noopLogger } from '../chunk-2BVZNKLX.js';
1
+ export { LogLevel, Logger, LoggerTransport, MultiLogger, RegisteredLogger, combineLoggers, createLogger, noopLogger } from '../chunk-CMPPXW4U.js';
@@ -1,10 +1,10 @@
1
1
  'use strict';
2
2
 
3
- var chunk5ENQX4BI_cjs = require('../chunk-5ENQX4BI.cjs');
3
+ var chunkGXKODTLA_cjs = require('../chunk-GXKODTLA.cjs');
4
4
 
5
5
 
6
6
 
7
7
  Object.defineProperty(exports, "Mastra", {
8
8
  enumerable: true,
9
- get: function () { return chunk5ENQX4BI_cjs.Mastra; }
9
+ get: function () { return chunkGXKODTLA_cjs.Mastra; }
10
10
  });
@@ -1,7 +1,7 @@
1
- export { aj as Config, a as Mastra } from '../base-VMWGZau0.cjs';
2
- import '../index-CquI0inB.cjs';
1
+ export { aj as Config, a as Mastra } from '../base-DvwYl4To.cjs';
2
+ import '../index-QV27jkxQ.cjs';
3
3
  import '../vector/index.cjs';
4
- import '../base-D9APQt4V.cjs';
4
+ import '../base-H7siSAfu.cjs';
5
5
  import '../tts/index.cjs';
6
6
  import '../deployer/index.cjs';
7
7
  import 'ai';
@@ -13,6 +13,7 @@ import '../runtime-context/index.cjs';
13
13
  import '@opentelemetry/api';
14
14
  import 'xstate';
15
15
  import 'node:events';
16
+ import 'node:http';
16
17
  import 'events';
17
18
  import 'hono';
18
19
  import 'hono/cors';
@@ -1,7 +1,7 @@
1
- export { aj as Config, a as Mastra } from '../base-BCnFhShR.js';
2
- import '../index-CquI0inB.js';
1
+ export { aj as Config, a as Mastra } from '../base-4hc3EYVz.js';
2
+ import '../index-QV27jkxQ.js';
3
3
  import '../vector/index.js';
4
- import '../base-CeEVvwRi.js';
4
+ import '../base-4Z34GQL8.js';
5
5
  import '../tts/index.js';
6
6
  import '../deployer/index.js';
7
7
  import 'ai';
@@ -13,6 +13,7 @@ import '../runtime-context/index.js';
13
13
  import '@opentelemetry/api';
14
14
  import 'xstate';
15
15
  import 'node:events';
16
+ import 'node:http';
16
17
  import 'events';
17
18
  import 'hono';
18
19
  import 'hono/cors';
@@ -1 +1 @@
1
- export { Mastra } from '../chunk-IKZWOULI.js';
1
+ export { Mastra } from '../chunk-SOLXHDNQ.js';
@@ -0,0 +1,42 @@
1
+ 'use strict';
2
+
3
+ var chunkEG74VBSP_cjs = require('../chunk-EG74VBSP.cjs');
4
+ var chunkO44MSFMZ_cjs = require('../chunk-O44MSFMZ.cjs');
5
+
6
+ // src/mcp/index.ts
7
+ var MCPServerBase = class extends chunkEG74VBSP_cjs.MastraBase {
8
+ /**
9
+ * Name of the MCP server
10
+ */
11
+ name;
12
+ /**
13
+ * Version of the MCP server
14
+ */
15
+ version;
16
+ /**
17
+ * Tools registered with the MCP server
18
+ */
19
+ convertedTools;
20
+ mastra;
21
+ /**
22
+ * Get a read-only view of the registered tools (for testing/introspection).
23
+ */
24
+ tools() {
25
+ return this.convertedTools;
26
+ }
27
+ __registerMastra(mastra) {
28
+ this.mastra = mastra;
29
+ }
30
+ /**
31
+ * Constructor for the MCPServerBase
32
+ * @param config Configuration options for the MCP server
33
+ */
34
+ constructor(config) {
35
+ super({ component: chunkO44MSFMZ_cjs.RegisteredLogger.MCP_SERVER, name: config.name });
36
+ this.name = config.name;
37
+ this.version = config.version;
38
+ this.convertedTools = this.convertTools(config.tools);
39
+ }
40
+ };
41
+
42
+ exports.MCPServerBase = MCPServerBase;
@@ -0,0 +1,26 @@
1
+ import 'node:http';
2
+ export { b8 as ConvertedTool, b6 as MCPServerBase, b7 as MCPServerConfig, b9 as MCPServerSSEOptions } from '../base-DvwYl4To.cjs';
3
+ import '../base-H7siSAfu.cjs';
4
+ import 'ai';
5
+ import '../types-BtMyV38I.cjs';
6
+ import 'sift';
7
+ import 'zod';
8
+ import 'json-schema';
9
+ import '../index-QV27jkxQ.cjs';
10
+ import 'stream';
11
+ import 'pino';
12
+ import '../runtime-context/index.cjs';
13
+ import '@opentelemetry/api';
14
+ import 'xstate';
15
+ import 'node:events';
16
+ import '../vector/index.cjs';
17
+ import '../vector/filter/index.cjs';
18
+ import '@opentelemetry/sdk-trace-base';
19
+ import '../tts/index.cjs';
20
+ import 'events';
21
+ import '../deployer/index.cjs';
22
+ import '../bundler/index.cjs';
23
+ import 'hono';
24
+ import 'hono/cors';
25
+ import 'hono-openapi';
26
+ import 'ai/test';
@@ -0,0 +1,26 @@
1
+ import 'node:http';
2
+ export { b8 as ConvertedTool, b6 as MCPServerBase, b7 as MCPServerConfig, b9 as MCPServerSSEOptions } from '../base-4hc3EYVz.js';
3
+ import '../base-4Z34GQL8.js';
4
+ import 'ai';
5
+ import '../types-BtMyV38I.js';
6
+ import 'sift';
7
+ import 'zod';
8
+ import 'json-schema';
9
+ import '../index-QV27jkxQ.js';
10
+ import 'stream';
11
+ import 'pino';
12
+ import '../runtime-context/index.js';
13
+ import '@opentelemetry/api';
14
+ import 'xstate';
15
+ import 'node:events';
16
+ import '../vector/index.js';
17
+ import '../vector/filter/index.js';
18
+ import '@opentelemetry/sdk-trace-base';
19
+ import '../tts/index.js';
20
+ import 'events';
21
+ import '../deployer/index.js';
22
+ import '../bundler/index.js';
23
+ import 'hono';
24
+ import 'hono/cors';
25
+ import 'hono-openapi';
26
+ import 'ai/test';
@@ -0,0 +1,40 @@
1
+ import { MastraBase } from '../chunk-235X76GC.js';
2
+ import { RegisteredLogger } from '../chunk-CMPPXW4U.js';
3
+
4
+ // src/mcp/index.ts
5
+ var MCPServerBase = class extends MastraBase {
6
+ /**
7
+ * Name of the MCP server
8
+ */
9
+ name;
10
+ /**
11
+ * Version of the MCP server
12
+ */
13
+ version;
14
+ /**
15
+ * Tools registered with the MCP server
16
+ */
17
+ convertedTools;
18
+ mastra;
19
+ /**
20
+ * Get a read-only view of the registered tools (for testing/introspection).
21
+ */
22
+ tools() {
23
+ return this.convertedTools;
24
+ }
25
+ __registerMastra(mastra) {
26
+ this.mastra = mastra;
27
+ }
28
+ /**
29
+ * Constructor for the MCPServerBase
30
+ * @param config Configuration options for the MCP server
31
+ */
32
+ constructor(config) {
33
+ super({ component: RegisteredLogger.MCP_SERVER, name: config.name });
34
+ this.name = config.name;
35
+ this.version = config.version;
36
+ this.convertedTools = this.convertTools(config.tools);
37
+ }
38
+ };
39
+
40
+ export { MCPServerBase };
@@ -1,18 +1,18 @@
1
1
  'use strict';
2
2
 
3
- var chunk37HZ77Z5_cjs = require('../chunk-37HZ77Z5.cjs');
3
+ var chunkW3FGUGQZ_cjs = require('../chunk-W3FGUGQZ.cjs');
4
4
 
5
5
 
6
6
 
7
7
  Object.defineProperty(exports, "MastraMemory", {
8
8
  enumerable: true,
9
- get: function () { return chunk37HZ77Z5_cjs.MastraMemory; }
9
+ get: function () { return chunkW3FGUGQZ_cjs.MastraMemory; }
10
10
  });
11
11
  Object.defineProperty(exports, "MemoryProcessor", {
12
12
  enumerable: true,
13
- get: function () { return chunk37HZ77Z5_cjs.MemoryProcessor; }
13
+ get: function () { return chunkW3FGUGQZ_cjs.MemoryProcessor; }
14
14
  });
15
15
  Object.defineProperty(exports, "memoryDefaultOptions", {
16
16
  enumerable: true,
17
- get: function () { return chunk37HZ77Z5_cjs.memoryDefaultOptions; }
17
+ get: function () { return chunkW3FGUGQZ_cjs.memoryDefaultOptions; }
18
18
  });
@@ -1,8 +1,8 @@
1
- export { H as MastraMemory, al as MemoryConfig, ao as MemoryProcessor, an as MemoryProcessorOpts, ak as MessageResponse, d as MessageType, am as SharedMemoryConfig, c as StorageThreadType, ap as memoryDefaultOptions } from '../base-VMWGZau0.cjs';
1
+ export { H as MastraMemory, al as MemoryConfig, ao as MemoryProcessor, an as MemoryProcessorOpts, ak as MessageResponse, d as MessageType, am as SharedMemoryConfig, c as StorageThreadType, ap as memoryDefaultOptions } from '../base-DvwYl4To.cjs';
2
2
  export { Message as AiMessageType } from 'ai';
3
- import '../base-D9APQt4V.cjs';
3
+ import '../base-H7siSAfu.cjs';
4
4
  import '@opentelemetry/api';
5
- import '../index-CquI0inB.cjs';
5
+ import '../index-QV27jkxQ.cjs';
6
6
  import 'stream';
7
7
  import 'pino';
8
8
  import '@opentelemetry/sdk-trace-base';
@@ -16,6 +16,7 @@ import 'node:events';
16
16
  import '../vector/index.cjs';
17
17
  import '../vector/filter/index.cjs';
18
18
  import '../tts/index.cjs';
19
+ import 'node:http';
19
20
  import 'events';
20
21
  import '../deployer/index.cjs';
21
22
  import '../bundler/index.cjs';
@@ -1,8 +1,8 @@
1
- export { H as MastraMemory, al as MemoryConfig, ao as MemoryProcessor, an as MemoryProcessorOpts, ak as MessageResponse, d as MessageType, am as SharedMemoryConfig, c as StorageThreadType, ap as memoryDefaultOptions } from '../base-BCnFhShR.js';
1
+ export { H as MastraMemory, al as MemoryConfig, ao as MemoryProcessor, an as MemoryProcessorOpts, ak as MessageResponse, d as MessageType, am as SharedMemoryConfig, c as StorageThreadType, ap as memoryDefaultOptions } from '../base-4hc3EYVz.js';
2
2
  export { Message as AiMessageType } from 'ai';
3
- import '../base-CeEVvwRi.js';
3
+ import '../base-4Z34GQL8.js';
4
4
  import '@opentelemetry/api';
5
- import '../index-CquI0inB.js';
5
+ import '../index-QV27jkxQ.js';
6
6
  import 'stream';
7
7
  import 'pino';
8
8
  import '@opentelemetry/sdk-trace-base';
@@ -16,6 +16,7 @@ import 'node:events';
16
16
  import '../vector/index.js';
17
17
  import '../vector/filter/index.js';
18
18
  import '../tts/index.js';
19
+ import 'node:http';
19
20
  import 'events';
20
21
  import '../deployer/index.js';
21
22
  import '../bundler/index.js';
@@ -1 +1 @@
1
- export { MastraMemory, MemoryProcessor, memoryDefaultOptions } from '../chunk-EYMLOJ2Q.js';
1
+ export { MastraMemory, MemoryProcessor, memoryDefaultOptions } from '../chunk-EGZ7J727.js';
@@ -1,23 +1,23 @@
1
1
  'use strict';
2
2
 
3
- var chunk2PLTE53B_cjs = require('../chunk-2PLTE53B.cjs');
4
- var chunkFXAV2WYX_cjs = require('../chunk-FXAV2WYX.cjs');
5
- var chunkRO52JMKQ_cjs = require('../chunk-RO52JMKQ.cjs');
6
- var chunkO7IW545H_cjs = require('../chunk-O7IW545H.cjs');
3
+ var chunkOYK2RU6Y_cjs = require('../chunk-OYK2RU6Y.cjs');
4
+ var chunkIETVW7QJ_cjs = require('../chunk-IETVW7QJ.cjs');
5
+ var chunkEG74VBSP_cjs = require('../chunk-EG74VBSP.cjs');
6
+ var chunkO44MSFMZ_cjs = require('../chunk-O44MSFMZ.cjs');
7
7
  var zod = require('zod');
8
8
 
9
- var AgentNetwork = class extends chunkRO52JMKQ_cjs.MastraBase {
9
+ var AgentNetwork = class extends chunkEG74VBSP_cjs.MastraBase {
10
10
  #instructions;
11
11
  #agents;
12
12
  #model;
13
13
  #routingAgent;
14
14
  #agentHistory = {};
15
15
  constructor(config) {
16
- super({ component: chunkO7IW545H_cjs.RegisteredLogger.NETWORK, name: "AgentNetwork" });
16
+ super({ component: chunkO44MSFMZ_cjs.RegisteredLogger.NETWORK, name: "AgentNetwork" });
17
17
  this.#instructions = config.instructions;
18
18
  this.#agents = config.agents;
19
19
  this.#model = config.model;
20
- this.#routingAgent = new chunk2PLTE53B_cjs.Agent({
20
+ this.#routingAgent = new chunkOYK2RU6Y_cjs.Agent({
21
21
  name: config.name,
22
22
  instructions: this.getInstructions(),
23
23
  model: this.#model,
@@ -29,7 +29,7 @@ var AgentNetwork = class extends chunkRO52JMKQ_cjs.MastraBase {
29
29
  }
30
30
  getTools() {
31
31
  return {
32
- transmit: chunkFXAV2WYX_cjs.createTool({
32
+ transmit: chunkIETVW7QJ_cjs.createTool({
33
33
  id: "transmit",
34
34
  description: "Call one or more specialized agents to handle specific tasks",
35
35
  inputSchema: zod.z.object({
@@ -1,8 +1,8 @@
1
- export { b4 as AgentNetwork, b5 as AgentNetworkConfig } from '../base-VMWGZau0.cjs';
1
+ export { b5 as AgentNetwork, ba as AgentNetworkConfig } from '../base-DvwYl4To.cjs';
2
2
  import 'ai';
3
- import '../base-D9APQt4V.cjs';
3
+ import '../base-H7siSAfu.cjs';
4
4
  import '@opentelemetry/api';
5
- import '../index-CquI0inB.cjs';
5
+ import '../index-QV27jkxQ.cjs';
6
6
  import 'stream';
7
7
  import 'pino';
8
8
  import '@opentelemetry/sdk-trace-base';
@@ -16,6 +16,7 @@ import 'node:events';
16
16
  import '../vector/index.cjs';
17
17
  import '../vector/filter/index.cjs';
18
18
  import '../tts/index.cjs';
19
+ import 'node:http';
19
20
  import 'events';
20
21
  import '../deployer/index.cjs';
21
22
  import '../bundler/index.cjs';
@@ -1,8 +1,8 @@
1
- export { b4 as AgentNetwork, b5 as AgentNetworkConfig } from '../base-BCnFhShR.js';
1
+ export { b5 as AgentNetwork, ba as AgentNetworkConfig } from '../base-4hc3EYVz.js';
2
2
  import 'ai';
3
- import '../base-CeEVvwRi.js';
3
+ import '../base-4Z34GQL8.js';
4
4
  import '@opentelemetry/api';
5
- import '../index-CquI0inB.js';
5
+ import '../index-QV27jkxQ.js';
6
6
  import 'stream';
7
7
  import 'pino';
8
8
  import '@opentelemetry/sdk-trace-base';
@@ -16,6 +16,7 @@ import 'node:events';
16
16
  import '../vector/index.js';
17
17
  import '../vector/filter/index.js';
18
18
  import '../tts/index.js';
19
+ import 'node:http';
19
20
  import 'events';
20
21
  import '../deployer/index.js';
21
22
  import '../bundler/index.js';
@@ -1,7 +1,7 @@
1
- import { Agent } from '../chunk-XYP6MY7U.js';
2
- import { createTool } from '../chunk-ZQ7FXUGY.js';
3
- import { MastraBase } from '../chunk-NDAW47QQ.js';
4
- import { RegisteredLogger } from '../chunk-2BVZNKLX.js';
1
+ import { Agent } from '../chunk-VG2VXLOG.js';
2
+ import { createTool } from '../chunk-GFFVEANU.js';
3
+ import { MastraBase } from '../chunk-235X76GC.js';
4
+ import { RegisteredLogger } from '../chunk-CMPPXW4U.js';
5
5
  import { z } from 'zod';
6
6
 
7
7
  var AgentNetwork = class extends MastraBase {
@@ -1,18 +1,18 @@
1
1
  'use strict';
2
2
 
3
- var chunkQQFFJTJ4_cjs = require('../chunk-QQFFJTJ4.cjs');
3
+ var chunk7EXZJ7KS_cjs = require('../chunk-7EXZJ7KS.cjs');
4
4
 
5
5
 
6
6
 
7
7
  Object.defineProperty(exports, "CohereRelevanceScorer", {
8
8
  enumerable: true,
9
- get: function () { return chunkQQFFJTJ4_cjs.CohereRelevanceScorer; }
9
+ get: function () { return chunk7EXZJ7KS_cjs.CohereRelevanceScorer; }
10
10
  });
11
11
  Object.defineProperty(exports, "MastraAgentRelevanceScorer", {
12
12
  enumerable: true,
13
- get: function () { return chunkQQFFJTJ4_cjs.MastraAgentRelevanceScorer; }
13
+ get: function () { return chunk7EXZJ7KS_cjs.MastraAgentRelevanceScorer; }
14
14
  });
15
15
  Object.defineProperty(exports, "createSimilarityPrompt", {
16
16
  enumerable: true,
17
- get: function () { return chunkQQFFJTJ4_cjs.createSimilarityPrompt; }
17
+ get: function () { return chunk7EXZJ7KS_cjs.createSimilarityPrompt; }
18
18
  });
@@ -1,7 +1,7 @@
1
- import '../base-D9APQt4V.cjs';
2
- import { b1 as MastraLanguageModel } from '../base-VMWGZau0.cjs';
1
+ import '../base-H7siSAfu.cjs';
2
+ import { b2 as MastraLanguageModel } from '../base-DvwYl4To.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';
@@ -16,6 +16,7 @@ import 'node:events';
16
16
  import '../vector/index.cjs';
17
17
  import '../vector/filter/index.cjs';
18
18
  import '../tts/index.cjs';
19
+ import 'node:http';
19
20
  import 'events';
20
21
  import '../deployer/index.cjs';
21
22
  import '../bundler/index.cjs';
@@ -1,7 +1,7 @@
1
- import '../base-CeEVvwRi.js';
2
- import { b1 as MastraLanguageModel } from '../base-BCnFhShR.js';
1
+ import '../base-4Z34GQL8.js';
2
+ import { b2 as MastraLanguageModel } from '../base-4hc3EYVz.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';
@@ -16,6 +16,7 @@ import 'node:events';
16
16
  import '../vector/index.js';
17
17
  import '../vector/filter/index.js';
18
18
  import '../tts/index.js';
19
+ import 'node:http';
19
20
  import 'events';
20
21
  import '../deployer/index.js';
21
22
  import '../bundler/index.js';
@@ -1 +1 @@
1
- export { CohereRelevanceScorer, MastraAgentRelevanceScorer, createSimilarityPrompt } from '../chunk-SONEVGEJ.js';
1
+ export { CohereRelevanceScorer, MastraAgentRelevanceScorer, createSimilarityPrompt } from '../chunk-62M2N34A.js';
@@ -1,10 +1,10 @@
1
1
  import { Handler, Context, MiddlewareHandler } from 'hono';
2
2
  import { DescribeRouteOptions } from 'hono-openapi';
3
- import { M as Methods, a as Mastra, A as ApiRoute } from '../base-VMWGZau0.cjs';
3
+ import { M as Methods, a as Mastra, A as ApiRoute } 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';
@@ -18,6 +18,7 @@ import 'node:events';
18
18
  import '../vector/index.cjs';
19
19
  import '../vector/filter/index.cjs';
20
20
  import '../tts/index.cjs';
21
+ import 'node:http';
21
22
  import 'events';
22
23
  import '../deployer/index.cjs';
23
24
  import '../bundler/index.cjs';
@@ -1,10 +1,10 @@
1
1
  import { Handler, Context, MiddlewareHandler } from 'hono';
2
2
  import { DescribeRouteOptions } from 'hono-openapi';
3
- import { M as Methods, a as Mastra, A as ApiRoute } from '../base-BCnFhShR.js';
3
+ import { M as Methods, a as Mastra, A as ApiRoute } 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';
@@ -18,6 +18,7 @@ import 'node:events';
18
18
  import '../vector/index.js';
19
19
  import '../vector/filter/index.js';
20
20
  import '../tts/index.js';
21
+ import 'node:http';
21
22
  import 'events';
22
23
  import '../deployer/index.js';
23
24
  import '../bundler/index.js';
@@ -1,13 +1,13 @@
1
1
  'use strict';
2
2
 
3
- var chunkOGNJRWRQ_cjs = require('../chunk-OGNJRWRQ.cjs');
3
+ var chunk5DUFC7TV_cjs = require('../chunk-5DUFC7TV.cjs');
4
4
  var chunk6KB5CPBV_cjs = require('../chunk-6KB5CPBV.cjs');
5
5
 
6
6
 
7
7
 
8
8
  Object.defineProperty(exports, "MastraStorage", {
9
9
  enumerable: true,
10
- get: function () { return chunkOGNJRWRQ_cjs.MastraStorage; }
10
+ get: function () { return chunk5DUFC7TV_cjs.MastraStorage; }
11
11
  });
12
12
  Object.defineProperty(exports, "TABLE_EVALS", {
13
13
  enumerable: true,
@@ -1,8 +1,8 @@
1
- export { E as EvalRow, b as MastraStorage, S as StorageColumn, e as StorageGetMessagesArg, bh as TABLE_EVALS, bi as TABLE_MESSAGES, T as TABLE_NAMES, bl as TABLE_SCHEMAS, bj as TABLE_THREADS, bk as TABLE_TRACES, bg as TABLE_WORKFLOW_SNAPSHOT, f as WorkflowRun, W as WorkflowRuns } from '../base-VMWGZau0.cjs';
1
+ export { E as EvalRow, b as MastraStorage, S as StorageColumn, e as StorageGetMessagesArg, bm as TABLE_EVALS, bn as TABLE_MESSAGES, T as TABLE_NAMES, bq as TABLE_SCHEMAS, bo as TABLE_THREADS, bp as TABLE_TRACES, bl as TABLE_WORKFLOW_SNAPSHOT, f as WorkflowRun, W as WorkflowRuns } from '../base-DvwYl4To.cjs';
2
2
  import 'ai';
3
- import '../base-D9APQt4V.cjs';
3
+ import '../base-H7siSAfu.cjs';
4
4
  import '@opentelemetry/api';
5
- import '../index-CquI0inB.cjs';
5
+ import '../index-QV27jkxQ.cjs';
6
6
  import 'stream';
7
7
  import 'pino';
8
8
  import '@opentelemetry/sdk-trace-base';
@@ -16,6 +16,7 @@ import 'node:events';
16
16
  import '../vector/index.cjs';
17
17
  import '../vector/filter/index.cjs';
18
18
  import '../tts/index.cjs';
19
+ import 'node:http';
19
20
  import 'events';
20
21
  import '../deployer/index.cjs';
21
22
  import '../bundler/index.cjs';
@@ -1,8 +1,8 @@
1
- export { E as EvalRow, b as MastraStorage, S as StorageColumn, e as StorageGetMessagesArg, bh as TABLE_EVALS, bi as TABLE_MESSAGES, T as TABLE_NAMES, bl as TABLE_SCHEMAS, bj as TABLE_THREADS, bk as TABLE_TRACES, bg as TABLE_WORKFLOW_SNAPSHOT, f as WorkflowRun, W as WorkflowRuns } from '../base-BCnFhShR.js';
1
+ export { E as EvalRow, b as MastraStorage, S as StorageColumn, e as StorageGetMessagesArg, bm as TABLE_EVALS, bn as TABLE_MESSAGES, T as TABLE_NAMES, bq as TABLE_SCHEMAS, bo as TABLE_THREADS, bp as TABLE_TRACES, bl as TABLE_WORKFLOW_SNAPSHOT, f as WorkflowRun, W as WorkflowRuns } from '../base-4hc3EYVz.js';
2
2
  import 'ai';
3
- import '../base-CeEVvwRi.js';
3
+ import '../base-4Z34GQL8.js';
4
4
  import '@opentelemetry/api';
5
- import '../index-CquI0inB.js';
5
+ import '../index-QV27jkxQ.js';
6
6
  import 'stream';
7
7
  import 'pino';
8
8
  import '@opentelemetry/sdk-trace-base';
@@ -16,6 +16,7 @@ import 'node:events';
16
16
  import '../vector/index.js';
17
17
  import '../vector/filter/index.js';
18
18
  import '../tts/index.js';
19
+ import 'node:http';
19
20
  import 'events';
20
21
  import '../deployer/index.js';
21
22
  import '../bundler/index.js';
@@ -1,2 +1,2 @@
1
- export { MastraStorage } from '../chunk-T5V4W7WU.js';
1
+ export { MastraStorage } from '../chunk-TAFOICHR.js';
2
2
  export { TABLE_EVALS, TABLE_MESSAGES, TABLE_SCHEMAS, TABLE_THREADS, TABLE_TRACES, TABLE_WORKFLOW_SNAPSHOT } from '../chunk-SEOWDGC2.js';
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkOGNJRWRQ_cjs = require('../../chunk-OGNJRWRQ.cjs');
3
+ var chunk5DUFC7TV_cjs = require('../../chunk-5DUFC7TV.cjs');
4
4
  var chunk6KB5CPBV_cjs = require('../../chunk-6KB5CPBV.cjs');
5
5
  var path = require('path');
6
6
  var client = require('@libsql/client');
@@ -29,7 +29,7 @@ export const mastra = new Mastra({
29
29
  }
30
30
  `);
31
31
  }
32
- var LibSQLStore = class extends chunkOGNJRWRQ_cjs.MastraStorage {
32
+ var LibSQLStore = class extends chunk5DUFC7TV_cjs.MastraStorage {
33
33
  client;
34
34
  constructor({ config }) {
35
35
  super({ name: `LibSQLStore` });
@@ -1,9 +1,9 @@
1
1
  import { Config } from '@libsql/client';
2
- import { b as MastraStorage, T as TABLE_NAMES, S as StorageColumn, c as StorageThreadType, d as MessageType, e as StorageGetMessagesArg, E as EvalRow, W as WorkflowRuns, f as WorkflowRun } from '../../base-VMWGZau0.cjs';
2
+ import { b as MastraStorage, T as TABLE_NAMES, S as StorageColumn, c as StorageThreadType, d as MessageType, e as StorageGetMessagesArg, E as EvalRow, W as WorkflowRuns, f as WorkflowRun } from '../../base-DvwYl4To.cjs';
3
3
  import 'ai';
4
- import '../../base-D9APQt4V.cjs';
4
+ import '../../base-H7siSAfu.cjs';
5
5
  import '@opentelemetry/api';
6
- import '../../index-CquI0inB.cjs';
6
+ import '../../index-QV27jkxQ.cjs';
7
7
  import 'stream';
8
8
  import 'pino';
9
9
  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';