@mastra/core 0.10.2-alpha.7 → 0.10.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.
- package/dist/agent/index.cjs +4 -4
- package/dist/agent/index.d.cts +1 -1
- package/dist/agent/index.d.ts +1 -1
- package/dist/agent/index.js +2 -2
- package/dist/{base-BVo_KTj_.d.ts → base-Bdo-CPMn.d.ts} +3 -2
- package/dist/{base-CCeahyG8.d.cts → base-Dmg7H-Iz.d.cts} +3 -2
- package/dist/chunk-32C7JDIZ.js +1 -0
- package/dist/{chunk-6NJLWXMZ.js → chunk-4TEWSQS5.js} +1 -1
- package/dist/{chunk-GNJ7CAHY.js → chunk-4UWPFBC6.js} +1 -1
- package/dist/chunk-4Z3OU5RY.cjs +31 -0
- package/dist/{chunk-LKO4XMRH.js → chunk-5EB62G6T.js} +2 -2
- package/dist/{chunk-MWU2UKZI.js → chunk-677GIYFF.js} +4 -1
- package/dist/{chunk-2AFAKGJ4.js → chunk-B4TMM6NT.js} +6 -5
- package/dist/{chunk-YZB2YQ63.cjs → chunk-B7SQOKEC.cjs} +2 -2
- package/dist/chunk-C4LMN2IR.js +27 -0
- package/dist/{chunk-II7UBNGM.cjs → chunk-ERUGEZPR.cjs} +2 -2
- package/dist/{chunk-DXK4HYTL.js → chunk-FGBS7VRU.js} +1 -1
- package/dist/{chunk-PBHXIWAK.cjs → chunk-FHLDRRKJ.cjs} +6 -3
- package/dist/{chunk-P5XIIDTT.cjs → chunk-IBIGJYTD.cjs} +4 -4
- package/dist/{chunk-24D3CMWO.js → chunk-K7BZ4VXX.js} +2 -2
- package/dist/{chunk-SMPHOXU3.cjs → chunk-LMTSGD2E.cjs} +4 -4
- package/dist/{chunk-IJWOVA22.cjs → chunk-MVXVUMLA.cjs} +18 -17
- package/dist/chunk-QFTBW7ZZ.cjs +2 -0
- package/dist/{chunk-PNPMKRS2.cjs → chunk-VBSKHNCY.cjs} +5 -5
- package/dist/{chunk-TN3TNMXO.cjs → chunk-WWLMZIHW.cjs} +6 -31
- package/dist/{chunk-26WUL725.js → chunk-Y5BGCPNZ.js} +2 -24
- package/dist/error/index.cjs +75 -0
- package/dist/error/index.d.cts +80 -0
- package/dist/error/index.d.ts +80 -0
- package/dist/error/index.js +70 -0
- package/dist/eval/index.d.cts +1 -1
- package/dist/eval/index.d.ts +1 -1
- package/dist/index.cjs +46 -49
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +10 -9
- package/dist/integration/index.cjs +3 -3
- package/dist/integration/index.d.cts +1 -1
- package/dist/integration/index.d.ts +1 -1
- package/dist/integration/index.js +1 -1
- package/dist/llm/index.d.cts +1 -1
- package/dist/llm/index.d.ts +1 -1
- package/dist/mastra/index.d.cts +1 -1
- package/dist/mastra/index.d.ts +1 -1
- package/dist/mcp/index.d.cts +1 -1
- package/dist/mcp/index.d.ts +1 -1
- package/dist/memory/index.cjs +4 -4
- package/dist/memory/index.d.cts +1 -1
- package/dist/memory/index.d.ts +1 -1
- package/dist/memory/index.js +1 -1
- package/dist/network/index.cjs +4 -4
- package/dist/network/index.d.cts +1 -1
- package/dist/network/index.d.ts +1 -1
- package/dist/network/index.js +2 -2
- package/dist/relevance/index.cjs +4 -4
- package/dist/relevance/index.d.cts +1 -1
- package/dist/relevance/index.d.ts +1 -1
- package/dist/relevance/index.js +1 -1
- package/dist/server/index.d.cts +2 -2
- package/dist/server/index.d.ts +2 -2
- package/dist/storage/index.cjs +2 -2
- package/dist/storage/index.d.cts +2 -2
- package/dist/storage/index.d.ts +2 -2
- package/dist/storage/index.js +1 -1
- package/dist/telemetry/index.d.cts +1 -1
- package/dist/telemetry/index.d.ts +1 -1
- package/dist/tools/index.cjs +4 -4
- package/dist/tools/index.d.cts +18 -7
- package/dist/tools/index.d.ts +18 -7
- package/dist/tools/index.js +1 -1
- package/dist/utils.cjs +14 -18
- package/dist/utils.d.cts +4 -10
- package/dist/utils.d.ts +4 -10
- package/dist/utils.js +1 -1
- package/dist/voice/index.d.cts +1 -1
- package/dist/voice/index.d.ts +1 -1
- package/dist/workflows/index.cjs +9 -9
- package/dist/workflows/index.d.cts +2 -2
- package/dist/workflows/index.d.ts +2 -2
- package/dist/workflows/index.js +1 -1
- package/dist/workflows/legacy/index.cjs +22 -22
- package/dist/workflows/legacy/index.d.cts +2 -2
- package/dist/workflows/legacy/index.d.ts +2 -2
- package/dist/workflows/legacy/index.js +1 -1
- package/error.d.ts +1 -0
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -2,23 +2,24 @@
|
|
|
2
2
|
|
|
3
3
|
var chunkHZ7ME4LD_cjs = require('./chunk-HZ7ME4LD.cjs');
|
|
4
4
|
var chunkTAHSAZUN_cjs = require('./chunk-TAHSAZUN.cjs');
|
|
5
|
-
var
|
|
6
|
-
var
|
|
5
|
+
var chunkIBIGJYTD_cjs = require('./chunk-IBIGJYTD.cjs');
|
|
6
|
+
var chunkERUGEZPR_cjs = require('./chunk-ERUGEZPR.cjs');
|
|
7
7
|
var chunkX6VHQCYN_cjs = require('./chunk-X6VHQCYN.cjs');
|
|
8
8
|
var chunk3C6V2FEP_cjs = require('./chunk-3C6V2FEP.cjs');
|
|
9
|
-
var
|
|
9
|
+
var chunkB7SQOKEC_cjs = require('./chunk-B7SQOKEC.cjs');
|
|
10
10
|
var chunkMUNFCOMB_cjs = require('./chunk-MUNFCOMB.cjs');
|
|
11
|
+
var chunkLMTSGD2E_cjs = require('./chunk-LMTSGD2E.cjs');
|
|
11
12
|
var chunkSH2C4VTJ_cjs = require('./chunk-SH2C4VTJ.cjs');
|
|
12
|
-
var
|
|
13
|
-
var chunkIJWOVA22_cjs = require('./chunk-IJWOVA22.cjs');
|
|
13
|
+
var chunkMVXVUMLA_cjs = require('./chunk-MVXVUMLA.cjs');
|
|
14
14
|
var chunkST5RMVLG_cjs = require('./chunk-ST5RMVLG.cjs');
|
|
15
15
|
var chunkTICDQWVJ_cjs = require('./chunk-TICDQWVJ.cjs');
|
|
16
|
-
var
|
|
16
|
+
var chunkWWLMZIHW_cjs = require('./chunk-WWLMZIHW.cjs');
|
|
17
|
+
var chunk4Z3OU5RY_cjs = require('./chunk-4Z3OU5RY.cjs');
|
|
17
18
|
var chunkPKYG5CWB_cjs = require('./chunk-PKYG5CWB.cjs');
|
|
18
19
|
var chunkVHZPWE5L_cjs = require('./chunk-VHZPWE5L.cjs');
|
|
19
20
|
|
|
20
21
|
// src/agent/index.warning.ts
|
|
21
|
-
var Agent2 = class extends
|
|
22
|
+
var Agent2 = class extends chunkMVXVUMLA_cjs.Agent {
|
|
22
23
|
constructor(config) {
|
|
23
24
|
super(config);
|
|
24
25
|
this.logger.warn('Please import "Agent from "@mastra/core/agent" instead of "@mastra/core"');
|
|
@@ -52,7 +53,7 @@ var MastraStorage2 = class extends chunkX6VHQCYN_cjs.MastraStorage {
|
|
|
52
53
|
};
|
|
53
54
|
|
|
54
55
|
// src/integration/integration.warning.ts
|
|
55
|
-
var Integration2 = class extends
|
|
56
|
+
var Integration2 = class extends chunkB7SQOKEC_cjs.Integration {
|
|
56
57
|
constructor() {
|
|
57
58
|
super();
|
|
58
59
|
console.warn('Please import "Integration" from "@mastra/core/integration" instead of "@mastra/core"');
|
|
@@ -60,7 +61,7 @@ var Integration2 = class extends chunkYZB2YQ63_cjs.Integration {
|
|
|
60
61
|
};
|
|
61
62
|
|
|
62
63
|
// src/integration/openapi-toolset.warning.ts
|
|
63
|
-
var OpenAPIToolset2 = class extends
|
|
64
|
+
var OpenAPIToolset2 = class extends chunkB7SQOKEC_cjs.OpenAPIToolset {
|
|
64
65
|
constructor() {
|
|
65
66
|
super();
|
|
66
67
|
console.warn('Please import "OpenAPIToolset" from "@mastra/core/integration" instead of "@mastra/core"');
|
|
@@ -68,7 +69,7 @@ var OpenAPIToolset2 = class extends chunkYZB2YQ63_cjs.OpenAPIToolset {
|
|
|
68
69
|
};
|
|
69
70
|
|
|
70
71
|
// src/memory/index.warning.ts
|
|
71
|
-
var MastraMemory2 = class extends
|
|
72
|
+
var MastraMemory2 = class extends chunkLMTSGD2E_cjs.MastraMemory {
|
|
72
73
|
constructor(_arg) {
|
|
73
74
|
super({ name: `Deprecated memory` });
|
|
74
75
|
this.logger.warn('Please import "MastraMemory" from "@mastra/core/memory" instead of "@mastra/core"');
|
|
@@ -76,7 +77,7 @@ var MastraMemory2 = class extends chunkSMPHOXU3_cjs.MastraMemory {
|
|
|
76
77
|
};
|
|
77
78
|
|
|
78
79
|
// src/tools/index.warning.ts
|
|
79
|
-
var Tool2 = class extends
|
|
80
|
+
var Tool2 = class extends chunk4Z3OU5RY_cjs.Tool {
|
|
80
81
|
constructor(opts) {
|
|
81
82
|
super(opts);
|
|
82
83
|
console.warn('Please import "Tool" from "@mastra/core/tools" instead of "@mastra/core"');
|
|
@@ -100,7 +101,7 @@ var MastraVector2 = class extends chunkTAHSAZUN_cjs.MastraVector {
|
|
|
100
101
|
};
|
|
101
102
|
|
|
102
103
|
// src/workflows/workflow.warning.ts
|
|
103
|
-
var Workflow2 = class extends
|
|
104
|
+
var Workflow2 = class extends chunkIBIGJYTD_cjs.Workflow {
|
|
104
105
|
constructor(args) {
|
|
105
106
|
super(args);
|
|
106
107
|
this.logger.warn('Please import "Workflow" from "@mastra/core/workflows" instead of "@mastra/core"');
|
|
@@ -109,43 +110,43 @@ var Workflow2 = class extends chunkP5XIIDTT_cjs.Workflow {
|
|
|
109
110
|
|
|
110
111
|
Object.defineProperty(exports, "DefaultExecutionEngine", {
|
|
111
112
|
enumerable: true,
|
|
112
|
-
get: function () { return
|
|
113
|
+
get: function () { return chunkIBIGJYTD_cjs.DefaultExecutionEngine; }
|
|
113
114
|
});
|
|
114
115
|
Object.defineProperty(exports, "ExecutionEngine", {
|
|
115
116
|
enumerable: true,
|
|
116
|
-
get: function () { return
|
|
117
|
+
get: function () { return chunkIBIGJYTD_cjs.ExecutionEngine; }
|
|
117
118
|
});
|
|
118
119
|
Object.defineProperty(exports, "Run", {
|
|
119
120
|
enumerable: true,
|
|
120
|
-
get: function () { return
|
|
121
|
+
get: function () { return chunkIBIGJYTD_cjs.Run; }
|
|
121
122
|
});
|
|
122
123
|
Object.defineProperty(exports, "cloneStep", {
|
|
123
124
|
enumerable: true,
|
|
124
|
-
get: function () { return
|
|
125
|
+
get: function () { return chunkIBIGJYTD_cjs.cloneStep; }
|
|
125
126
|
});
|
|
126
127
|
Object.defineProperty(exports, "cloneWorkflow", {
|
|
127
128
|
enumerable: true,
|
|
128
|
-
get: function () { return
|
|
129
|
+
get: function () { return chunkIBIGJYTD_cjs.cloneWorkflow; }
|
|
129
130
|
});
|
|
130
131
|
Object.defineProperty(exports, "createStep", {
|
|
131
132
|
enumerable: true,
|
|
132
|
-
get: function () { return
|
|
133
|
+
get: function () { return chunkIBIGJYTD_cjs.createStep; }
|
|
133
134
|
});
|
|
134
135
|
Object.defineProperty(exports, "createWorkflow", {
|
|
135
136
|
enumerable: true,
|
|
136
|
-
get: function () { return
|
|
137
|
+
get: function () { return chunkIBIGJYTD_cjs.createWorkflow; }
|
|
137
138
|
});
|
|
138
139
|
Object.defineProperty(exports, "CohereRelevanceScorer", {
|
|
139
140
|
enumerable: true,
|
|
140
|
-
get: function () { return
|
|
141
|
+
get: function () { return chunkERUGEZPR_cjs.CohereRelevanceScorer; }
|
|
141
142
|
});
|
|
142
143
|
Object.defineProperty(exports, "MastraAgentRelevanceScorer", {
|
|
143
144
|
enumerable: true,
|
|
144
|
-
get: function () { return
|
|
145
|
+
get: function () { return chunkERUGEZPR_cjs.MastraAgentRelevanceScorer; }
|
|
145
146
|
});
|
|
146
147
|
Object.defineProperty(exports, "createSimilarityPrompt", {
|
|
147
148
|
enumerable: true,
|
|
148
|
-
get: function () { return
|
|
149
|
+
get: function () { return chunkERUGEZPR_cjs.createSimilarityPrompt; }
|
|
149
150
|
});
|
|
150
151
|
Object.defineProperty(exports, "Metric", {
|
|
151
152
|
enumerable: true,
|
|
@@ -159,17 +160,17 @@ Object.defineProperty(exports, "createMockModel", {
|
|
|
159
160
|
enumerable: true,
|
|
160
161
|
get: function () { return chunkMUNFCOMB_cjs.createMockModel; }
|
|
161
162
|
});
|
|
162
|
-
Object.defineProperty(exports, "Mastra", {
|
|
163
|
-
enumerable: true,
|
|
164
|
-
get: function () { return chunkSH2C4VTJ_cjs.Mastra; }
|
|
165
|
-
});
|
|
166
163
|
Object.defineProperty(exports, "MemoryProcessor", {
|
|
167
164
|
enumerable: true,
|
|
168
|
-
get: function () { return
|
|
165
|
+
get: function () { return chunkLMTSGD2E_cjs.MemoryProcessor; }
|
|
169
166
|
});
|
|
170
167
|
Object.defineProperty(exports, "memoryDefaultOptions", {
|
|
171
168
|
enumerable: true,
|
|
172
|
-
get: function () { return
|
|
169
|
+
get: function () { return chunkLMTSGD2E_cjs.memoryDefaultOptions; }
|
|
170
|
+
});
|
|
171
|
+
Object.defineProperty(exports, "Mastra", {
|
|
172
|
+
enumerable: true,
|
|
173
|
+
get: function () { return chunkSH2C4VTJ_cjs.Mastra; }
|
|
173
174
|
});
|
|
174
175
|
Object.defineProperty(exports, "AvailableHooks", {
|
|
175
176
|
enumerable: true,
|
|
@@ -209,63 +210,59 @@ Object.defineProperty(exports, "withSpan", {
|
|
|
209
210
|
});
|
|
210
211
|
Object.defineProperty(exports, "checkEvalStorageFields", {
|
|
211
212
|
enumerable: true,
|
|
212
|
-
get: function () { return
|
|
213
|
+
get: function () { return chunkWWLMZIHW_cjs.checkEvalStorageFields; }
|
|
213
214
|
});
|
|
214
215
|
Object.defineProperty(exports, "createMastraProxy", {
|
|
215
216
|
enumerable: true,
|
|
216
|
-
get: function () { return
|
|
217
|
-
});
|
|
218
|
-
Object.defineProperty(exports, "createTool", {
|
|
219
|
-
enumerable: true,
|
|
220
|
-
get: function () { return chunkTN3TNMXO_cjs.createTool; }
|
|
217
|
+
get: function () { return chunkWWLMZIHW_cjs.createMastraProxy; }
|
|
221
218
|
});
|
|
222
219
|
Object.defineProperty(exports, "deepMerge", {
|
|
223
220
|
enumerable: true,
|
|
224
|
-
get: function () { return
|
|
221
|
+
get: function () { return chunkWWLMZIHW_cjs.deepMerge; }
|
|
225
222
|
});
|
|
226
223
|
Object.defineProperty(exports, "delay", {
|
|
227
224
|
enumerable: true,
|
|
228
|
-
get: function () { return
|
|
225
|
+
get: function () { return chunkWWLMZIHW_cjs.delay; }
|
|
229
226
|
});
|
|
230
227
|
Object.defineProperty(exports, "ensureToolProperties", {
|
|
231
228
|
enumerable: true,
|
|
232
|
-
get: function () { return
|
|
229
|
+
get: function () { return chunkWWLMZIHW_cjs.ensureToolProperties; }
|
|
233
230
|
});
|
|
234
231
|
Object.defineProperty(exports, "isCoreMessage", {
|
|
235
232
|
enumerable: true,
|
|
236
|
-
get: function () { return
|
|
233
|
+
get: function () { return chunkWWLMZIHW_cjs.isCoreMessage; }
|
|
237
234
|
});
|
|
238
235
|
Object.defineProperty(exports, "isUiMessage", {
|
|
239
236
|
enumerable: true,
|
|
240
|
-
get: function () { return
|
|
241
|
-
});
|
|
242
|
-
Object.defineProperty(exports, "isVercelTool", {
|
|
243
|
-
enumerable: true,
|
|
244
|
-
get: function () { return chunkTN3TNMXO_cjs.isVercelTool; }
|
|
237
|
+
get: function () { return chunkWWLMZIHW_cjs.isUiMessage; }
|
|
245
238
|
});
|
|
246
239
|
Object.defineProperty(exports, "isZodType", {
|
|
247
240
|
enumerable: true,
|
|
248
|
-
get: function () { return
|
|
241
|
+
get: function () { return chunkWWLMZIHW_cjs.isZodType; }
|
|
249
242
|
});
|
|
250
243
|
Object.defineProperty(exports, "makeCoreTool", {
|
|
251
244
|
enumerable: true,
|
|
252
|
-
get: function () { return
|
|
245
|
+
get: function () { return chunkWWLMZIHW_cjs.makeCoreTool; }
|
|
253
246
|
});
|
|
254
247
|
Object.defineProperty(exports, "maskStreamTags", {
|
|
255
248
|
enumerable: true,
|
|
256
|
-
get: function () { return
|
|
249
|
+
get: function () { return chunkWWLMZIHW_cjs.maskStreamTags; }
|
|
257
250
|
});
|
|
258
251
|
Object.defineProperty(exports, "parseFieldKey", {
|
|
259
252
|
enumerable: true,
|
|
260
|
-
get: function () { return
|
|
253
|
+
get: function () { return chunkWWLMZIHW_cjs.parseFieldKey; }
|
|
261
254
|
});
|
|
262
255
|
Object.defineProperty(exports, "parseSqlIdentifier", {
|
|
263
256
|
enumerable: true,
|
|
264
|
-
get: function () { return
|
|
257
|
+
get: function () { return chunkWWLMZIHW_cjs.parseSqlIdentifier; }
|
|
265
258
|
});
|
|
266
259
|
Object.defineProperty(exports, "resolveSerializedZodOutput", {
|
|
267
260
|
enumerable: true,
|
|
268
|
-
get: function () { return
|
|
261
|
+
get: function () { return chunkWWLMZIHW_cjs.resolveSerializedZodOutput; }
|
|
262
|
+
});
|
|
263
|
+
Object.defineProperty(exports, "createTool", {
|
|
264
|
+
enumerable: true,
|
|
265
|
+
get: function () { return chunk4Z3OU5RY_cjs.createTool; }
|
|
269
266
|
});
|
|
270
267
|
exports.Agent = Agent2;
|
|
271
268
|
exports.Integration = Integration2;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { M as Metric } from './types-Bo1uigWx.cjs';
|
|
2
2
|
export { E as EvaluationResult, a as MetricResult, T as TestInfo } from './types-Bo1uigWx.cjs';
|
|
3
|
-
import {
|
|
4
|
-
export {
|
|
3
|
+
import { c as ToolAction, A as Agent$1, ap as AgentConfig, o as MastraStorage$1, b as MastraMemory$1, ao as ToolExecutionContext, al as Tool$1, f as Step, e as Workflow$1, aq as WorkflowConfig } from './base-Dmg7H-Iz.cjs';
|
|
4
|
+
export { az as BaseStructuredOutputType, aQ as Config, au as CoreAssistantMessage, as as CoreMessage, at as CoreSystemMessage, C as CoreTool, aw as CoreToolMessage, av as CoreUserMessage, aJ as DefaultLLMStreamObjectOptions, aI as DefaultLLMStreamOptions, aH as DefaultLLMTextObjectOptions, aG as DefaultLLMTextOptions, be as DynamicMapping, ay as EmbedManyResult, ax as EmbedResult, E as EvalRow, b7 as ExecuteFunction, b6 as ExecutionEngine, b5 as ExecutionGraph, bh as ExtractSchemaFromStep, bg as ExtractSchemaType, aD as GenerateReturn, an as InternalCoreTool, aN as LLMInnerStreamOptions, aO as LLMStreamObjectOptions, aM as LLMStreamOptions, aL as LLMTextObjectOptions, aK as LLMTextOptions, ar as LanguageModel, y as LegacyWorkflowRun, x as LegacyWorkflowRuns, M as Mastra, u as MastraMessageV1, s as MastraMessageV2, aT as MemoryConfig, aW as MemoryProcessor, aV as MemoryProcessorOpts, aS as MessageResponse, aR as MessageType, aF as OutputType, bf as PathsToStringProps, b4 as Run, aZ as SerializedStep, a_ as SerializedStepFlowEntry, aU as SharedMemoryConfig, b9 as StepFailure, aY as StepFlowEntry, bc as StepResult, bb as StepRunning, b8 as StepSuccess, ba as StepSuspended, bd as StepsRecord, q as StorageColumn, t as StorageGetMessagesArg, r as StorageThreadType, bj as StreamEvent, aE as StreamReturn, aC as StructuredOutput, aB as StructuredOutputArrayItem, aA as StructuredOutputType, bi as VariableReference, V as VercelTool, bk as WatchEvent, b3 as WorkflowResult, w as WorkflowRun, bm as WorkflowRunState, v as WorkflowRuns, bl as ZodPathType, b0 as cloneStep, b2 as cloneWorkflow, aP as createMockModel, a$ as createStep, am as createTool, b1 as createWorkflow, aX as memoryDefaultOptions } from './base-Dmg7H-Iz.cjs';
|
|
5
5
|
import { M as MastraBase$1 } from './base-BY9WFI65.cjs';
|
|
6
6
|
export { O as OtelConfig, S as SamplingStrategy, T as Telemetry } from './base-BY9WFI65.cjs';
|
|
7
7
|
import { R as RegisteredLogger } from './logger-BF2Sn7JX.cjs';
|
|
@@ -12,7 +12,7 @@ export { CohereRelevanceScorer, MastraAgentRelevanceScorer, RelevanceScoreProvid
|
|
|
12
12
|
export { InstrumentClass, OTLPStorageExporter, getBaggageValues, hasActiveTelemetry, withSpan } from './telemetry/index.cjs';
|
|
13
13
|
import { z } from 'zod';
|
|
14
14
|
import { MastraTTS as MastraTTS$1, TTSConfig } from './tts/index.cjs';
|
|
15
|
-
export { TagMaskOptions, ToolOptions, checkEvalStorageFields, createMastraProxy, deepMerge, delay, ensureToolProperties, isCoreMessage, isUiMessage,
|
|
15
|
+
export { TagMaskOptions, ToolOptions, checkEvalStorageFields, createMastraProxy, deepMerge, delay, ensureToolProperties, isCoreMessage, isUiMessage, isZodType, makeCoreTool, maskStreamTags, parseFieldKey, parseSqlIdentifier, resolveSerializedZodOutput } from './utils.cjs';
|
|
16
16
|
import { MastraVector as MastraVector$1 } from './vector/index.cjs';
|
|
17
17
|
export { CreateIndexParams, DeleteIndexParams, DeleteVectorParams, DescribeIndexParams, IndexStats, QueryResult, QueryVectorParams, UpdateVectorParams, UpsertVectorParams } from './vector/index.cjs';
|
|
18
18
|
export { DefaultExecutionEngine, ExecutionContext } from './workflows/index.cjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { M as Metric } from './types-Bo1uigWx.js';
|
|
2
2
|
export { E as EvaluationResult, a as MetricResult, T as TestInfo } from './types-Bo1uigWx.js';
|
|
3
|
-
import {
|
|
4
|
-
export {
|
|
3
|
+
import { c as ToolAction, A as Agent$1, ap as AgentConfig, o as MastraStorage$1, b as MastraMemory$1, ao as ToolExecutionContext, al as Tool$1, f as Step, e as Workflow$1, aq as WorkflowConfig } from './base-Bdo-CPMn.js';
|
|
4
|
+
export { az as BaseStructuredOutputType, aQ as Config, au as CoreAssistantMessage, as as CoreMessage, at as CoreSystemMessage, C as CoreTool, aw as CoreToolMessage, av as CoreUserMessage, aJ as DefaultLLMStreamObjectOptions, aI as DefaultLLMStreamOptions, aH as DefaultLLMTextObjectOptions, aG as DefaultLLMTextOptions, be as DynamicMapping, ay as EmbedManyResult, ax as EmbedResult, E as EvalRow, b7 as ExecuteFunction, b6 as ExecutionEngine, b5 as ExecutionGraph, bh as ExtractSchemaFromStep, bg as ExtractSchemaType, aD as GenerateReturn, an as InternalCoreTool, aN as LLMInnerStreamOptions, aO as LLMStreamObjectOptions, aM as LLMStreamOptions, aL as LLMTextObjectOptions, aK as LLMTextOptions, ar as LanguageModel, y as LegacyWorkflowRun, x as LegacyWorkflowRuns, M as Mastra, u as MastraMessageV1, s as MastraMessageV2, aT as MemoryConfig, aW as MemoryProcessor, aV as MemoryProcessorOpts, aS as MessageResponse, aR as MessageType, aF as OutputType, bf as PathsToStringProps, b4 as Run, aZ as SerializedStep, a_ as SerializedStepFlowEntry, aU as SharedMemoryConfig, b9 as StepFailure, aY as StepFlowEntry, bc as StepResult, bb as StepRunning, b8 as StepSuccess, ba as StepSuspended, bd as StepsRecord, q as StorageColumn, t as StorageGetMessagesArg, r as StorageThreadType, bj as StreamEvent, aE as StreamReturn, aC as StructuredOutput, aB as StructuredOutputArrayItem, aA as StructuredOutputType, bi as VariableReference, V as VercelTool, bk as WatchEvent, b3 as WorkflowResult, w as WorkflowRun, bm as WorkflowRunState, v as WorkflowRuns, bl as ZodPathType, b0 as cloneStep, b2 as cloneWorkflow, aP as createMockModel, a$ as createStep, am as createTool, b1 as createWorkflow, aX as memoryDefaultOptions } from './base-Bdo-CPMn.js';
|
|
5
5
|
import { M as MastraBase$1 } from './base-C0yUw8BC.js';
|
|
6
6
|
export { O as OtelConfig, S as SamplingStrategy, T as Telemetry } from './base-C0yUw8BC.js';
|
|
7
7
|
import { R as RegisteredLogger } from './logger-BF2Sn7JX.js';
|
|
@@ -12,7 +12,7 @@ export { CohereRelevanceScorer, MastraAgentRelevanceScorer, RelevanceScoreProvid
|
|
|
12
12
|
export { InstrumentClass, OTLPStorageExporter, getBaggageValues, hasActiveTelemetry, withSpan } from './telemetry/index.js';
|
|
13
13
|
import { z } from 'zod';
|
|
14
14
|
import { MastraTTS as MastraTTS$1, TTSConfig } from './tts/index.js';
|
|
15
|
-
export { TagMaskOptions, ToolOptions, checkEvalStorageFields, createMastraProxy, deepMerge, delay, ensureToolProperties, isCoreMessage, isUiMessage,
|
|
15
|
+
export { TagMaskOptions, ToolOptions, checkEvalStorageFields, createMastraProxy, deepMerge, delay, ensureToolProperties, isCoreMessage, isUiMessage, isZodType, makeCoreTool, maskStreamTags, parseFieldKey, parseSqlIdentifier, resolveSerializedZodOutput } from './utils.js';
|
|
16
16
|
import { MastraVector as MastraVector$1 } from './vector/index.js';
|
|
17
17
|
export { CreateIndexParams, DeleteIndexParams, DeleteVectorParams, DescribeIndexParams, IndexStats, QueryResult, QueryVectorParams, UpdateVectorParams, UpsertVectorParams } from './vector/index.js';
|
|
18
18
|
export { DefaultExecutionEngine, ExecutionContext } from './workflows/index.js';
|
package/dist/index.js
CHANGED
|
@@ -1,20 +1,21 @@
|
|
|
1
1
|
import { MastraTTS } from './chunk-ZPOETARN.js';
|
|
2
2
|
import { MastraVector } from './chunk-PMAVDBJY.js';
|
|
3
|
-
import { Workflow } from './chunk-
|
|
4
|
-
export { DefaultExecutionEngine, ExecutionEngine, Run, cloneStep, cloneWorkflow, createStep, createWorkflow } from './chunk-
|
|
5
|
-
export { CohereRelevanceScorer, MastraAgentRelevanceScorer, createSimilarityPrompt } from './chunk-
|
|
3
|
+
import { Workflow } from './chunk-K7BZ4VXX.js';
|
|
4
|
+
export { DefaultExecutionEngine, ExecutionEngine, Run, cloneStep, cloneWorkflow, createStep, createWorkflow } from './chunk-K7BZ4VXX.js';
|
|
5
|
+
export { CohereRelevanceScorer, MastraAgentRelevanceScorer, createSimilarityPrompt } from './chunk-4TEWSQS5.js';
|
|
6
6
|
import { MastraStorage } from './chunk-7MWWPVCE.js';
|
|
7
7
|
export { Metric, evaluate } from './chunk-PK5QRKSG.js';
|
|
8
|
-
import { Integration, OpenAPIToolset } from './chunk-
|
|
8
|
+
import { Integration, OpenAPIToolset } from './chunk-4UWPFBC6.js';
|
|
9
9
|
export { createMockModel } from './chunk-HNEE7IF4.js';
|
|
10
|
+
import { MastraMemory } from './chunk-5EB62G6T.js';
|
|
11
|
+
export { MemoryProcessor, memoryDefaultOptions } from './chunk-5EB62G6T.js';
|
|
10
12
|
export { Mastra } from './chunk-TIPFGQCO.js';
|
|
11
|
-
import {
|
|
12
|
-
export { MemoryProcessor, memoryDefaultOptions } from './chunk-LKO4XMRH.js';
|
|
13
|
-
import { Agent } from './chunk-2AFAKGJ4.js';
|
|
13
|
+
import { Agent } from './chunk-B4TMM6NT.js';
|
|
14
14
|
export { AvailableHooks, executeHook, registerHook } from './chunk-BB4KXGBU.js';
|
|
15
15
|
export { InstrumentClass, OTLPTraceExporter as OTLPStorageExporter, Telemetry, getBaggageValues, hasActiveTelemetry, withSpan } from './chunk-EWDGXKOQ.js';
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
export { checkEvalStorageFields, createMastraProxy, deepMerge, delay, ensureToolProperties, isCoreMessage, isUiMessage, isZodType, makeCoreTool, maskStreamTags, parseFieldKey, parseSqlIdentifier, resolveSerializedZodOutput } from './chunk-Y5BGCPNZ.js';
|
|
17
|
+
import { Tool } from './chunk-C4LMN2IR.js';
|
|
18
|
+
export { createTool } from './chunk-C4LMN2IR.js';
|
|
18
19
|
import { MastraDeployer } from './chunk-XJCP3SLA.js';
|
|
19
20
|
import { MastraBase } from './chunk-JOCKZ2US.js';
|
|
20
21
|
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkB7SQOKEC_cjs = require('../chunk-B7SQOKEC.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "Integration", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkB7SQOKEC_cjs.Integration; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "OpenAPIToolset", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkB7SQOKEC_cjs.OpenAPIToolset; }
|
|
14
14
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Integration, OpenAPIToolset } from '../chunk-
|
|
1
|
+
export { Integration, OpenAPIToolset } from '../chunk-4UWPFBC6.js';
|
package/dist/llm/index.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import 'ai';
|
|
2
2
|
import 'json-schema';
|
|
3
3
|
import 'zod';
|
|
4
|
-
export {
|
|
4
|
+
export { az as BaseStructuredOutputType, au as CoreAssistantMessage, as as CoreMessage, at as CoreSystemMessage, aw as CoreToolMessage, av as CoreUserMessage, aJ as DefaultLLMStreamObjectOptions, aI as DefaultLLMStreamOptions, aH as DefaultLLMTextObjectOptions, aG as DefaultLLMTextOptions, ay as EmbedManyResult, ax as EmbedResult, aD as GenerateReturn, aN as LLMInnerStreamOptions, aO as LLMStreamObjectOptions, aM as LLMStreamOptions, aL as LLMTextObjectOptions, aK as LLMTextOptions, ar as LanguageModel, aF as OutputType, aE as StreamReturn, aC as StructuredOutput, aB as StructuredOutputArrayItem, aA as StructuredOutputType, aP as createMockModel } from '../base-Dmg7H-Iz.cjs';
|
|
5
5
|
import '../runtime-context/index.cjs';
|
|
6
6
|
import '../base-BY9WFI65.cjs';
|
|
7
7
|
import '@opentelemetry/api';
|
package/dist/llm/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import 'ai';
|
|
2
2
|
import 'json-schema';
|
|
3
3
|
import 'zod';
|
|
4
|
-
export {
|
|
4
|
+
export { az as BaseStructuredOutputType, au as CoreAssistantMessage, as as CoreMessage, at as CoreSystemMessage, aw as CoreToolMessage, av as CoreUserMessage, aJ as DefaultLLMStreamObjectOptions, aI as DefaultLLMStreamOptions, aH as DefaultLLMTextObjectOptions, aG as DefaultLLMTextOptions, ay as EmbedManyResult, ax as EmbedResult, aD as GenerateReturn, aN as LLMInnerStreamOptions, aO as LLMStreamObjectOptions, aM as LLMStreamOptions, aL as LLMTextObjectOptions, aK as LLMTextOptions, ar as LanguageModel, aF as OutputType, aE as StreamReturn, aC as StructuredOutput, aB as StructuredOutputArrayItem, aA as StructuredOutputType, aP as createMockModel } from '../base-Bdo-CPMn.js';
|
|
5
5
|
import '../runtime-context/index.js';
|
|
6
6
|
import '../base-C0yUw8BC.js';
|
|
7
7
|
import '@opentelemetry/api';
|
package/dist/mastra/index.d.cts
CHANGED
package/dist/mastra/index.d.ts
CHANGED
package/dist/mcp/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { bB as ArgumentInfo, bF as CommandInfo, bv as ConvertedTool, bG as EnvironmentVariableInfo,
|
|
1
|
+
export { bB as ArgumentInfo, bF as CommandInfo, bv as ConvertedTool, bG as EnvironmentVariableInfo, h as MCPServerBase, bJ as MCPServerConfig, by as MCPServerHTTPOptions, bx as MCPServerHonoSSEOptions, bw as MCPServerSSEOptions, bM as MCPToolType, bD as NamedArgumentInfo, bH as PackageInfo, bC as PositionalArgumentInfo, bI as RemoteInfo, bz as Repository, bL as ServerDetailInfo, bK as ServerInfo, bE as SubcommandInfo, bA as VersionDetail } from '../base-Dmg7H-Iz.cjs';
|
|
2
2
|
import '../base-BY9WFI65.cjs';
|
|
3
3
|
import 'ai';
|
|
4
4
|
import 'zod';
|
package/dist/mcp/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { bB as ArgumentInfo, bF as CommandInfo, bv as ConvertedTool, bG as EnvironmentVariableInfo,
|
|
1
|
+
export { bB as ArgumentInfo, bF as CommandInfo, bv as ConvertedTool, bG as EnvironmentVariableInfo, h as MCPServerBase, bJ as MCPServerConfig, by as MCPServerHTTPOptions, bx as MCPServerHonoSSEOptions, bw as MCPServerSSEOptions, bM as MCPToolType, bD as NamedArgumentInfo, bH as PackageInfo, bC as PositionalArgumentInfo, bI as RemoteInfo, bz as Repository, bL as ServerDetailInfo, bK as ServerInfo, bE as SubcommandInfo, bA as VersionDetail } from '../base-Bdo-CPMn.js';
|
|
2
2
|
import '../base-C0yUw8BC.js';
|
|
3
3
|
import 'ai';
|
|
4
4
|
import 'zod';
|
package/dist/memory/index.cjs
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkLMTSGD2E_cjs = require('../chunk-LMTSGD2E.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "MastraMemory", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkLMTSGD2E_cjs.MastraMemory; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "MemoryProcessor", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkLMTSGD2E_cjs.MemoryProcessor; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "memoryDefaultOptions", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkLMTSGD2E_cjs.memoryDefaultOptions; }
|
|
18
18
|
});
|
package/dist/memory/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { b as MastraMemory, u as MastraMessageV1, s as MastraMessageV2, aT as MemoryConfig, aW as MemoryProcessor, aV as MemoryProcessorOpts, aS as MessageResponse, aR as MessageType, aU as SharedMemoryConfig, r as StorageThreadType, aX as memoryDefaultOptions } from '../base-Dmg7H-Iz.cjs';
|
|
2
2
|
export { Message as AiMessageType } from 'ai';
|
|
3
3
|
import '../base-BY9WFI65.cjs';
|
|
4
4
|
import '@opentelemetry/api';
|
package/dist/memory/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { b as MastraMemory, u as MastraMessageV1, s as MastraMessageV2, aT as MemoryConfig, aW as MemoryProcessor, aV as MemoryProcessorOpts, aS as MessageResponse, aR as MessageType, aU as SharedMemoryConfig, r as StorageThreadType, aX as memoryDefaultOptions } from '../base-Bdo-CPMn.js';
|
|
2
2
|
export { Message as AiMessageType } from 'ai';
|
|
3
3
|
import '../base-C0yUw8BC.js';
|
|
4
4
|
import '@opentelemetry/api';
|
package/dist/memory/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { MastraMemory, MemoryProcessor, memoryDefaultOptions } from '../chunk-
|
|
1
|
+
export { MastraMemory, MemoryProcessor, memoryDefaultOptions } from '../chunk-5EB62G6T.js';
|
package/dist/network/index.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunkMVXVUMLA_cjs = require('../chunk-MVXVUMLA.cjs');
|
|
4
|
+
var chunk4Z3OU5RY_cjs = require('../chunk-4Z3OU5RY.cjs');
|
|
5
5
|
var chunkVHZPWE5L_cjs = require('../chunk-VHZPWE5L.cjs');
|
|
6
6
|
var chunkRFAN7FAT_cjs = require('../chunk-RFAN7FAT.cjs');
|
|
7
7
|
var zod = require('zod');
|
|
@@ -17,7 +17,7 @@ var AgentNetwork = class extends chunkVHZPWE5L_cjs.MastraBase {
|
|
|
17
17
|
this.#instructions = config.instructions;
|
|
18
18
|
this.#agents = config.agents;
|
|
19
19
|
this.#model = config.model;
|
|
20
|
-
this.#routingAgent = new
|
|
20
|
+
this.#routingAgent = new chunkMVXVUMLA_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 chunkVHZPWE5L_cjs.MastraBase {
|
|
|
29
29
|
}
|
|
30
30
|
getTools() {
|
|
31
31
|
return {
|
|
32
|
-
transmit:
|
|
32
|
+
transmit: chunk4Z3OU5RY_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({
|
package/dist/network/index.d.cts
CHANGED
package/dist/network/index.d.ts
CHANGED
package/dist/network/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Agent } from '../chunk-
|
|
2
|
-
import { createTool } from '../chunk-
|
|
1
|
+
import { Agent } from '../chunk-B4TMM6NT.js';
|
|
2
|
+
import { createTool } from '../chunk-C4LMN2IR.js';
|
|
3
3
|
import { MastraBase } from '../chunk-JOCKZ2US.js';
|
|
4
4
|
import { RegisteredLogger } from '../chunk-XXVGT7SJ.js';
|
|
5
5
|
import { z } from 'zod';
|
package/dist/relevance/index.cjs
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkERUGEZPR_cjs = require('../chunk-ERUGEZPR.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "CohereRelevanceScorer", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkERUGEZPR_cjs.CohereRelevanceScorer; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "MastraAgentRelevanceScorer", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkERUGEZPR_cjs.MastraAgentRelevanceScorer; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "createSimilarityPrompt", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkERUGEZPR_cjs.createSimilarityPrompt; }
|
|
18
18
|
});
|
package/dist/relevance/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { CohereRelevanceScorer, MastraAgentRelevanceScorer, createSimilarityPrompt } from '../chunk-
|
|
1
|
+
export { CohereRelevanceScorer, MastraAgentRelevanceScorer, createSimilarityPrompt } from '../chunk-4TEWSQS5.js';
|
package/dist/server/index.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Handler, Context, MiddlewareHandler } from 'hono';
|
|
2
2
|
import { DescribeRouteOptions } from 'hono-openapi';
|
|
3
|
-
import {
|
|
4
|
-
export {
|
|
3
|
+
import { i as Methods, M as Mastra, j as ApiRoute, k as MastraAuthConfig } from '../base-Dmg7H-Iz.cjs';
|
|
4
|
+
export { l as ContextWithMastra, m as MastraAuthProvider, n as MastraAuthProviderOptions } from '../base-Dmg7H-Iz.cjs';
|
|
5
5
|
import 'ai';
|
|
6
6
|
import '../base-BY9WFI65.cjs';
|
|
7
7
|
import '@opentelemetry/api';
|
package/dist/server/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Handler, Context, MiddlewareHandler } from 'hono';
|
|
2
2
|
import { DescribeRouteOptions } from 'hono-openapi';
|
|
3
|
-
import {
|
|
4
|
-
export {
|
|
3
|
+
import { i as Methods, M as Mastra, j as ApiRoute, k as MastraAuthConfig } from '../base-Bdo-CPMn.js';
|
|
4
|
+
export { l as ContextWithMastra, m as MastraAuthProvider, n as MastraAuthProviderOptions } from '../base-Bdo-CPMn.js';
|
|
5
5
|
import 'ai';
|
|
6
6
|
import '../base-C0yUw8BC.js';
|
|
7
7
|
import '@opentelemetry/api';
|
package/dist/storage/index.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkX6VHQCYN_cjs = require('../chunk-X6VHQCYN.cjs');
|
|
4
|
+
var chunkFHLDRRKJ_cjs = require('../chunk-FHLDRRKJ.cjs');
|
|
4
5
|
var chunkTICDQWVJ_cjs = require('../chunk-TICDQWVJ.cjs');
|
|
5
|
-
var chunkPBHXIWAK_cjs = require('../chunk-PBHXIWAK.cjs');
|
|
6
6
|
|
|
7
7
|
// src/storage/mock.ts
|
|
8
8
|
var MockStore = class extends chunkX6VHQCYN_cjs.MastraStorage {
|
|
@@ -92,7 +92,7 @@ var MockStore = class extends chunkX6VHQCYN_cjs.MastraStorage {
|
|
|
92
92
|
const key = message.id;
|
|
93
93
|
this.data.mastra_messages[key] = message;
|
|
94
94
|
}
|
|
95
|
-
const list = new
|
|
95
|
+
const list = new chunkFHLDRRKJ_cjs.MessageList().add(messages, "memory");
|
|
96
96
|
if (format === `v2`) return list.get.all.v2();
|
|
97
97
|
return list.get.all.v1();
|
|
98
98
|
}
|
package/dist/storage/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
1
|
+
import { o as MastraStorage, p as TABLE_NAMES, q as StorageColumn, r as StorageThreadType, s as MastraMessageV2, t as StorageGetMessagesArg, u as MastraMessageV1, E as EvalRow, v as WorkflowRuns, w as WorkflowRun } from '../base-Dmg7H-Iz.cjs';
|
|
2
|
+
export { y as LegacyWorkflowRun, x as LegacyWorkflowRuns, B as TABLE_EVALS, D as TABLE_MESSAGES, H as TABLE_SCHEMAS, F as TABLE_THREADS, G as TABLE_TRACES, z as TABLE_WORKFLOW_SNAPSHOT } from '../base-Dmg7H-Iz.cjs';
|
|
3
3
|
import '../base-BY9WFI65.cjs';
|
|
4
4
|
import 'ai';
|
|
5
5
|
import 'zod';
|