@mastra/core 1.20.0-alpha.0 → 1.21.0-alpha.0
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/CHANGELOG.md +49 -0
- package/dist/agent/agent-legacy.d.ts +2 -1
- package/dist/agent/agent-legacy.d.ts.map +1 -1
- package/dist/agent/agent.d.ts +30 -0
- package/dist/agent/agent.d.ts.map +1 -1
- package/dist/agent/index.cjs +8 -8
- package/dist/agent/index.js +1 -1
- package/dist/{chunk-I6P4ZMZR.cjs → chunk-3CEO7364.cjs} +15 -15
- package/dist/{chunk-I6P4ZMZR.cjs.map → chunk-3CEO7364.cjs.map} +1 -1
- package/dist/{chunk-EUACZBJQ.js → chunk-4VNX7DR6.js} +4 -4
- package/dist/{chunk-EUACZBJQ.js.map → chunk-4VNX7DR6.js.map} +1 -1
- package/dist/{chunk-6PIICTDQ.js → chunk-6QHS7ULS.js} +3 -3
- package/dist/{chunk-6PIICTDQ.js.map → chunk-6QHS7ULS.js.map} +1 -1
- package/dist/{chunk-ML643Q3Q.cjs → chunk-BJH5SHX3.cjs} +28 -18
- package/dist/chunk-BJH5SHX3.cjs.map +1 -0
- package/dist/{chunk-HVDHMRDP.cjs → chunk-D27Q6R5E.cjs} +5 -5
- package/dist/{chunk-HVDHMRDP.cjs.map → chunk-D27Q6R5E.cjs.map} +1 -1
- package/dist/{chunk-JWPGGVYM.js → chunk-DIGGYQAF.js} +3 -3
- package/dist/{chunk-JWPGGVYM.js.map → chunk-DIGGYQAF.js.map} +1 -1
- package/dist/{chunk-UKZAGP3S.js → chunk-DNSWGNZW.js} +19 -9
- package/dist/chunk-DNSWGNZW.js.map +1 -0
- package/dist/{chunk-FAHX46V5.cjs → chunk-E6GHYTTI.cjs} +9 -9
- package/dist/{chunk-FAHX46V5.cjs.map → chunk-E6GHYTTI.cjs.map} +1 -1
- package/dist/{chunk-RTAUE6GT.js → chunk-G6AGIGL4.js} +6 -6
- package/dist/{chunk-RTAUE6GT.js.map → chunk-G6AGIGL4.js.map} +1 -1
- package/dist/{chunk-K6BGA6VT.cjs → chunk-IGBP52Y5.cjs} +9 -7
- package/dist/chunk-IGBP52Y5.cjs.map +1 -0
- package/dist/{chunk-OBP4NK5A.js → chunk-NHKURALS.js} +3 -3
- package/dist/{chunk-OBP4NK5A.js.map → chunk-NHKURALS.js.map} +1 -1
- package/dist/{chunk-FSCEKOV2.js → chunk-P22E5RS2.js} +4 -4
- package/dist/{chunk-FSCEKOV2.js.map → chunk-P22E5RS2.js.map} +1 -1
- package/dist/{chunk-UXAM4V4V.cjs → chunk-PAJDCXP4.cjs} +6 -6
- package/dist/{chunk-UXAM4V4V.cjs.map → chunk-PAJDCXP4.cjs.map} +1 -1
- package/dist/{chunk-HVEPQYIA.cjs → chunk-QM6V2G4N.cjs} +185 -185
- package/dist/{chunk-HVEPQYIA.cjs.map → chunk-QM6V2G4N.cjs.map} +1 -1
- package/dist/{chunk-Z6RH6FVZ.js → chunk-RLWBOWTH.js} +8 -6
- package/dist/chunk-RLWBOWTH.js.map +1 -0
- package/dist/{chunk-Q3PALUCS.js → chunk-SNNRWDHR.js} +3 -3
- package/dist/{chunk-Q3PALUCS.js.map → chunk-SNNRWDHR.js.map} +1 -1
- package/dist/{chunk-HKUABNPR.cjs → chunk-SP6HMNXJ.cjs} +3 -3
- package/dist/{chunk-HKUABNPR.cjs.map → chunk-SP6HMNXJ.cjs.map} +1 -1
- package/dist/{chunk-VXFKAXPG.cjs → chunk-SUTSYKYL.cjs} +75 -75
- package/dist/{chunk-VXFKAXPG.cjs.map → chunk-SUTSYKYL.cjs.map} +1 -1
- package/dist/{chunk-4D5OKNI6.js → chunk-UP4JBYON.js} +8 -8
- package/dist/{chunk-4D5OKNI6.js.map → chunk-UP4JBYON.js.map} +1 -1
- package/dist/{chunk-TZ6QKXAX.cjs → chunk-VJ2I6NB5.cjs} +48 -48
- package/dist/{chunk-TZ6QKXAX.cjs.map → chunk-VJ2I6NB5.cjs.map} +1 -1
- package/dist/{chunk-KB7PLSUK.js → chunk-W6TU23LC.js} +3 -3
- package/dist/{chunk-KB7PLSUK.js.map → chunk-W6TU23LC.js.map} +1 -1
- package/dist/{chunk-UH3RKNFA.cjs → chunk-WV75DCGC.cjs} +7 -7
- package/dist/{chunk-UH3RKNFA.cjs.map → chunk-WV75DCGC.cjs.map} +1 -1
- package/dist/datasets/index.cjs +11 -11
- package/dist/datasets/index.js +1 -1
- package/dist/docs/SKILL.md +2 -2
- package/dist/docs/assets/SOURCE_MAP.json +146 -146
- package/dist/docs/references/docs-server-mastra-client.md +12 -10
- package/dist/docs/references/docs-server-mastra-server.md +13 -1
- package/dist/docs/references/reference-agents-getLLM.md +9 -3
- package/dist/docs/references/reference.md +2 -0
- package/dist/evals/index.cjs +5 -5
- package/dist/evals/index.js +2 -2
- package/dist/evals/scoreTraces/index.cjs +3 -3
- package/dist/evals/scoreTraces/index.js +1 -1
- package/dist/harness/index.cjs +7 -7
- package/dist/harness/index.js +5 -5
- package/dist/index.cjs +2 -2
- package/dist/index.js +1 -1
- package/dist/llm/index.cjs +16 -16
- package/dist/llm/index.js +5 -5
- package/dist/llm/model/provider-types.generated.d.ts +1 -0
- package/dist/loop/index.cjs +14 -14
- package/dist/loop/index.js +1 -1
- package/dist/mastra/index.cjs +2 -2
- package/dist/mastra/index.js +1 -1
- package/dist/memory/index.cjs +14 -14
- package/dist/memory/index.js +1 -1
- package/dist/models-dev-FGUL4P5N.js +3 -0
- package/dist/{models-dev-3P3IAKKM.js.map → models-dev-FGUL4P5N.js.map} +1 -1
- package/dist/models-dev-SQKUCQPB.cjs +12 -0
- package/dist/{models-dev-OSJ3DXHK.cjs.map → models-dev-SQKUCQPB.cjs.map} +1 -1
- package/dist/netlify-3WID3IMG.cjs +12 -0
- package/dist/{netlify-R4Q3C263.cjs.map → netlify-3WID3IMG.cjs.map} +1 -1
- package/dist/netlify-6VLZ7U7Y.js +3 -0
- package/dist/{netlify-3WGJ3X2J.js.map → netlify-6VLZ7U7Y.js.map} +1 -1
- package/dist/processor-provider/index.cjs +10 -10
- package/dist/processor-provider/index.js +1 -1
- package/dist/processors/index.cjs +44 -44
- package/dist/processors/index.js +1 -1
- package/dist/provider-registry-XZ5AT4KC.cjs +40 -0
- package/dist/{provider-registry-D5RMTQJP.cjs.map → provider-registry-XZ5AT4KC.cjs.map} +1 -1
- package/dist/provider-registry-ZQPKRDCE.js +3 -0
- package/dist/{provider-registry-4HZEFIEW.js.map → provider-registry-ZQPKRDCE.js.map} +1 -1
- package/dist/provider-registry.json +4 -2
- package/dist/relevance/index.cjs +3 -3
- package/dist/relevance/index.js +1 -1
- package/dist/stream/index.cjs +8 -8
- package/dist/stream/index.js +1 -1
- package/dist/tool-loop-agent/index.cjs +4 -4
- package/dist/tool-loop-agent/index.js +1 -1
- package/dist/workflows/evented/index.cjs +10 -10
- package/dist/workflows/evented/index.js +1 -1
- package/dist/workflows/index.cjs +24 -24
- package/dist/workflows/index.js +1 -1
- package/package.json +9 -9
- package/src/llm/model/provider-types.generated.d.ts +1 -0
- package/dist/chunk-K6BGA6VT.cjs.map +0 -1
- package/dist/chunk-ML643Q3Q.cjs.map +0 -1
- package/dist/chunk-UKZAGP3S.js.map +0 -1
- package/dist/chunk-Z6RH6FVZ.js.map +0 -1
- package/dist/models-dev-3P3IAKKM.js +0 -3
- package/dist/models-dev-OSJ3DXHK.cjs +0 -12
- package/dist/netlify-3WGJ3X2J.js +0 -3
- package/dist/netlify-R4Q3C263.cjs +0 -12
- package/dist/provider-registry-4HZEFIEW.js +0 -3
- package/dist/provider-registry-D5RMTQJP.cjs +0 -40
package/dist/workflows/index.cjs
CHANGED
|
@@ -1,100 +1,100 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkBJH5SHX3_cjs = require('../chunk-BJH5SHX3.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "DefaultExecutionEngine", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkBJH5SHX3_cjs.DefaultExecutionEngine; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "ExecutionEngine", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkBJH5SHX3_cjs.ExecutionEngine; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "Run", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkBJH5SHX3_cjs.Run; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "Workflow", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkBJH5SHX3_cjs.Workflow; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "cleanStepResult", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkBJH5SHX3_cjs.cleanStepResult; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "cloneStep", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkBJH5SHX3_cjs.cloneStep; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "cloneWorkflow", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkBJH5SHX3_cjs.cloneWorkflow; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "createDeprecationProxy", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkBJH5SHX3_cjs.createDeprecationProxy; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "createStep", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkBJH5SHX3_cjs.createStep; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "createTimeTravelExecutionParams", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkBJH5SHX3_cjs.createTimeTravelExecutionParams; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "createWorkflow", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkBJH5SHX3_cjs.createWorkflow; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "getResumeLabelsByStepId", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkBJH5SHX3_cjs.getResumeLabelsByStepId; }
|
|
54
54
|
});
|
|
55
55
|
Object.defineProperty(exports, "getStepIds", {
|
|
56
56
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunkBJH5SHX3_cjs.getStepIds; }
|
|
58
58
|
});
|
|
59
59
|
Object.defineProperty(exports, "getStepResult", {
|
|
60
60
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
61
|
+
get: function () { return chunkBJH5SHX3_cjs.getStepResult; }
|
|
62
62
|
});
|
|
63
63
|
Object.defineProperty(exports, "hydrateSerializedStepErrors", {
|
|
64
64
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
65
|
+
get: function () { return chunkBJH5SHX3_cjs.hydrateSerializedStepErrors; }
|
|
66
66
|
});
|
|
67
67
|
Object.defineProperty(exports, "isProcessor", {
|
|
68
68
|
enumerable: true,
|
|
69
|
-
get: function () { return
|
|
69
|
+
get: function () { return chunkBJH5SHX3_cjs.isProcessor; }
|
|
70
70
|
});
|
|
71
71
|
Object.defineProperty(exports, "mapVariable", {
|
|
72
72
|
enumerable: true,
|
|
73
|
-
get: function () { return
|
|
73
|
+
get: function () { return chunkBJH5SHX3_cjs.mapVariable; }
|
|
74
74
|
});
|
|
75
75
|
Object.defineProperty(exports, "runCountDeprecationMessage", {
|
|
76
76
|
enumerable: true,
|
|
77
|
-
get: function () { return
|
|
77
|
+
get: function () { return chunkBJH5SHX3_cjs.runCountDeprecationMessage; }
|
|
78
78
|
});
|
|
79
79
|
Object.defineProperty(exports, "validateStepInput", {
|
|
80
80
|
enumerable: true,
|
|
81
|
-
get: function () { return
|
|
81
|
+
get: function () { return chunkBJH5SHX3_cjs.validateStepInput; }
|
|
82
82
|
});
|
|
83
83
|
Object.defineProperty(exports, "validateStepRequestContext", {
|
|
84
84
|
enumerable: true,
|
|
85
|
-
get: function () { return
|
|
85
|
+
get: function () { return chunkBJH5SHX3_cjs.validateStepRequestContext; }
|
|
86
86
|
});
|
|
87
87
|
Object.defineProperty(exports, "validateStepResumeData", {
|
|
88
88
|
enumerable: true,
|
|
89
|
-
get: function () { return
|
|
89
|
+
get: function () { return chunkBJH5SHX3_cjs.validateStepResumeData; }
|
|
90
90
|
});
|
|
91
91
|
Object.defineProperty(exports, "validateStepStateData", {
|
|
92
92
|
enumerable: true,
|
|
93
|
-
get: function () { return
|
|
93
|
+
get: function () { return chunkBJH5SHX3_cjs.validateStepStateData; }
|
|
94
94
|
});
|
|
95
95
|
Object.defineProperty(exports, "validateStepSuspendData", {
|
|
96
96
|
enumerable: true,
|
|
97
|
-
get: function () { return
|
|
97
|
+
get: function () { return chunkBJH5SHX3_cjs.validateStepSuspendData; }
|
|
98
98
|
});
|
|
99
99
|
//# sourceMappingURL=index.cjs.map
|
|
100
100
|
//# sourceMappingURL=index.cjs.map
|
package/dist/workflows/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { DefaultExecutionEngine, ExecutionEngine, Run, Workflow, cleanStepResult, cloneStep, cloneWorkflow, createDeprecationProxy, createStep, createTimeTravelExecutionParams, createWorkflow, getResumeLabelsByStepId, getStepIds, getStepResult, hydrateSerializedStepErrors, isProcessor, mapVariable, runCountDeprecationMessage, validateStepInput, validateStepRequestContext, validateStepResumeData, validateStepStateData, validateStepSuspendData } from '../chunk-
|
|
1
|
+
export { DefaultExecutionEngine, ExecutionEngine, Run, Workflow, cleanStepResult, cloneStep, cloneWorkflow, createDeprecationProxy, createStep, createTimeTravelExecutionParams, createWorkflow, getResumeLabelsByStepId, getStepIds, getStepResult, hydrateSerializedStepErrors, isProcessor, mapVariable, runCountDeprecationMessage, validateStepInput, validateStepRequestContext, validateStepResumeData, validateStepStateData, validateStepSuspendData } from '../chunk-DNSWGNZW.js';
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/core",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.21.0-alpha.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -278,15 +278,15 @@
|
|
|
278
278
|
"vscode-jsonrpc": "^8.2.1",
|
|
279
279
|
"vscode-languageserver-protocol": "^3.17.5",
|
|
280
280
|
"zod": "^4.3.6",
|
|
281
|
+
"@internal/ai-sdk-v4": "0.0.24",
|
|
282
|
+
"@internal/ai-sdk-v5": "0.0.24",
|
|
283
|
+
"@internal/ai-v6": "0.0.24",
|
|
281
284
|
"@internal/core": "0.0.0",
|
|
282
|
-
"@internal/
|
|
283
|
-
"@internal/
|
|
284
|
-
"@internal/
|
|
285
|
-
"@internal/
|
|
286
|
-
"@internal/
|
|
287
|
-
"@internal/test-utils": "0.0.12",
|
|
288
|
-
"@internal/types-builder": "0.0.51",
|
|
289
|
-
"@internal/llm-recorder": "0.0.12"
|
|
285
|
+
"@internal/external-types": "0.0.27",
|
|
286
|
+
"@internal/llm-recorder": "0.0.13",
|
|
287
|
+
"@internal/test-utils": "0.0.13",
|
|
288
|
+
"@internal/types-builder": "0.0.52",
|
|
289
|
+
"@internal/lint": "0.0.77"
|
|
290
290
|
},
|
|
291
291
|
"engines": {
|
|
292
292
|
"node": ">=22.13.0"
|