@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.
- package/dist/agent/index.cjs +2 -2
- package/dist/agent/index.d.cts +1 -1
- package/dist/agent/index.d.ts +1 -1
- package/dist/agent/index.js +1 -1
- package/dist/{base-DI6ChaUK.d.cts → base-BZxFAZ3-.d.cts} +27 -3
- package/dist/{base-bWFiU8RL.d.ts → base-uXj2cuRo.d.ts} +27 -3
- package/dist/{chunk-H2UWWO4L.js → chunk-6YY6MN2Z.js} +9 -5
- package/dist/{chunk-MAWT75XY.cjs → chunk-B7N24G5E.cjs} +2 -2
- package/dist/{chunk-7JRVDC7F.cjs → chunk-D2Y3ET63.cjs} +0 -91
- package/dist/{chunk-ZWALP7T2.cjs → chunk-EIMOKGTI.cjs} +2 -2
- package/dist/{chunk-SHDPMWGJ.js → chunk-IBKW4TJU.js} +1 -1
- package/dist/{chunk-33XQ5DGU.cjs → chunk-OPUU4S32.cjs} +5 -5
- package/dist/{chunk-YEA2KXXJ.js → chunk-QV4ZJLWA.js} +1 -1
- package/dist/{chunk-VI3IQINW.cjs → chunk-RSPHEENE.cjs} +45 -7
- package/dist/{chunk-FA7FWCKH.js → chunk-VQ7AM4ZV.js} +1 -1
- package/dist/{chunk-7PRLYMXV.cjs → chunk-VXUCE4GF.cjs} +20 -16
- package/dist/{chunk-INXNZ5VE.js → chunk-Z3OKCJ62.js} +41 -3
- package/dist/{chunk-KYULILA6.js → chunk-Z4MZ3ZUM.js} +1 -1
- package/dist/{chunk-JSUPD5IG.js → chunk-ZCJJ6XOH.js} +1 -90
- package/dist/{chunk-CFWUR4PX.cjs → chunk-ZVBLRU4W.cjs} +5 -5
- package/dist/eval/index.d.cts +1 -1
- package/dist/eval/index.d.ts +1 -1
- package/dist/index.cjs +50 -58
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +9 -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.cjs +2 -2
- package/dist/mastra/index.d.cts +1 -1
- package/dist/mastra/index.d.ts +1 -1
- package/dist/mastra/index.js +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 +1 -1
- package/dist/server/index.d.ts +1 -1
- package/dist/storage/index.d.cts +1 -1
- package/dist/storage/index.d.ts +1 -1
- package/dist/storage/libsql/index.cjs +15 -1
- package/dist/storage/libsql/index.d.cts +4 -2
- package/dist/storage/libsql/index.d.ts +4 -2
- package/dist/storage/libsql/index.js +15 -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 +1 -1
- package/dist/tools/index.d.ts +1 -1
- package/dist/tools/index.js +1 -1
- package/dist/utils.cjs +12 -20
- package/dist/utils.d.cts +3 -5
- package/dist/utils.d.ts +3 -5
- 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 +22 -22
- 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/vNext/index.cjs +6 -6
- package/dist/workflows/vNext/index.d.cts +2 -2
- package/dist/workflows/vNext/index.d.ts +2 -2
- package/dist/workflows/vNext/index.js +4 -4
- package/package.json +1 -1
- /package/dist/{chunk-7ZR64JAJ.js → chunk-2IXADNQJ.js} +0 -0
- /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
|
|
4
|
+
var chunkB7N24G5E_cjs = require('./chunk-B7N24G5E.cjs');
|
|
5
5
|
var chunkMUNFCOMB_cjs = require('./chunk-MUNFCOMB.cjs');
|
|
6
|
-
var
|
|
7
|
-
var
|
|
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
|
|
11
|
-
var
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
122
|
+
get: function () { return chunkOPUU4S32_cjs.Mastra; }
|
|
123
123
|
});
|
|
124
124
|
Object.defineProperty(exports, "MemoryProcessor", {
|
|
125
125
|
enumerable: true,
|
|
126
|
-
get: function () { return
|
|
126
|
+
get: function () { return chunkRSPHEENE_cjs.MemoryProcessor; }
|
|
127
127
|
});
|
|
128
128
|
Object.defineProperty(exports, "memoryDefaultOptions", {
|
|
129
129
|
enumerable: true,
|
|
130
|
-
get: function () { return
|
|
130
|
+
get: function () { return chunkRSPHEENE_cjs.memoryDefaultOptions; }
|
|
131
131
|
});
|
|
132
132
|
Object.defineProperty(exports, "CohereRelevanceScorer", {
|
|
133
133
|
enumerable: true,
|
|
134
|
-
get: function () { return
|
|
134
|
+
get: function () { return chunkEIMOKGTI_cjs.CohereRelevanceScorer; }
|
|
135
135
|
});
|
|
136
136
|
Object.defineProperty(exports, "MastraAgentRelevanceScorer", {
|
|
137
137
|
enumerable: true,
|
|
138
|
-
get: function () { return
|
|
138
|
+
get: function () { return chunkEIMOKGTI_cjs.MastraAgentRelevanceScorer; }
|
|
139
139
|
});
|
|
140
140
|
Object.defineProperty(exports, "createSimilarityPrompt", {
|
|
141
141
|
enumerable: true,
|
|
142
|
-
get: function () { return
|
|
142
|
+
get: function () { return chunkEIMOKGTI_cjs.createSimilarityPrompt; }
|
|
143
143
|
});
|
|
144
144
|
Object.defineProperty(exports, "Step", {
|
|
145
145
|
enumerable: true,
|
|
146
|
-
get: function () { return
|
|
146
|
+
get: function () { return chunkVXUCE4GF_cjs.Step; }
|
|
147
147
|
});
|
|
148
148
|
Object.defineProperty(exports, "WhenConditionReturnValue", {
|
|
149
149
|
enumerable: true,
|
|
150
|
-
get: function () { return
|
|
150
|
+
get: function () { return chunkVXUCE4GF_cjs.WhenConditionReturnValue; }
|
|
151
151
|
});
|
|
152
152
|
Object.defineProperty(exports, "agentToStep", {
|
|
153
153
|
enumerable: true,
|
|
154
|
-
get: function () { return
|
|
154
|
+
get: function () { return chunkVXUCE4GF_cjs.agentToStep; }
|
|
155
155
|
});
|
|
156
156
|
Object.defineProperty(exports, "getActivePathsAndStatus", {
|
|
157
157
|
enumerable: true,
|
|
158
|
-
get: function () { return
|
|
158
|
+
get: function () { return chunkVXUCE4GF_cjs.getActivePathsAndStatus; }
|
|
159
159
|
});
|
|
160
160
|
Object.defineProperty(exports, "getResultActivePaths", {
|
|
161
161
|
enumerable: true,
|
|
162
|
-
get: function () { return
|
|
162
|
+
get: function () { return chunkVXUCE4GF_cjs.getResultActivePaths; }
|
|
163
163
|
});
|
|
164
164
|
Object.defineProperty(exports, "getStepResult", {
|
|
165
165
|
enumerable: true,
|
|
166
|
-
get: function () { return
|
|
166
|
+
get: function () { return chunkVXUCE4GF_cjs.getStepResult; }
|
|
167
167
|
});
|
|
168
168
|
Object.defineProperty(exports, "getSuspendedPaths", {
|
|
169
169
|
enumerable: true,
|
|
170
|
-
get: function () { return
|
|
170
|
+
get: function () { return chunkVXUCE4GF_cjs.getSuspendedPaths; }
|
|
171
171
|
});
|
|
172
172
|
Object.defineProperty(exports, "isAgent", {
|
|
173
173
|
enumerable: true,
|
|
174
|
-
get: function () { return
|
|
174
|
+
get: function () { return chunkVXUCE4GF_cjs.isAgent; }
|
|
175
175
|
});
|
|
176
176
|
Object.defineProperty(exports, "isConditionalKey", {
|
|
177
177
|
enumerable: true,
|
|
178
|
-
get: function () { return
|
|
178
|
+
get: function () { return chunkVXUCE4GF_cjs.isConditionalKey; }
|
|
179
179
|
});
|
|
180
180
|
Object.defineProperty(exports, "isErrorEvent", {
|
|
181
181
|
enumerable: true,
|
|
182
|
-
get: function () { return
|
|
182
|
+
get: function () { return chunkVXUCE4GF_cjs.isErrorEvent; }
|
|
183
183
|
});
|
|
184
184
|
Object.defineProperty(exports, "isFinalState", {
|
|
185
185
|
enumerable: true,
|
|
186
|
-
get: function () { return
|
|
186
|
+
get: function () { return chunkVXUCE4GF_cjs.isFinalState; }
|
|
187
187
|
});
|
|
188
188
|
Object.defineProperty(exports, "isLimboState", {
|
|
189
189
|
enumerable: true,
|
|
190
|
-
get: function () { return
|
|
190
|
+
get: function () { return chunkVXUCE4GF_cjs.isLimboState; }
|
|
191
191
|
});
|
|
192
192
|
Object.defineProperty(exports, "isTransitionEvent", {
|
|
193
193
|
enumerable: true,
|
|
194
|
-
get: function () { return
|
|
194
|
+
get: function () { return chunkVXUCE4GF_cjs.isTransitionEvent; }
|
|
195
195
|
});
|
|
196
196
|
Object.defineProperty(exports, "isVariableReference", {
|
|
197
197
|
enumerable: true,
|
|
198
|
-
get: function () { return
|
|
198
|
+
get: function () { return chunkVXUCE4GF_cjs.isVariableReference; }
|
|
199
199
|
});
|
|
200
200
|
Object.defineProperty(exports, "isWorkflow", {
|
|
201
201
|
enumerable: true,
|
|
202
|
-
get: function () { return
|
|
202
|
+
get: function () { return chunkVXUCE4GF_cjs.isWorkflow; }
|
|
203
203
|
});
|
|
204
204
|
Object.defineProperty(exports, "mergeChildValue", {
|
|
205
205
|
enumerable: true,
|
|
206
|
-
get: function () { return
|
|
206
|
+
get: function () { return chunkVXUCE4GF_cjs.mergeChildValue; }
|
|
207
207
|
});
|
|
208
208
|
Object.defineProperty(exports, "recursivelyCheckForFinalState", {
|
|
209
209
|
enumerable: true,
|
|
210
|
-
get: function () { return
|
|
210
|
+
get: function () { return chunkVXUCE4GF_cjs.recursivelyCheckForFinalState; }
|
|
211
211
|
});
|
|
212
212
|
Object.defineProperty(exports, "resolveVariables", {
|
|
213
213
|
enumerable: true,
|
|
214
|
-
get: function () { return
|
|
214
|
+
get: function () { return chunkVXUCE4GF_cjs.resolveVariables; }
|
|
215
215
|
});
|
|
216
216
|
Object.defineProperty(exports, "updateStepInHierarchy", {
|
|
217
217
|
enumerable: true,
|
|
218
|
-
get: function () { return
|
|
218
|
+
get: function () { return chunkVXUCE4GF_cjs.updateStepInHierarchy; }
|
|
219
219
|
});
|
|
220
220
|
Object.defineProperty(exports, "workflowToStep", {
|
|
221
221
|
enumerable: true,
|
|
222
|
-
get: function () { return
|
|
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
|
|
246
|
+
get: function () { return chunkD2Y3ET63_cjs.checkEvalStorageFields; }
|
|
247
247
|
});
|
|
248
248
|
Object.defineProperty(exports, "createMastraProxy", {
|
|
249
249
|
enumerable: true,
|
|
250
|
-
get: function () { return
|
|
250
|
+
get: function () { return chunkD2Y3ET63_cjs.createMastraProxy; }
|
|
251
251
|
});
|
|
252
252
|
Object.defineProperty(exports, "createTool", {
|
|
253
253
|
enumerable: true,
|
|
254
|
-
get: function () { return
|
|
254
|
+
get: function () { return chunkD2Y3ET63_cjs.createTool; }
|
|
255
255
|
});
|
|
256
256
|
Object.defineProperty(exports, "deepMerge", {
|
|
257
257
|
enumerable: true,
|
|
258
|
-
get: function () { return
|
|
258
|
+
get: function () { return chunkD2Y3ET63_cjs.deepMerge; }
|
|
259
259
|
});
|
|
260
260
|
Object.defineProperty(exports, "delay", {
|
|
261
261
|
enumerable: true,
|
|
262
|
-
get: function () { return
|
|
262
|
+
get: function () { return chunkD2Y3ET63_cjs.delay; }
|
|
263
263
|
});
|
|
264
264
|
Object.defineProperty(exports, "ensureAllMessagesAreCoreMessages", {
|
|
265
265
|
enumerable: true,
|
|
266
|
-
get: function () { return
|
|
266
|
+
get: function () { return chunkD2Y3ET63_cjs.ensureAllMessagesAreCoreMessages; }
|
|
267
267
|
});
|
|
268
268
|
Object.defineProperty(exports, "ensureToolProperties", {
|
|
269
269
|
enumerable: true,
|
|
270
|
-
get: function () { return
|
|
270
|
+
get: function () { return chunkD2Y3ET63_cjs.ensureToolProperties; }
|
|
271
271
|
});
|
|
272
272
|
Object.defineProperty(exports, "isVercelTool", {
|
|
273
273
|
enumerable: true,
|
|
274
|
-
get: function () { return
|
|
274
|
+
get: function () { return chunkD2Y3ET63_cjs.isVercelTool; }
|
|
275
275
|
});
|
|
276
276
|
Object.defineProperty(exports, "isZodType", {
|
|
277
277
|
enumerable: true,
|
|
278
|
-
get: function () { return
|
|
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
|
|
282
|
+
get: function () { return chunkD2Y3ET63_cjs.makeCoreTool; }
|
|
291
283
|
});
|
|
292
284
|
Object.defineProperty(exports, "maskStreamTags", {
|
|
293
285
|
enumerable: true,
|
|
294
|
-
get: function () { return
|
|
286
|
+
get: function () { return chunkD2Y3ET63_cjs.maskStreamTags; }
|
|
295
287
|
});
|
|
296
288
|
Object.defineProperty(exports, "resolveSerializedZodOutput", {
|
|
297
289
|
enumerable: true,
|
|
298
|
-
get: function () { return
|
|
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-
|
|
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-
|
|
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,
|
|
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-
|
|
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-
|
|
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,
|
|
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-
|
|
2
|
+
import { Integration, OpenAPIToolset } from './chunk-IBKW4TJU.js';
|
|
3
3
|
export { createMockModel } from './chunk-HNEE7IF4.js';
|
|
4
|
-
export { Mastra } from './chunk-
|
|
5
|
-
import { MastraMemory } from './chunk-
|
|
6
|
-
export { MemoryProcessor, memoryDefaultOptions } from './chunk-
|
|
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-
|
|
10
|
-
import { Agent, Workflow } from './chunk-
|
|
11
|
-
export { Step, WhenConditionReturnValue, agentToStep, getActivePathsAndStatus, getResultActivePaths, getStepResult, getSuspendedPaths, isAgent, isConditionalKey, isErrorEvent, isFinalState, isLimboState, isTransitionEvent, isVariableReference, isWorkflow, mergeChildValue, recursivelyCheckForFinalState, resolveVariables, updateStepInHierarchy, workflowToStep } from './chunk-
|
|
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-
|
|
14
|
-
export { checkEvalStorageFields, createMastraProxy, createTool, deepMerge, delay, ensureAllMessagesAreCoreMessages, ensureToolProperties, isVercelTool, isZodType,
|
|
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
|
|
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
|
|
9
|
+
get: function () { return chunkB7N24G5E_cjs.Integration; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "OpenAPIToolset", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkB7N24G5E_cjs.OpenAPIToolset; }
|
|
14
14
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Integration, OpenAPIToolset } from '../chunk-
|
|
1
|
+
export { Integration, OpenAPIToolset } from '../chunk-IBKW4TJU.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 { 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-
|
|
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';
|
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 { 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-
|
|
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';
|
package/dist/mastra/index.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
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
|
|
9
|
+
get: function () { return chunkOPUU4S32_cjs.Mastra; }
|
|
10
10
|
});
|
package/dist/mastra/index.d.cts
CHANGED
package/dist/mastra/index.d.ts
CHANGED
package/dist/mastra/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Mastra } from '../chunk-
|
|
1
|
+
export { Mastra } from '../chunk-Z4MZ3ZUM.js';
|
package/dist/memory/index.cjs
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
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
|
|
9
|
+
get: function () { return chunkRSPHEENE_cjs.MastraMemory; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "MemoryProcessor", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkRSPHEENE_cjs.MemoryProcessor; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "memoryDefaultOptions", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkRSPHEENE_cjs.memoryDefaultOptions; }
|
|
18
18
|
});
|
package/dist/memory/index.d.cts
CHANGED
|
@@ -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-
|
|
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';
|
package/dist/memory/index.d.ts
CHANGED
|
@@ -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-
|
|
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';
|
package/dist/memory/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { MastraMemory, MemoryProcessor, memoryDefaultOptions } from '../chunk-
|
|
1
|
+
export { MastraMemory, MemoryProcessor, memoryDefaultOptions } from '../chunk-Z3OKCJ62.js';
|
package/dist/network/index.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
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
|
|
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:
|
|
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({
|
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-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';
|
package/dist/relevance/index.cjs
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
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
|
|
9
|
+
get: function () { return chunkEIMOKGTI_cjs.CohereRelevanceScorer; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "MastraAgentRelevanceScorer", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkEIMOKGTI_cjs.MastraAgentRelevanceScorer; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "createSimilarityPrompt", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkEIMOKGTI_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-VQ7AM4ZV.js';
|
package/dist/server/index.d.cts
CHANGED
|
@@ -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-
|
|
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';
|
package/dist/server/index.d.ts
CHANGED
|
@@ -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-
|
|
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';
|