@mastra/core 0.9.2-alpha.0 → 0.9.2-alpha.3

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 (79) hide show
  1. package/dist/agent/index.cjs +2 -2
  2. package/dist/agent/index.d.cts +1 -1
  3. package/dist/agent/index.d.ts +1 -1
  4. package/dist/agent/index.js +1 -1
  5. package/dist/{base-DI6ChaUK.d.cts → base-BZxFAZ3-.d.cts} +27 -3
  6. package/dist/{base-bWFiU8RL.d.ts → base-uXj2cuRo.d.ts} +27 -3
  7. package/dist/{chunk-H2UWWO4L.js → chunk-6YY6MN2Z.js} +9 -5
  8. package/dist/{chunk-MAWT75XY.cjs → chunk-B7N24G5E.cjs} +2 -2
  9. package/dist/{chunk-7JRVDC7F.cjs → chunk-D2Y3ET63.cjs} +0 -91
  10. package/dist/{chunk-ZWALP7T2.cjs → chunk-EIMOKGTI.cjs} +2 -2
  11. package/dist/{chunk-SHDPMWGJ.js → chunk-IBKW4TJU.js} +1 -1
  12. package/dist/{chunk-33XQ5DGU.cjs → chunk-OPUU4S32.cjs} +5 -5
  13. package/dist/{chunk-YEA2KXXJ.js → chunk-QV4ZJLWA.js} +1 -1
  14. package/dist/{chunk-VI3IQINW.cjs → chunk-RSPHEENE.cjs} +45 -7
  15. package/dist/{chunk-FA7FWCKH.js → chunk-VQ7AM4ZV.js} +1 -1
  16. package/dist/{chunk-7PRLYMXV.cjs → chunk-VXUCE4GF.cjs} +20 -16
  17. package/dist/{chunk-INXNZ5VE.js → chunk-Z3OKCJ62.js} +41 -3
  18. package/dist/{chunk-KYULILA6.js → chunk-Z4MZ3ZUM.js} +1 -1
  19. package/dist/{chunk-JSUPD5IG.js → chunk-ZCJJ6XOH.js} +1 -90
  20. package/dist/{chunk-CFWUR4PX.cjs → chunk-ZVBLRU4W.cjs} +5 -5
  21. package/dist/eval/index.d.cts +1 -1
  22. package/dist/eval/index.d.ts +1 -1
  23. package/dist/index.cjs +50 -58
  24. package/dist/index.d.cts +3 -3
  25. package/dist/index.d.ts +3 -3
  26. package/dist/index.js +9 -9
  27. package/dist/integration/index.cjs +3 -3
  28. package/dist/integration/index.d.cts +1 -1
  29. package/dist/integration/index.d.ts +1 -1
  30. package/dist/integration/index.js +1 -1
  31. package/dist/llm/index.d.cts +1 -1
  32. package/dist/llm/index.d.ts +1 -1
  33. package/dist/mastra/index.cjs +2 -2
  34. package/dist/mastra/index.d.cts +1 -1
  35. package/dist/mastra/index.d.ts +1 -1
  36. package/dist/mastra/index.js +1 -1
  37. package/dist/memory/index.cjs +4 -4
  38. package/dist/memory/index.d.cts +1 -1
  39. package/dist/memory/index.d.ts +1 -1
  40. package/dist/memory/index.js +1 -1
  41. package/dist/network/index.cjs +4 -4
  42. package/dist/network/index.d.cts +1 -1
  43. package/dist/network/index.d.ts +1 -1
  44. package/dist/network/index.js +2 -2
  45. package/dist/relevance/index.cjs +4 -4
  46. package/dist/relevance/index.d.cts +1 -1
  47. package/dist/relevance/index.d.ts +1 -1
  48. package/dist/relevance/index.js +1 -1
  49. package/dist/server/index.d.cts +1 -1
  50. package/dist/server/index.d.ts +1 -1
  51. package/dist/storage/index.d.cts +1 -1
  52. package/dist/storage/index.d.ts +1 -1
  53. package/dist/storage/libsql/index.cjs +15 -1
  54. package/dist/storage/libsql/index.d.cts +4 -2
  55. package/dist/storage/libsql/index.d.ts +4 -2
  56. package/dist/storage/libsql/index.js +15 -1
  57. package/dist/telemetry/index.d.cts +1 -1
  58. package/dist/telemetry/index.d.ts +1 -1
  59. package/dist/tools/index.cjs +4 -4
  60. package/dist/tools/index.d.cts +1 -1
  61. package/dist/tools/index.d.ts +1 -1
  62. package/dist/tools/index.js +1 -1
  63. package/dist/utils.cjs +12 -20
  64. package/dist/utils.d.cts +3 -5
  65. package/dist/utils.d.ts +3 -5
  66. package/dist/utils.js +1 -1
  67. package/dist/voice/index.d.cts +1 -1
  68. package/dist/voice/index.d.ts +1 -1
  69. package/dist/workflows/index.cjs +22 -22
  70. package/dist/workflows/index.d.cts +2 -2
  71. package/dist/workflows/index.d.ts +2 -2
  72. package/dist/workflows/index.js +1 -1
  73. package/dist/workflows/vNext/index.cjs +6 -6
  74. package/dist/workflows/vNext/index.d.cts +2 -2
  75. package/dist/workflows/vNext/index.d.ts +2 -2
  76. package/dist/workflows/vNext/index.js +4 -4
  77. package/package.json +1 -1
  78. /package/dist/{chunk-7ZR64JAJ.js → chunk-2IXADNQJ.js} +0 -0
  79. /package/dist/{chunk-ZKRQS3N5.cjs → chunk-AVAHVCWY.cjs} +0 -0
package/dist/index.cjs CHANGED
@@ -1,16 +1,16 @@
1
1
  'use strict';
2
2
 
3
3
  var chunkZZRFVSYZ_cjs = require('./chunk-ZZRFVSYZ.cjs');
4
- var chunkMAWT75XY_cjs = require('./chunk-MAWT75XY.cjs');
4
+ var chunkB7N24G5E_cjs = require('./chunk-B7N24G5E.cjs');
5
5
  var chunkMUNFCOMB_cjs = require('./chunk-MUNFCOMB.cjs');
6
- var chunk33XQ5DGU_cjs = require('./chunk-33XQ5DGU.cjs');
7
- var chunkVI3IQINW_cjs = require('./chunk-VI3IQINW.cjs');
6
+ var chunkOPUU4S32_cjs = require('./chunk-OPUU4S32.cjs');
7
+ var chunkRSPHEENE_cjs = require('./chunk-RSPHEENE.cjs');
8
8
  var chunkYAJVZMZH_cjs = require('./chunk-YAJVZMZH.cjs');
9
9
  var chunkXNBNJEES_cjs = require('./chunk-XNBNJEES.cjs');
10
- var chunkZWALP7T2_cjs = require('./chunk-ZWALP7T2.cjs');
11
- var chunk7PRLYMXV_cjs = require('./chunk-7PRLYMXV.cjs');
10
+ var chunkEIMOKGTI_cjs = require('./chunk-EIMOKGTI.cjs');
11
+ var chunkVXUCE4GF_cjs = require('./chunk-VXUCE4GF.cjs');
12
12
  var chunkMYHX5XVW_cjs = require('./chunk-MYHX5XVW.cjs');
