@mastra/core 1.5.0-alpha.1 → 1.5.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 +364 -0
- package/dist/agent/index.cjs +8 -8
- package/dist/agent/index.js +1 -1
- package/dist/{chunk-I3AWF54W.js → chunk-4GB2GS4S.js} +3 -3
- package/dist/{chunk-I3AWF54W.js.map → chunk-4GB2GS4S.js.map} +1 -1
- package/dist/{chunk-RH2K66O2.cjs → chunk-7S6LA43E.cjs} +3 -3
- package/dist/{chunk-RH2K66O2.cjs.map → chunk-7S6LA43E.cjs.map} +1 -1
- package/dist/{chunk-IJIE3ZID.cjs → chunk-7WC7ALDW.cjs} +6 -6
- package/dist/{chunk-IJIE3ZID.cjs.map → chunk-7WC7ALDW.cjs.map} +1 -1
- package/dist/{chunk-E2FHTXAI.cjs → chunk-CQ4Z6ZAV.cjs} +5 -5
- package/dist/{chunk-E2FHTXAI.cjs.map → chunk-CQ4Z6ZAV.cjs.map} +1 -1
- package/dist/{chunk-GEDGDKQ6.js → chunk-D57U4II4.js} +7 -7
- package/dist/{chunk-GEDGDKQ6.js.map → chunk-D57U4II4.js.map} +1 -1
- package/dist/{chunk-5EOLBHHS.js → chunk-DST75PA4.js} +4 -4
- package/dist/{chunk-5EOLBHHS.js.map → chunk-DST75PA4.js.map} +1 -1
- package/dist/{chunk-BKQAP27M.cjs → chunk-G5JVVFIG.cjs} +5 -5
- package/dist/{chunk-BKQAP27M.cjs.map → chunk-G5JVVFIG.cjs.map} +1 -1
- package/dist/{chunk-A7V2NSY3.js → chunk-MZIMV2BB.js} +3 -3
- package/dist/{chunk-A7V2NSY3.js.map → chunk-MZIMV2BB.js.map} +1 -1
- package/dist/{chunk-JWG272ZZ.cjs → chunk-NUV3BLRH.cjs} +15 -15
- package/dist/{chunk-JWG272ZZ.cjs.map → chunk-NUV3BLRH.cjs.map} +1 -1
- package/dist/{chunk-FTBLAVTF.cjs → chunk-OQ5LZ6OV.cjs} +46 -46
- package/dist/{chunk-FTBLAVTF.cjs.map → chunk-OQ5LZ6OV.cjs.map} +1 -1
- package/dist/{chunk-PECKKR4C.js → chunk-R3364RAL.js} +3 -3
- package/dist/{chunk-PECKKR4C.js.map → chunk-R3364RAL.js.map} +1 -1
- package/dist/{chunk-IBNCZTNQ.js → chunk-YV2YGQRY.js} +3 -3
- package/dist/{chunk-IBNCZTNQ.js.map → chunk-YV2YGQRY.js.map} +1 -1
- package/dist/datasets/index.cjs +11 -11
- package/dist/datasets/index.js +1 -1
- package/dist/docs/SKILL.md +1 -1
- package/dist/docs/assets/SOURCE_MAP.json +103 -103
- package/dist/docs/references/docs-workflows-suspend-and-resume.md +1 -1
- 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 +2 -2
- package/dist/harness/index.js +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.js +1 -1
- package/dist/loop/index.cjs +12 -12
- 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/processors/index.cjs +41 -41
- package/dist/processors/index.js +1 -1
- 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 +25 -25
- package/dist/workflows/index.js +1 -1
- package/package.json +8 -8
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkOQ5LZ6OV_cjs = require('../../chunk-OQ5LZ6OV.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "EventedExecutionEngine", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkOQ5LZ6OV_cjs.EventedExecutionEngine; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "EventedRun", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkOQ5LZ6OV_cjs.EventedRun; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "EventedWorkflow", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkOQ5LZ6OV_cjs.EventedWorkflow; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "StepExecutor", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkOQ5LZ6OV_cjs.StepExecutor; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "WorkflowEventProcessor", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkOQ5LZ6OV_cjs.WorkflowEventProcessor; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "cloneStep", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkOQ5LZ6OV_cjs.cloneStep; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "cloneWorkflow", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkOQ5LZ6OV_cjs.cloneWorkflow; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "createStep", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkOQ5LZ6OV_cjs.createStep; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "createWorkflow", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkOQ5LZ6OV_cjs.createWorkflow; }
|
|
42
42
|
});
|
|
43
43
|
//# sourceMappingURL=index.cjs.map
|
|
44
44
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { EventedExecutionEngine, EventedRun, EventedWorkflow, StepExecutor, WorkflowEventProcessor, cloneStep, cloneWorkflow, createStep, createWorkflow } from '../../chunk-
|
|
1
|
+
export { EventedExecutionEngine, EventedRun, EventedWorkflow, StepExecutor, WorkflowEventProcessor, cloneStep, cloneWorkflow, createStep, createWorkflow } from '../../chunk-YV2YGQRY.js';
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
package/dist/workflows/index.cjs
CHANGED
|
@@ -1,104 +1,104 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk7S6LA43E_cjs = require('../chunk-7S6LA43E.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 chunk7S6LA43E_cjs.DefaultExecutionEngine; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "ExecutionEngine", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunk7S6LA43E_cjs.ExecutionEngine; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "Run", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunk7S6LA43E_cjs.Run; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "Workflow", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunk7S6LA43E_cjs.Workflow; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "cleanStepResult", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunk7S6LA43E_cjs.cleanStepResult; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "cloneStep", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunk7S6LA43E_cjs.cloneStep; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "cloneWorkflow", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunk7S6LA43E_cjs.cloneWorkflow; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "createDeprecationProxy", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunk7S6LA43E_cjs.createDeprecationProxy; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "createStep", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunk7S6LA43E_cjs.createStep; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "createTimeTravelExecutionParams", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunk7S6LA43E_cjs.createTimeTravelExecutionParams; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "createWorkflow", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunk7S6LA43E_cjs.createWorkflow; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "getResumeLabelsByStepId", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunk7S6LA43E_cjs.getResumeLabelsByStepId; }
|
|
54
54
|
});
|
|
55
55
|
Object.defineProperty(exports, "getStepIds", {
|
|
56
56
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunk7S6LA43E_cjs.getStepIds; }
|
|
58
58
|
});
|
|
59
59
|
Object.defineProperty(exports, "getStepResult", {
|
|
60
60
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
61
|
+
get: function () { return chunk7S6LA43E_cjs.getStepResult; }
|
|
62
62
|
});
|
|
63
63
|
Object.defineProperty(exports, "getZodErrors", {
|
|
64
64
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
65
|
+
get: function () { return chunk7S6LA43E_cjs.getZodErrors; }
|
|
66
66
|
});
|
|
67
67
|
Object.defineProperty(exports, "hydrateSerializedStepErrors", {
|
|
68
68
|
enumerable: true,
|
|
69
|
-
get: function () { return
|
|
69
|
+
get: function () { return chunk7S6LA43E_cjs.hydrateSerializedStepErrors; }
|
|
70
70
|
});
|
|
71
71
|
Object.defineProperty(exports, "isProcessor", {
|
|
72
72
|
enumerable: true,
|
|
73
|
-
get: function () { return
|
|
73
|
+
get: function () { return chunk7S6LA43E_cjs.isProcessor; }
|
|
74
74
|
});
|
|
75
75
|
Object.defineProperty(exports, "mapVariable", {
|
|
76
76
|
enumerable: true,
|
|
77
|
-
get: function () { return
|
|
77
|
+
get: function () { return chunk7S6LA43E_cjs.mapVariable; }
|
|
78
78
|
});
|
|
79
79
|
Object.defineProperty(exports, "runCountDeprecationMessage", {
|
|
80
80
|
enumerable: true,
|
|
81
|
-
get: function () { return
|
|
81
|
+
get: function () { return chunk7S6LA43E_cjs.runCountDeprecationMessage; }
|
|
82
82
|
});
|
|
83
83
|
Object.defineProperty(exports, "validateStepInput", {
|
|
84
84
|
enumerable: true,
|
|
85
|
-
get: function () { return
|
|
85
|
+
get: function () { return chunk7S6LA43E_cjs.validateStepInput; }
|
|
86
86
|
});
|
|
87
87
|
Object.defineProperty(exports, "validateStepRequestContext", {
|
|
88
88
|
enumerable: true,
|
|
89
|
-
get: function () { return
|
|
89
|
+
get: function () { return chunk7S6LA43E_cjs.validateStepRequestContext; }
|
|
90
90
|
});
|
|
91
91
|
Object.defineProperty(exports, "validateStepResumeData", {
|
|
92
92
|
enumerable: true,
|
|
93
|
-
get: function () { return
|
|
93
|
+
get: function () { return chunk7S6LA43E_cjs.validateStepResumeData; }
|
|
94
94
|
});
|
|
95
95
|
Object.defineProperty(exports, "validateStepStateData", {
|
|
96
96
|
enumerable: true,
|
|
97
|
-
get: function () { return
|
|
97
|
+
get: function () { return chunk7S6LA43E_cjs.validateStepStateData; }
|
|
98
98
|
});
|
|
99
99
|
Object.defineProperty(exports, "validateStepSuspendData", {
|
|
100
100
|
enumerable: true,
|
|
101
|
-
get: function () { return
|
|
101
|
+
get: function () { return chunk7S6LA43E_cjs.validateStepSuspendData; }
|
|
102
102
|
});
|
|
103
103
|
//# sourceMappingURL=index.cjs.map
|
|
104
104
|
//# 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, getZodErrors, 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, getZodErrors, hydrateSerializedStepErrors, isProcessor, mapVariable, runCountDeprecationMessage, validateStepInput, validateStepRequestContext, validateStepResumeData, validateStepStateData, validateStepSuspendData } from '../chunk-MZIMV2BB.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.5.0
|
|
3
|
+
"version": "1.5.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -217,7 +217,7 @@
|
|
|
217
217
|
"picomatch": "^4.0.3",
|
|
218
218
|
"radash": "^12.1.1",
|
|
219
219
|
"xxhash-wasm": "^1.1.0",
|
|
220
|
-
"@mastra/schema-compat": "1.1.1
|
|
220
|
+
"@mastra/schema-compat": "1.1.1"
|
|
221
221
|
},
|
|
222
222
|
"peerDependencies": {
|
|
223
223
|
"zod": "^3.25.0 || ^4.0.0"
|
|
@@ -258,12 +258,12 @@
|
|
|
258
258
|
"typescript": "^5.9.3",
|
|
259
259
|
"vitest": "4.0.16",
|
|
260
260
|
"zod": "^3.25.76",
|
|
261
|
-
"@internal/ai-sdk-v4": "0.0.
|
|
262
|
-
"@internal/ai-v6": "0.0.
|
|
263
|
-
"@internal/ai-sdk-v5": "0.0.
|
|
264
|
-
"@internal/external-types": "0.0.
|
|
265
|
-
"@internal/lint": "0.0.
|
|
266
|
-
"@internal/types-builder": "0.0.
|
|
261
|
+
"@internal/ai-sdk-v4": "0.0.7",
|
|
262
|
+
"@internal/ai-v6": "0.0.7",
|
|
263
|
+
"@internal/ai-sdk-v5": "0.0.7",
|
|
264
|
+
"@internal/external-types": "0.0.10",
|
|
265
|
+
"@internal/lint": "0.0.60",
|
|
266
|
+
"@internal/types-builder": "0.0.35"
|
|
267
267
|
},
|
|
268
268
|
"engines": {
|
|
269
269
|
"node": ">=22.13.0"
|