13
- var chunk7JRVDC7F_cjs = require('./chunk-7JRVDC7F.cjs');
13
+ var chunkD2Y3ET63_cjs = require('./chunk-D2Y3ET63.cjs');
14
14
  var chunkRZCYBC7D_cjs = require('./chunk-RZCYBC7D.cjs');
15
15
  var chunkD63P5O4Q_cjs = require('./chunk-D63P5O4Q.cjs');
16
16
  var chunkO7IW545H_cjs = require('./chunk-O7IW545H.cjs');
@@ -18,7 +18,7 @@ var chunk3C6V2FEP_cjs = require('./chunk-3C6V2FEP.cjs');
18
18
  var chunkST5RMVLG_cjs = require('./chunk-ST5RMVLG.cjs');
19
19
 
20
20
  // src/agent/index.warning.ts
21
- var Agent2 = class extends chunk7PRLYMXV_cjs.Agent {
21
+ var Agent2 = class extends chunkVXUCE4GF_cjs.Agent {
22
22
  constructor(config) {
23
23
  super(config);
24
24
  this.logger.warn('Please import "Agent from "@mastra/core/agent" instead of "@mastra/core"');
@@ -52,7 +52,7 @@ var MastraStorage2 = class extends chunkXNBNJEES_cjs.MastraStorage {
52
52
  };
53
53
 
54
54
  // src/integration/integration.warning.ts
55
- var Integration2 = class extends chunkMAWT75XY_cjs.Integration {
55
+ var Integration2 = class extends chunkB7N24G5E_cjs.Integration {
56
56
  constructor() {
57
57
  super();
58
58
  console.warn('Please import "Integration" from "@mastra/core/integration" instead of "@mastra/core"');
@@ -60,7 +60,7 @@ var Integration2 = class extends chunkMAWT75XY_cjs.Integration {
60
60
  };
61
61
 
62
62
  // src/integration/openapi-toolset.warning.ts
63
- var OpenAPIToolset2 = class extends chunkMAWT75XY_cjs.OpenAPIToolset {
63
+ var OpenAPIToolset2 = class extends chunkB7N24G5E_cjs.OpenAPIToolset {
64
64
  constructor() {
65
65
  super();
66
66
  console.warn('Please import "OpenAPIToolset" from "@mastra/core/integration" instead of "@mastra/core"');
@@ -74,7 +74,7 @@ function createLogger2(options) {
74
74
  }
75
75
 
76
76
  // src/memory/index.warning.ts
77
- var MastraMemory2 = class extends chunkVI3IQINW_cjs.MastraMemory {
77
+ var MastraMemory2 = class extends chunkRSPHEENE_cjs.MastraMemory {
78
78
  constructor(_arg) {
79
79
  super({ name: `Deprecated memory` });
80
80
  this.logger.warn('Please import "MastraMemory" from "@mastra/core/memory" instead of "@mastra/core"');
@@ -82,7 +82,7 @@ var MastraMemory2 = class extends chunkVI3IQINW_cjs.MastraMemory {
82
82
  };
83
83
 
84
84
  // src/tools/index.warning.ts
85
- var Tool2 = class extends chunk7JRVDC7F_cjs.Tool {
85
+ var Tool2 = class extends chunkD2Y3ET63_cjs.Tool {
86
86
  constructor(opts) {
87
87
  super(opts);
88
88
  console.warn('Please import "Tool" from "@mastra/core/tools" instead of "@mastra/core"');
@@ -106,7 +106,7 @@ var MastraVector2 = class extends chunkYAJVZMZH_cjs.MastraVector {
106
106
  };
107
107
 
108
108
  // src/workflows/workflow.warning.ts
109
- var Workflow2 = class extends chunk7PRLYMXV_cjs.Workflow {
109
+ var Workflow2 = class extends chunkVXUCE4GF_cjs.Workflow {
110
110
  constructor(args) {
111
111
  super(args);
112
112
  this.logger.warn('Please import "Workflow" from "@mastra/core/workflows" instead of "@mastra/core"');
@@ -119,107 +119,107 @@ Object.defineProperty(exports, "createMockModel", {
119
119
  });
120
120
  Object.defineProperty(exports, "Mastra", {
121
121
  enumerable: true,
122
- get: function () { return chunk33XQ5DGU_cjs.Mastra; }
122
+ get: function () { return chunkOPUU4S32_cjs.Mastra; }
123
123
  });
124
124
  Object.defineProperty(exports, "MemoryProcessor", {
125
125
  enumerable: true,
126
- get: function () { return chunkVI3IQINW_cjs.MemoryProcessor; }
126
+ get: function () { return chunkRSPHEENE_cjs.MemoryProcessor; }
127
127
  });
128
128
  Object.defineProperty(exports, "memoryDefaultOptions", {
129
129
  enumerable: true,
130
- get: function () { return chunkVI3IQINW_cjs.memoryDefaultOptions; }
130
+ get: function () { return chunkRSPHEENE_cjs.memoryDefaultOptions; }
131
131
  });
132
132
  Object.defineProperty(exports, "CohereRelevanceScorer", {
133
133
  enumerable: true,
134
- get: function () { return chunkZWALP7T2_cjs.CohereRelevanceScorer; }
134
+ get: function () { return chunkEIMOKGTI_cjs.CohereRelevanceScorer; }
135
135
  });
136
136
  Object.defineProperty(exports, "MastraAgentRelevanceScorer", {
137
137
  enumerable: true,
138
- get: function () { return chunkZWALP7T2_cjs.MastraAgentRelevanceScorer; }
138
+ get: function () { return chunkEIMOKGTI_cjs.MastraAgentRelevanceScorer; }
139
139
  });
140
140
  Object.defineProperty(exports, "createSimilarityPrompt", {
141
141
  enumerable: true,
142
- get: function () { return chunkZWALP7T2_cjs.createSimilarityPrompt; }
142
+ get: function () { return chunkEIMOKGTI_cjs.createSimilarityPrompt; }
143
143
  });
144
144
  Object.defineProperty(exports, "Step", {
145
145
  enumerable: true,
146
- get: function () { return chunk7PRLYMXV_cjs.Step; }
146
+ get: function () { return chunkVXUCE4GF_cjs.Step; }
147
147
  });
148
148
  Object.defineProperty(exports, "WhenConditionReturnValue", {
149
149
  enumerable: true,
150
- get: function () { return chunk7PRLYMXV_cjs.WhenConditionReturnValue; }
150
+ get: function () { return chunkVXUCE4GF_cjs.WhenConditionReturnValue; }
151
151
  });
152
152
  Object.defineProperty(exports, "agentToStep", {
153
153
  enumerable: true,
154
- get: function () { return chunk7PRLYMXV_cjs.agentToStep; }
154
+ get: function () { return chunkVXUCE4GF_cjs.agentToStep; }
155
155
  });
156
156
  Object.defineProperty(exports, "getActivePathsAndStatus", {
157
157
  enumerable: true,
158
- get: function () { return chunk7PRLYMXV_cjs.getActivePathsAndStatus; }
158
+ get: function () { return chunkVXUCE4GF_cjs.getActivePathsAndStatus; }
159
159
  });
160
160
  Object.defineProperty(exports, "getResultActivePaths", {
161
161
  enumerable: true,
162
- get: function () { return chunk7PRLYMXV_cjs.getResultActivePaths; }
162
+ get: function () { return chunkVXUCE4GF_cjs.getResultActivePaths; }
163
163
  });
164
164
  Object.defineProperty(exports, "getStepResult", {
165
165
  enumerable: true,
166
- get: function () { return chunk7PRLYMXV_cjs.getStepResult; }
166
+ get: function () { return chunkVXUCE4GF_cjs.getStepResult; }
167
167
  });
168
168
  Object.defineProperty(exports, "getSuspendedPaths", {
169
169
  enumerable: true,
170
- get: function () { return chunk7PRLYMXV_cjs.getSuspendedPaths; }
170
+ get: function () { return chunkVXUCE4GF_cjs.getSuspendedPaths; }
171
171
  });
172
172
  Object.defineProperty(exports, "isAgent", {
173
173
  enumerable: true,
174
- get: function () { return chunk7PRLYMXV_cjs.isAgent; }
174
+ get: function () { return chunkVXUCE4GF_cjs.isAgent; }
175
175
  });
176
176
  Object.defineProperty(exports, "isConditionalKey", {
177
177
  enumerable: true,
178
- get: function () { return chunk7PRLYMXV_cjs.isConditionalKey; }
178
+ get: function () { return chunkVXUCE4GF_cjs.isConditionalKey; }
179
179
  });
180
180
  Object.defineProperty(exports, "isErrorEvent", {
181
181
  enumerable: true,
182
- get: function () { return chunk7PRLYMXV_cjs.isErrorEvent; }
182
+ get: function () { return chunkVXUCE4GF_cjs.isErrorEvent; }
183
183
  });
184
184
  Object.defineProperty(exports, "isFinalState", {
185
185
  enumerable: true,
186
- get: function () { return chunk7PRLYMXV_cjs.isFinalState; }
186
+ get: function () { return chunkVXUCE4GF_cjs.isFinalState; }
187
187
  });
188
188
  Object.defineProperty(exports, "isLimboState", {
189
189
  enumerable: true,
190
- get: function () { return chunk7PRLYMXV_cjs.isLimboState; }
190
+ get: function () { return chunkVXUCE4GF_cjs.isLimboState; }
191
191
  });
192
192
  Object.defineProperty(exports, "isTransitionEvent", {
193
193
  enumerable: true,
194
- get: function () { return chunk7PRLYMXV_cjs.isTransitionEvent; }
194
+ get: function () { return chunkVXUCE4GF_cjs.isTransitionEvent; }
195
195
  });
196
196
  Object.defineProperty(exports, "isVariableReference", {
197
197
  enumerable: true,
198
- get: function () { return chunk7PRLYMXV_cjs.isVariableReference; }
198
+ get: function () { return chunkVXUCE4GF_cjs.isVariableReference; }
199
199
  });
200
200
  Object.defineProperty(exports, "isWorkflow", {
201
201
  enumerable: true,
202
- get: function () { return chunk7PRLYMXV_cjs.isWorkflow; }
202
+ get: function () { return chunkVXUCE4GF_cjs.isWorkflow; }
203
203
  });
204
204
  Object.defineProperty(exports, "mergeChildValue", {
205
205
  enumerable: true,
206
- get: function () { return chunk7PRLYMXV_cjs.mergeChildValue; }
206
+ get: function () { return chunkVXUCE4GF_cjs.mergeChildValue; }
207
207
  });
208
208
  Object.defineProperty(exports, "recursivelyCheckForFinalState", {
209
209
  enumerable: true,
210
- get: function () { return chunk7PRLYMXV_cjs.recursivelyCheckForFinalState; }
210
+ get: function () { return chunkVXUCE4GF_cjs.recursivelyCheckForFinalState; }
211
211
  });
212
212
  Object.defineProperty(exports, "resolveVariables", {
213
213
  enumerable: true,
214
- get: function () { return chunk7PRLYMXV_cjs.resolveVariables; }
214
+ get: function () { return chunkVXUCE4GF_cjs.resolveVariables; }
215
215
  });
216
216
  Object.defineProperty(exports, "updateStepInHierarchy", {
217
217
  enumerable: true,
218
- get: function () { return chunk7PRLYMXV_cjs.updateStepInHierarchy; }
218
+ get: function () { return chunkVXUCE4GF_cjs.updateStepInHierarchy; }
219
219
  });
220
220
  Object.defineProperty(exports, "workflowToStep", {
221
221
  enumerable: true,
222
- get: function () { return chunk7PRLYMXV_cjs.workflowToStep; }
222
+ get: function () { return chunkVXUCE4GF_cjs.workflowToStep; }
223
223
  });
224
224
  Object.defineProperty(exports, "InstrumentClass", {
225
225
  enumerable: true,
@@ -243,59 +243,51 @@ Object.defineProperty(exports, "withSpan", {
243
243
  });
244
244
  Object.defineProperty(exports, "checkEvalStorageFields", {
245
245
  enumerable: true,
246
- get: function () { return chunk7JRVDC7F_cjs.checkEvalStorageFields; }
246
+ get: function () { return chunkD2Y3ET63_cjs.checkEvalStorageFields; }
247
247
  });
248
248
  Object.defineProperty(exports, "createMastraProxy", {
249
249
  enumerable: true,
250
- get: function () { return chunk7JRVDC7F_cjs.createMastraProxy; }
250
+ get: function () { return chunkD2Y3ET63_cjs.createMastraProxy; }
251
251
  });
252
252
  Object.defineProperty(exports, "createTool", {
253
253
  enumerable: true,
254
- get: function () { return chunk7JRVDC7F_cjs.createTool; }
254
+ get: function () { return chunkD2Y3ET63_cjs.createTool; }
255
255
  });
256
256
  Object.defineProperty(exports, "deepMerge", {
257
257
  enumerable: true,
258
- get: function () { return chunk7JRVDC7F_cjs.deepMerge; }
258
+ get: function () { return chunkD2Y3ET63_cjs.deepMerge; }
259
259
  });
260
260
  Object.defineProperty(exports, "delay", {
261
261
  enumerable: true,
262
- get: function () { return chunk7JRVDC7F_cjs.delay; }
262
+ get: function () { return chunkD2Y3ET63_cjs.delay; }
263
263
  });
264
264
  Object.defineProperty(exports, "ensureAllMessagesAreCoreMessages", {
265
265
  enumerable: true,
266
- get: function () { return chunk7JRVDC7F_cjs.ensureAllMessagesAreCoreMessages; }
266
+ get: function () { return chunkD2Y3ET63_cjs.ensureAllMessagesAreCoreMessages; }
267
267
  });
268
268
  Object.defineProperty(exports, "ensureToolProperties", {
269
269
  enumerable: true,
270
- get: function () { return chunk7JRVDC7F_cjs.ensureToolProperties; }
270
+ get: function () { return chunkD2Y3ET63_cjs.ensureToolProperties; }
271
271
  });
272
272
  Object.defineProperty(exports, "isVercelTool", {
273
273
  enumerable: true,
274
- get: function () { return chunk7JRVDC7F_cjs.isVercelTool; }
274
+ get: function () { return chunkD2Y3ET63_cjs.isVercelTool; }
275
275
  });
276
276
  Object.defineProperty(exports, "isZodType", {
277
277
  enumerable: true,
278
- get: function () { return chunk7JRVDC7F_cjs.isZodType; }
279
- });
280
- Object.defineProperty(exports, "jsonSchemaPropertiesToTSTypes", {
281
- enumerable: true,
282
- get: function () { return chunk7JRVDC7F_cjs.jsonSchemaPropertiesToTSTypes; }
283
- });
284
- Object.defineProperty(exports, "jsonSchemaToModel", {
285
- enumerable: true,
286
- get: function () { return chunk7JRVDC7F_cjs.jsonSchemaToModel; }
278
+ get: function () { return chunkD2Y3ET63_cjs.isZodType; }
287
279
  });
288
280
  Object.defineProperty(exports, "makeCoreTool", {
289
281
  enumerable: true,
290
- get: function () { return chunk7JRVDC7F_cjs.makeCoreTool; }
282
+ get: function () { return chunkD2Y3ET63_cjs.makeCoreTool; }
291
283
  });
292
284
  Object.defineProperty(exports, "maskStreamTags", {
293
285
  enumerable: true,
294
- get: function () { return chunk7JRVDC7F_cjs.maskStreamTags; }
286
+ get: function () { return chunkD2Y3ET63_cjs.maskStreamTags; }
295
287
  });
296
288
  Object.defineProperty(exports, "resolveSerializedZodOutput", {
297
289
  enumerable: true,
298
- get: function () { return chunk7JRVDC7F_cjs.resolveSerializedZodOutput; }
290
+ get: function () { return chunkD2Y3ET63_cjs.resolveSerializedZodOutput; }
299
291
  });
300
292
  Object.defineProperty(exports, "LogLevel", {
301
293
  enumerable: true,
package/dist/index.d.cts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { a as Metric } from './types-BtMyV38I.cjs';
2
2
  export { E as EvaluationResult, M as MetricResult, T as TestInfo } from './types-BtMyV38I.cjs';
3
- import { C as ToolAction, D as Agent$1, F as AgentConfig, b as MastraStorage$1, G as MastraMemory$1, H as ToolExecutionContext, I as Tool$1, J as Step, K as Workflow$1, L as WorkflowOptions } from './base-DI6ChaUK.cjs';
4
- export { aA as ActionContext, az as BaseCondition, a1 as BaseStructuredOutputType, ai as Config, X as CoreAssistantMessage, Q as CoreMessage, U as CoreSystemMessage, ar as CoreTool, _ as CoreToolMessage, Y as CoreUserMessage, ab as DefaultLLMStreamObjectOptions, aa as DefaultLLMStreamOptions, a9 as DefaultLLMTextObjectOptions, a8 as DefaultLLMTextOptions, aO as DependencyCheckOutput, a0 as EmbedManyResult, $ as EmbedResult, E as EvalRow, aV as ExtractSchemaFromStep, aY as ExtractSchemaType, aW as ExtractStepResult, a5 as GenerateReturn, af as LLMInnerStreamOptions, ag as LLMStreamObjectOptions, ae as LLMStreamOptions, ad as LLMTextObjectOptions, ac as LLMTextOptions, O as LanguageModel, a as Mastra, ak as MemoryConfig, an as MemoryProcessor, am as MemoryProcessorOpts, aj as MessageResponse, d as MessageType, a7 as OutputType, aZ as PathsToStringProps, aL as ResolverFunctionInput, aM as ResolverFunctionOutput, ax as RetryConfig, al as SharedMemoryConfig, at as StepAction, aD as StepCondition, aE as StepConfig, aC as StepDef, as as StepExecutionContext, aw as StepGraph, aU as StepId, aX as StepInputType, av as StepNode, aP as StepResolverOutput, aF as StepResult, au as StepVariableType, aG as StepsRecord, S as StorageColumn, e as StorageGetMessagesArg, c as StorageThreadType, a6 as StreamReturn, a4 as StructuredOutput, a3 as StructuredOutputArrayItem, a2 as StructuredOutputType, aN as SubscriberFunctionOutput, ay as VariableReference, aq as VercelTool, aB as WhenConditionReturnValue, aR as WorkflowActionParams, aS as WorkflowActions, aQ as WorkflowActors, aI as WorkflowContext, aK as WorkflowEvent, aJ as WorkflowLogMessage, a$ as WorkflowResumeResult, f as WorkflowRun, aH as WorkflowRunResult, a_ as WorkflowRunState, W as WorkflowRuns, aT as WorkflowState, ah as createMockModel, ap as createTool, ao as memoryDefaultOptions } from './base-DI6ChaUK.cjs';
3
+ import { C as ToolAction, D as Agent$1, F as AgentConfig, b as MastraStorage$1, G as MastraMemory$1, H as ToolExecutionContext, I as Tool$1, J as Step, K as Workflow$1, L as WorkflowOptions } from './base-BZxFAZ3-.cjs';
4
+ export { aA as ActionContext, az as BaseCondition, a1 as BaseStructuredOutputType, ai as Config, X as CoreAssistantMessage, Q as CoreMessage, U as CoreSystemMessage, ar as CoreTool, _ as CoreToolMessage, Y as CoreUserMessage, ab as DefaultLLMStreamObjectOptions, aa as DefaultLLMStreamOptions, a9 as DefaultLLMTextObjectOptions, a8 as DefaultLLMTextOptions, aO as DependencyCheckOutput, a0 as EmbedManyResult, $ as EmbedResult, E as EvalRow, aV as ExtractSchemaFromStep, aY as ExtractSchemaType, aW as ExtractStepResult, a5 as GenerateReturn, af as LLMInnerStreamOptions, ag as LLMStreamObjectOptions, ae as LLMStreamOptions, ad as LLMTextObjectOptions, ac as LLMTextOptions, O as LanguageModel, a as Mastra, ak as MemoryConfig, an as MemoryProcessor, am as MemoryProcessorOpts, aj as MessageResponse, d as MessageType, a7 as OutputType, aZ as PathsToStringProps, aL as ResolverFunctionInput, aM as ResolverFunctionOutput, ax as RetryConfig, al as SharedMemoryConfig, at as StepAction, aD as StepCondition, aE as StepConfig, aC as StepDef, as as StepExecutionContext, aw as StepGraph, aU as StepId, aX as StepInputType, av as StepNode, aP as StepResolverOutput, aF as StepResult, au as StepVariableType, aG as StepsRecord, S as StorageColumn, e as StorageGetMessagesArg, c as StorageThreadType, a6 as StreamReturn, a4 as StructuredOutput, a3 as StructuredOutputArrayItem, a2 as StructuredOutputType, aN as SubscriberFunctionOutput, ay as VariableReference, aq as VercelTool, aB as WhenConditionReturnValue, aR as WorkflowActionParams, aS as WorkflowActions, aQ as WorkflowActors, aI as WorkflowContext, aK as WorkflowEvent, aJ as WorkflowLogMessage, a$ as WorkflowResumeResult, f as WorkflowRun, aH as WorkflowRunResult, a_ as WorkflowRunState, W as WorkflowRuns, aT as WorkflowState, ah as createMockModel, ap as createTool, ao as memoryDefaultOptions } from './base-BZxFAZ3-.cjs';
5
5
  import { M as MastraBase$1 } from './base-BihKcqDY.cjs';
6
6
  export { O as OtelConfig, S as SamplingStrategy, T as Telemetry } from './base-BihKcqDY.cjs';
7
7
  import { R as RegisteredLogger, a as LogLevel, T as TransportMap, L as Logger } from './index-CquI0inB.cjs';
@@ -13,7 +13,7 @@ export { CohereRelevanceScorer, MastraAgentRelevanceScorer, RelevanceScoreProvid
13
13
  export { InstrumentClass, OTLPStorageExporter, hasActiveTelemetry, withSpan } from './telemetry/index.cjs';
14
14
  import { z } from 'zod';
15
15
  import { MastraTTS as MastraTTS$1, TTSConfig } from './tts/index.cjs';
16
- export { TagMaskOptions, checkEvalStorageFields, createMastraProxy, deepMerge, delay, ensureAllMessagesAreCoreMessages, ensureToolProperties, isVercelTool, isZodType, jsonSchemaPropertiesToTSTypes, jsonSchemaToModel, makeCoreTool, maskStreamTags, resolveSerializedZodOutput } from './utils.cjs';
16
+ export { TagMaskOptions, checkEvalStorageFields, createMastraProxy, deepMerge, delay, ensureAllMessagesAreCoreMessages, ensureToolProperties, isVercelTool, isZodType, makeCoreTool, maskStreamTags, resolveSerializedZodOutput } from './utils.cjs';
17
17
  import { MastraVector as MastraVector$1 } from './vector/index.cjs';
18
18
  export { CreateIndexArgs, CreateIndexParams, IndexStats, ParamsToArgs, QueryResult, QueryVectorArgs, QueryVectorParams, UpsertVectorArgs, UpsertVectorParams } from './vector/index.cjs';
19
19
  export { agentToStep, getActivePathsAndStatus, getResultActivePaths, getStepResult, getSuspendedPaths, isAgent, isConditionalKey, isErrorEvent, isFinalState, isLimboState, isTransitionEvent, isVariableReference, isWorkflow, mergeChildValue, recursivelyCheckForFinalState, resolveVariables, updateStepInHierarchy, workflowToStep } from './workflows/index.cjs';
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { a as Metric } from './types-BtMyV38I.js';
2
2
  export { E as EvaluationResult, M as MetricResult, T as TestInfo } from './types-BtMyV38I.js';
3
- import { C as ToolAction, D as Agent$1, F as AgentConfig, b as MastraStorage$1, G as MastraMemory$1, H as ToolExecutionContext, I as Tool$1, J as Step, K as Workflow$1, L as WorkflowOptions } from './base-bWFiU8RL.js';
4
- export { aA as ActionContext, az as BaseCondition, a1 as BaseStructuredOutputType, ai as Config, X as CoreAssistantMessage, Q as CoreMessage, U as CoreSystemMessage, ar as CoreTool, _ as CoreToolMessage, Y as CoreUserMessage, ab as DefaultLLMStreamObjectOptions, aa as DefaultLLMStreamOptions, a9 as DefaultLLMTextObjectOptions, a8 as DefaultLLMTextOptions, aO as DependencyCheckOutput, a0 as EmbedManyResult, $ as EmbedResult, E as EvalRow, aV as ExtractSchemaFromStep, aY as ExtractSchemaType, aW as ExtractStepResult, a5 as GenerateReturn, af as LLMInnerStreamOptions, ag as LLMStreamObjectOptions, ae as LLMStreamOptions, ad as LLMTextObjectOptions, ac as LLMTextOptions, O as LanguageModel, a as Mastra, ak as MemoryConfig, an as MemoryProcessor, am as MemoryProcessorOpts, aj as MessageResponse, d as MessageType, a7 as OutputType, aZ as PathsToStringProps, aL as ResolverFunctionInput, aM as ResolverFunctionOutput, ax as RetryConfig, al as SharedMemoryConfig, at as StepAction, aD as StepCondition, aE as StepConfig, aC as StepDef, as as StepExecutionContext, aw as StepGraph, aU as StepId, aX as StepInputType, av as StepNode, aP as StepResolverOutput, aF as StepResult, au as StepVariableType, aG as StepsRecord, S as StorageColumn, e as StorageGetMessagesArg, c as StorageThreadType, a6 as StreamReturn, a4 as StructuredOutput, a3 as StructuredOutputArrayItem, a2 as StructuredOutputType, aN as SubscriberFunctionOutput, ay as VariableReference, aq as VercelTool, aB as WhenConditionReturnValue, aR as WorkflowActionParams, aS as WorkflowActions, aQ as WorkflowActors, aI as WorkflowContext, aK as WorkflowEvent, aJ as WorkflowLogMessage, a$ as WorkflowResumeResult, f as WorkflowRun, aH as WorkflowRunResult, a_ as WorkflowRunState, W as WorkflowRuns, aT as WorkflowState, ah as createMockModel, ap as createTool, ao as memoryDefaultOptions } from './base-bWFiU8RL.js';
3
+ import { C as ToolAction, D as Agent$1, F as AgentConfig, b as MastraStorage$1, G as MastraMemory$1, H as ToolExecutionContext, I as Tool$1, J as Step, K as Workflow$1, L as WorkflowOptions } from './base-uXj2cuRo.js';
4
+ export { aA as ActionContext, az as BaseCondition, a1 as BaseStructuredOutputType, ai as Config, X as CoreAssistantMessage, Q as CoreMessage, U as CoreSystemMessage, ar as CoreTool, _ as CoreToolMessage, Y as CoreUserMessage, ab as DefaultLLMStreamObjectOptions, aa as DefaultLLMStreamOptions, a9 as DefaultLLMTextObjectOptions, a8 as DefaultLLMTextOptions, aO as DependencyCheckOutput, a0 as EmbedManyResult, $ as EmbedResult, E as EvalRow, aV as ExtractSchemaFromStep, aY as ExtractSchemaType, aW as ExtractStepResult, a5 as GenerateReturn, af as LLMInnerStreamOptions, ag as LLMStreamObjectOptions, ae as LLMStreamOptions, ad as LLMTextObjectOptions, ac as LLMTextOptions, O as LanguageModel, a as Mastra, ak as MemoryConfig, an as MemoryProcessor, am as MemoryProcessorOpts, aj as MessageResponse, d as MessageType, a7 as OutputType, aZ as PathsToStringProps, aL as ResolverFunctionInput, aM as ResolverFunctionOutput, ax as RetryConfig, al as SharedMemoryConfig, at as StepAction, aD as StepCondition, aE as StepConfig, aC as StepDef, as as StepExecutionContext, aw as StepGraph, aU as StepId, aX as StepInputType, av as StepNode, aP as StepResolverOutput, aF as StepResult, au as StepVariableType, aG as StepsRecord, S as StorageColumn, e as StorageGetMessagesArg, c as StorageThreadType, a6 as StreamReturn, a4 as StructuredOutput, a3 as StructuredOutputArrayItem, a2 as StructuredOutputType, aN as SubscriberFunctionOutput, ay as VariableReference, aq as VercelTool, aB as WhenConditionReturnValue, aR as WorkflowActionParams, aS as WorkflowActions, aQ as WorkflowActors, aI as WorkflowContext, aK as WorkflowEvent, aJ as WorkflowLogMessage, a$ as WorkflowResumeResult, f as WorkflowRun, aH as WorkflowRunResult, a_ as WorkflowRunState, W as WorkflowRuns, aT as WorkflowState, ah as createMockModel, ap as createTool, ao as memoryDefaultOptions } from './base-uXj2cuRo.js';
5
5
  import { M as MastraBase$1 } from './base-DT2poiVK.js';
6
6
  export { O as OtelConfig, S as SamplingStrategy, T as Telemetry } from './base-DT2poiVK.js';
7
7
  import { R as RegisteredLogger, a as LogLevel, T as TransportMap, L as Logger } from './index-CquI0inB.js';
@@ -13,7 +13,7 @@ export { CohereRelevanceScorer, MastraAgentRelevanceScorer, RelevanceScoreProvid
13
13
  export { InstrumentClass, OTLPStorageExporter, hasActiveTelemetry, withSpan } from './telemetry/index.js';
14
14
  import { z } from 'zod';
15
15
  import { MastraTTS as MastraTTS$1, TTSConfig } from './tts/index.js';
16
- export { TagMaskOptions, checkEvalStorageFields, createMastraProxy, deepMerge, delay, ensureAllMessagesAreCoreMessages, ensureToolProperties, isVercelTool, isZodType, jsonSchemaPropertiesToTSTypes, jsonSchemaToModel, makeCoreTool, maskStreamTags, resolveSerializedZodOutput } from './utils.js';
16
+ export { TagMaskOptions, checkEvalStorageFields, createMastraProxy, deepMerge, delay, ensureAllMessagesAreCoreMessages, ensureToolProperties, isVercelTool, isZodType, makeCoreTool, maskStreamTags, resolveSerializedZodOutput } from './utils.js';
17
17
  import { MastraVector as MastraVector$1 } from './vector/index.js';
18
18
  export { CreateIndexArgs, CreateIndexParams, IndexStats, ParamsToArgs, QueryResult, QueryVectorArgs, QueryVectorParams, UpsertVectorArgs, UpsertVectorParams } from './vector/index.js';
19
19
  export { agentToStep, getActivePathsAndStatus, getResultActivePaths, getStepResult, getSuspendedPaths, isAgent, isConditionalKey, isErrorEvent, isFinalState, isLimboState, isTransitionEvent, isVariableReference, isWorkflow, mergeChildValue, recursivelyCheckForFinalState, resolveVariables, updateStepInHierarchy, workflowToStep } from './workflows/index.js';
package/dist/index.js CHANGED
@@ -1,17 +1,17 @@
1
1
  import { MastraTTS } from './chunk-7IAP7VPO.js';
2
- import { Integration, OpenAPIToolset } from './chunk-SHDPMWGJ.js';
2
+ import { Integration, OpenAPIToolset } from './chunk-IBKW4TJU.js';
3
3
  export { createMockModel } from './chunk-HNEE7IF4.js';
4
- export { Mastra } from './chunk-KYULILA6.js';
5
- import { MastraMemory } from './chunk-INXNZ5VE.js';
6
- export { MemoryProcessor, memoryDefaultOptions } from './chunk-INXNZ5VE.js';
4
+ export { Mastra } from './chunk-Z4MZ3ZUM.js';
5
+ import { MastraMemory } from './chunk-Z3OKCJ62.js';
6
+ export { MemoryProcessor, memoryDefaultOptions } from './chunk-Z3OKCJ62.js';
7
7
  import { MastraVector } from './chunk-LXIAHZ45.js';
8
8
  import { MastraStorage } from './chunk-52SRR7WR.js';
9
- export { CohereRelevanceScorer, MastraAgentRelevanceScorer, createSimilarityPrompt } from './chunk-FA7FWCKH.js';
10
- import { Agent, Workflow } from './chunk-H2UWWO4L.js';
11
- export { Step, WhenConditionReturnValue, agentToStep, getActivePathsAndStatus, getResultActivePaths, getStepResult, getSuspendedPaths, isAgent, isConditionalKey, isErrorEvent, isFinalState, isLimboState, isTransitionEvent, isVariableReference, isWorkflow, mergeChildValue, recursivelyCheckForFinalState, resolveVariables, updateStepInHierarchy, workflowToStep } from './chunk-H2UWWO4L.js';
9
+ export { CohereRelevanceScorer, MastraAgentRelevanceScorer, createSimilarityPrompt } from './chunk-VQ7AM4ZV.js';
10
+ import { Agent, Workflow } from './chunk-6YY6MN2Z.js';
11
+ export { Step, WhenConditionReturnValue, agentToStep, getActivePathsAndStatus, getResultActivePaths, getStepResult, getSuspendedPaths, isAgent, isConditionalKey, isErrorEvent, isFinalState, isLimboState, isTransitionEvent, isVariableReference, isWorkflow, mergeChildValue, recursivelyCheckForFinalState, resolveVariables, updateStepInHierarchy, workflowToStep } from './chunk-6YY6MN2Z.js';
12
12
  export { InstrumentClass, OTLPTraceExporter as OTLPStorageExporter, Telemetry, hasActiveTelemetry, withSpan } from './chunk-KWYJUFY3.js';
13
- import { Tool } from './chunk-JSUPD5IG.js';
14
- export { checkEvalStorageFields, createMastraProxy, createTool, deepMerge, delay, ensureAllMessagesAreCoreMessages, ensureToolProperties, isVercelTool, isZodType, jsonSchemaPropertiesToTSTypes, jsonSchemaToModel, makeCoreTool, maskStreamTags, resolveSerializedZodOutput } from './chunk-JSUPD5IG.js';
13
+ import { Tool } from './chunk-ZCJJ6XOH.js';
14
+ export { checkEvalStorageFields, createMastraProxy, createTool, deepMerge, delay, ensureAllMessagesAreCoreMessages, ensureToolProperties, isVercelTool, isZodType, makeCoreTool, maskStreamTags, resolveSerializedZodOutput } from './chunk-ZCJJ6XOH.js';
15
15
  import { MastraDeployer } from './chunk-5TFGORLG.js';
16
16
  import { MastraBase } from './chunk-CLJQYXNM.js';
17
17
  import { createLogger } from './chunk-2BVZNKLX.js';
@@ -1,14 +1,14 @@
1
1
  'use strict';
2
2
 
3
- var chunkMAWT75XY_cjs = require('../chunk-MAWT75XY.cjs');
3
+ var chunkB7N24G5E_cjs = require('../chunk-B7N24G5E.cjs');
4
4
 
5
5
 
6
6
 
7
7
  Object.defineProperty(exports, "Integration", {
8
8
  enumerable: true,
9
- get: function () { return chunkMAWT75XY_cjs.Integration; }
9
+ get: function () { return chunkB7N24G5E_cjs.Integration; }
10
10
  });
11
11
  Object.defineProperty(exports, "OpenAPIToolset", {
12
12
  enumerable: true,
13
- get: function () { return chunkMAWT75XY_cjs.OpenAPIToolset; }
13
+ get: function () { return chunkB7N24G5E_cjs.OpenAPIToolset; }
14
14
  });
@@ -1,5 +1,5 @@
1
1
  import '../base-BihKcqDY.cjs';
2
- import { K as Workflow, C as ToolAction } from '../base-DI6ChaUK.cjs';
2
+ import { K as Workflow, C as ToolAction } from '../base-BZxFAZ3-.cjs';
3
3
  import '@opentelemetry/api';
4
4
  import '../index-CquI0inB.cjs';
5
5
  import 'stream';
@@ -1,5 +1,5 @@
1
1
  import '../base-DT2poiVK.js';
2
- import { K as Workflow, C as ToolAction } from '../base-bWFiU8RL.js';
2
+ import { K as Workflow, C as ToolAction } from '../base-uXj2cuRo.js';
3
3
  import '@opentelemetry/api';
4
4
  import '../index-CquI0inB.js';
5
5
  import 'stream';
@@ -1 +1 @@
1
- export { Integration, OpenAPIToolset } from '../chunk-SHDPMWGJ.js';
1
+ export { Integration, OpenAPIToolset } from '../chunk-IBKW4TJU.js';
@@ -1,7 +1,7 @@
1
1
  import 'ai';
2
2
  import 'json-schema';
3
3
  import 'zod';
4
- export { a1 as BaseStructuredOutputType, X as CoreAssistantMessage, Q as CoreMessage, U as CoreSystemMessage, _ as CoreToolMessage, Y as CoreUserMessage, ab as DefaultLLMStreamObjectOptions, aa as DefaultLLMStreamOptions, a9 as DefaultLLMTextObjectOptions, a8 as DefaultLLMTextOptions, a0 as EmbedManyResult, $ as EmbedResult, a5 as GenerateReturn, af as LLMInnerStreamOptions, ag as LLMStreamObjectOptions, ae as LLMStreamOptions, ad as LLMTextObjectOptions, ac as LLMTextOptions, O as LanguageModel, a7 as OutputType, a6 as StreamReturn, a4 as StructuredOutput, a3 as StructuredOutputArrayItem, a2 as StructuredOutputType, ah as createMockModel } from '../base-DI6ChaUK.cjs';
4
+ export { a1 as BaseStructuredOutputType, X as CoreAssistantMessage, Q as CoreMessage, U as CoreSystemMessage, _ as CoreToolMessage, Y as CoreUserMessage, ab as DefaultLLMStreamObjectOptions, aa as DefaultLLMStreamOptions, a9 as DefaultLLMTextObjectOptions, a8 as DefaultLLMTextOptions, a0 as EmbedManyResult, $ as EmbedResult, a5 as GenerateReturn, af as LLMInnerStreamOptions, ag as LLMStreamObjectOptions, ae as LLMStreamOptions, ad as LLMTextObjectOptions, ac as LLMTextOptions, O as LanguageModel, a7 as OutputType, a6 as StreamReturn, a4 as StructuredOutput, a3 as StructuredOutputArrayItem, a2 as StructuredOutputType, ah as createMockModel } from '../base-BZxFAZ3-.cjs';
5
5
  import '../index-CquI0inB.cjs';
6
6
  import '../runtime-context/index.cjs';
7
7
  import '../base-BihKcqDY.cjs';
@@ -1,7 +1,7 @@
1
1
  import 'ai';
2
2
  import 'json-schema';
3
3
  import 'zod';
4
- export { a1 as BaseStructuredOutputType, X as CoreAssistantMessage, Q as CoreMessage, U as CoreSystemMessage, _ as CoreToolMessage, Y as CoreUserMessage, ab as DefaultLLMStreamObjectOptions, aa as DefaultLLMStreamOptions, a9 as DefaultLLMTextObjectOptions, a8 as DefaultLLMTextOptions, a0 as EmbedManyResult, $ as EmbedResult, a5 as GenerateReturn, af as LLMInnerStreamOptions, ag as LLMStreamObjectOptions, ae as LLMStreamOptions, ad as LLMTextObjectOptions, ac as LLMTextOptions, O as LanguageModel, a7 as OutputType, a6 as StreamReturn, a4 as StructuredOutput, a3 as StructuredOutputArrayItem, a2 as StructuredOutputType, ah as createMockModel } from '../base-bWFiU8RL.js';
4
+ export { a1 as BaseStructuredOutputType, X as CoreAssistantMessage, Q as CoreMessage, U as CoreSystemMessage, _ as CoreToolMessage, Y as CoreUserMessage, ab as DefaultLLMStreamObjectOptions, aa as DefaultLLMStreamOptions, a9 as DefaultLLMTextObjectOptions, a8 as DefaultLLMTextOptions, a0 as EmbedManyResult, $ as EmbedResult, a5 as GenerateReturn, af as LLMInnerStreamOptions, ag as LLMStreamObjectOptions, ae as LLMStreamOptions, ad as LLMTextObjectOptions, ac as LLMTextOptions, O as LanguageModel, a7 as OutputType, a6 as StreamReturn, a4 as StructuredOutput, a3 as StructuredOutputArrayItem, a2 as StructuredOutputType, ah as createMockModel } from '../base-uXj2cuRo.js';
5
5
  import '../index-CquI0inB.js';
6
6
  import '../runtime-context/index.js';
7
7
  import '../base-DT2poiVK.js';
@@ -1,10 +1,10 @@
1
1
  'use strict';
2
2
 
3
- var chunk33XQ5DGU_cjs = require('../chunk-33XQ5DGU.cjs');
3
+ var chunkOPUU4S32_cjs = require('../chunk-OPUU4S32.cjs');
4
4
 
5
5
 
6
6
 
7
7
  Object.defineProperty(exports, "Mastra", {
8
8
  enumerable: true,
9
- get: function () { return chunk33XQ5DGU_cjs.Mastra; }
9
+ get: function () { return chunkOPUU4S32_cjs.Mastra; }
10
10
  });
@@ -1,4 +1,4 @@
1
- export { ai as Config, a as Mastra } from '../base-DI6ChaUK.cjs';
1
+ export { ai as Config, a as Mastra } from '../base-BZxFAZ3-.cjs';
2
2
  import '../index-CquI0inB.cjs';
3
3
  import '../vector/index.cjs';
4
4
  import '../base-BihKcqDY.cjs';
@@ -1,4 +1,4 @@
1
- export { ai as Config, a as Mastra } from '../base-bWFiU8RL.js';
1
+ export { ai as Config, a as Mastra } from '../base-uXj2cuRo.js';
2
2
  import '../index-CquI0inB.js';
3
3
  import '../vector/index.js';
4
4
  import '../base-DT2poiVK.js';
@@ -1 +1 @@
1
- export { Mastra } from '../chunk-KYULILA6.js';
1
+ export { Mastra } from '../chunk-Z4MZ3ZUM.js';
@@ -1,18 +1,18 @@
1
1
  'use strict';
2
2
 
3
- var chunkVI3IQINW_cjs = require('../chunk-VI3IQINW.cjs');
3
+ var chunkRSPHEENE_cjs = require('../chunk-RSPHEENE.cjs');
4
4
 
5
5
 
6
6
 
7
7
  Object.defineProperty(exports, "MastraMemory", {
8
8
  enumerable: true,
9
- get: function () { return chunkVI3IQINW_cjs.MastraMemory; }
9
+ get: function () { return chunkRSPHEENE_cjs.MastraMemory; }
10
10
  });
11
11
  Object.defineProperty(exports, "MemoryProcessor", {
12
12
  enumerable: true,
13
- get: function () { return chunkVI3IQINW_cjs.MemoryProcessor; }
13
+ get: function () { return chunkRSPHEENE_cjs.MemoryProcessor; }
14
14
  });
15
15
  Object.defineProperty(exports, "memoryDefaultOptions", {
16
16
  enumerable: true,
17
- get: function () { return chunkVI3IQINW_cjs.memoryDefaultOptions; }
17
+ get: function () { return chunkRSPHEENE_cjs.memoryDefaultOptions; }
18
18
  });
@@ -1,4 +1,4 @@
1
- export { G as MastraMemory, ak as MemoryConfig, an as MemoryProcessor, am as MemoryProcessorOpts, aj as MessageResponse, d as MessageType, al as SharedMemoryConfig, c as StorageThreadType, ao as memoryDefaultOptions } from '../base-DI6ChaUK.cjs';
1
+ export { G as MastraMemory, ak as MemoryConfig, an as MemoryProcessor, am as MemoryProcessorOpts, aj as MessageResponse, d as MessageType, al as SharedMemoryConfig, c as StorageThreadType, ao as memoryDefaultOptions } from '../base-BZxFAZ3-.cjs';
2
2
  export { Message as AiMessageType } from 'ai';
3
3
  import '../base-BihKcqDY.cjs';
4
4
  import '@opentelemetry/api';
@@ -1,4 +1,4 @@
1
- export { G as MastraMemory, ak as MemoryConfig, an as MemoryProcessor, am as MemoryProcessorOpts, aj as MessageResponse, d as MessageType, al as SharedMemoryConfig, c as StorageThreadType, ao as memoryDefaultOptions } from '../base-bWFiU8RL.js';
1
+ export { G as MastraMemory, ak as MemoryConfig, an as MemoryProcessor, am as MemoryProcessorOpts, aj as MessageResponse, d as MessageType, al as SharedMemoryConfig, c as StorageThreadType, ao as memoryDefaultOptions } from '../base-uXj2cuRo.js';
2
2
  export { Message as AiMessageType } from 'ai';
3
3
  import '../base-DT2poiVK.js';
4
4
  import '@opentelemetry/api';
@@ -1 +1 @@
1
- export { MastraMemory, MemoryProcessor, memoryDefaultOptions } from '../chunk-INXNZ5VE.js';
1
+ export { MastraMemory, MemoryProcessor, memoryDefaultOptions } from '../chunk-Z3OKCJ62.js';
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var chunk7PRLYMXV_cjs = require('../chunk-7PRLYMXV.cjs');
4
- var chunk7JRVDC7F_cjs = require('../chunk-7JRVDC7F.cjs');
3
+ var chunkVXUCE4GF_cjs = require('../chunk-VXUCE4GF.cjs');
4
+ var chunkD2Y3ET63_cjs = require('../chunk-D2Y3ET63.cjs');
5
5
  var chunkD63P5O4Q_cjs = require('../chunk-D63P5O4Q.cjs');
6
6
  var chunkO7IW545H_cjs = require('../chunk-O7IW545H.cjs');
7
7
  var zod = require('zod');
@@ -17,7 +17,7 @@ var AgentNetwork = class extends chunkD63P5O4Q_cjs.MastraBase {
17
17
  this.#instructions = config.instructions;
18
18
  this.#agents = config.agents;
19
19
  this.#model = config.model;
20
- this.#routingAgent = new chunk7PRLYMXV_cjs.Agent({
20
+ this.#routingAgent = new chunkVXUCE4GF_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 chunkD63P5O4Q_cjs.MastraBase {
29
29
  }
30
30
  getTools() {
31
31
  return {
32
- transmit: chunk7JRVDC7F_cjs.createTool({
32
+ transmit: chunkD2Y3ET63_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,4 +1,4 @@
1
- export { b3 as AgentNetwork, b4 as AgentNetworkConfig } from '../base-DI6ChaUK.cjs';
1
+ export { b3 as AgentNetwork, b4 as AgentNetworkConfig } from '../base-BZxFAZ3-.cjs';
2
2
  import 'ai';
3
3
  import '../base-BihKcqDY.cjs';
4
4
  import '@opentelemetry/api';
@@ -1,4 +1,4 @@
1
- export { b3 as AgentNetwork, b4 as AgentNetworkConfig } from '../base-bWFiU8RL.js';
1
+ export { b3 as AgentNetwork, b4 as AgentNetworkConfig } from '../base-uXj2cuRo.js';
2
2
  import 'ai';
3
3
  import '../base-DT2poiVK.js';
4
4
  import '@opentelemetry/api';
@@ -1,5 +1,5 @@
1
- import { Agent } from '../chunk-H2UWWO4L.js';
2
- import { createTool } from '../chunk-JSUPD5IG.js';
1
+ import { Agent } from '../chunk-6YY6MN2Z.js';
2
+ import { createTool } from '../chunk-ZCJJ6XOH.js';
3
3
  import { MastraBase } from '../chunk-CLJQYXNM.js';
4
4
  import { RegisteredLogger } from '../chunk-2BVZNKLX.js';
5
5
  import { z } from 'zod';
@@ -1,18 +1,18 @@
1
1
  'use strict';
2
2
 
3
- var chunkZWALP7T2_cjs = require('../chunk-ZWALP7T2.cjs');
3
+ var chunkEIMOKGTI_cjs = require('../chunk-EIMOKGTI.cjs');
4
4
 
5
5
 
6
6
 
7
7
  Object.defineProperty(exports, "CohereRelevanceScorer", {
8
8
  enumerable: true,
9
- get: function () { return chunkZWALP7T2_cjs.CohereRelevanceScorer; }
9
+ get: function () { return chunkEIMOKGTI_cjs.CohereRelevanceScorer; }
10
10
  });
11
11
  Object.defineProperty(exports, "MastraAgentRelevanceScorer", {
12
12
  enumerable: true,
13
- get: function () { return chunkZWALP7T2_cjs.MastraAgentRelevanceScorer; }
13
+ get: function () { return chunkEIMOKGTI_cjs.MastraAgentRelevanceScorer; }
14
14
  });
15
15
  Object.defineProperty(exports, "createSimilarityPrompt", {
16
16
  enumerable: true,
17
- get: function () { return chunkZWALP7T2_cjs.createSimilarityPrompt; }
17
+ get: function () { return chunkEIMOKGTI_cjs.createSimilarityPrompt; }
18
18
  });
@@ -1,5 +1,5 @@
1
1
  import '../base-BihKcqDY.cjs';
2
- import { b0 as MastraLanguageModel } from '../base-DI6ChaUK.cjs';
2
+ import { b0 as MastraLanguageModel } from '../base-BZxFAZ3-.cjs';
3
3
  import '@opentelemetry/api';
4
4
  import '../index-CquI0inB.cjs';
5
5
  import 'stream';
@@ -1,5 +1,5 @@
1
1
  import '../base-DT2poiVK.js';
2
- import { b0 as MastraLanguageModel } from '../base-bWFiU8RL.js';
2
+ import { b0 as MastraLanguageModel } from '../base-uXj2cuRo.js';
3
3
  import '@opentelemetry/api';
4
4
  import '../index-CquI0inB.js';
5
5
  import 'stream';
@@ -1 +1 @@
1
- export { CohereRelevanceScorer, MastraAgentRelevanceScorer, createSimilarityPrompt } from '../chunk-FA7FWCKH.js';
1
+ export { CohereRelevanceScorer, MastraAgentRelevanceScorer, createSimilarityPrompt } from '../chunk-VQ7AM4ZV.js';
@@ -1,6 +1,6 @@
1
1
  import { Handler, MiddlewareHandler } from 'hono';
2
2
  import { DescribeRouteOptions } from 'hono-openapi';
3
- import { M as Methods, a as Mastra, A as ApiRoute } from '../base-DI6ChaUK.cjs';
3
+ import { M as Methods, a as Mastra, A as ApiRoute } from '../base-BZxFAZ3-.cjs';
4
4
  import 'ai';
5
5
  import '../base-BihKcqDY.cjs';
6
6
  import '@opentelemetry/api';
@@ -1,6 +1,6 @@
1
1
  import { Handler, MiddlewareHandler } from 'hono';
2
2
  import { DescribeRouteOptions } from 'hono-openapi';
3
- import { M as Methods, a as Mastra, A as ApiRoute } from '../base-bWFiU8RL.js';
3
+ import { M as Methods, a as Mastra, A as ApiRoute } from '../base-uXj2cuRo.js';
4
4
  import 'ai';
5
5
  import '../base-DT2poiVK.js';
6
6
  import '@opentelemetry/api';