@mastra/core 1.24.0-alpha.1 → 1.24.1-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 +81 -0
- package/dist/agent/index.cjs +8 -8
- package/dist/agent/index.js +1 -1
- package/dist/browser/index.cjs +2 -2
- package/dist/browser/index.js +1 -1
- package/dist/channels/index.cjs +4 -4
- package/dist/channels/index.js +1 -1
- package/dist/{chunk-BFOZOAU2.cjs → chunk-4636ENMP.cjs} +56 -108
- package/dist/chunk-4636ENMP.cjs.map +1 -0
- package/dist/{chunk-MK5IF24D.js → chunk-5CPRW7GV.js} +3 -3
- package/dist/{chunk-MK5IF24D.js.map → chunk-5CPRW7GV.js.map} +1 -1
- package/dist/{chunk-EJ62D3QH.js → chunk-6TQZIQ23.js} +6 -6
- package/dist/{chunk-EJ62D3QH.js.map → chunk-6TQZIQ23.js.map} +1 -1
- package/dist/{chunk-L73KZFX6.cjs → chunk-AX3PKXOT.cjs} +6 -6
- package/dist/{chunk-L73KZFX6.cjs.map → chunk-AX3PKXOT.cjs.map} +1 -1
- package/dist/{chunk-365PDOQ4.cjs → chunk-CNCOPROQ.cjs} +9 -9
- package/dist/{chunk-365PDOQ4.cjs.map → chunk-CNCOPROQ.cjs.map} +1 -1
- package/dist/{chunk-CY4AMNDV.cjs → chunk-H2SFI3RZ.cjs} +7 -7
- package/dist/{chunk-CY4AMNDV.cjs.map → chunk-H2SFI3RZ.cjs.map} +1 -1
- package/dist/{chunk-D64ZY3NT.cjs → chunk-HAF2U4ON.cjs} +17 -17
- package/dist/{chunk-D64ZY3NT.cjs.map → chunk-HAF2U4ON.cjs.map} +1 -1
- package/dist/{chunk-GAW7WFCY.js → chunk-IWMYLZQ6.js} +3 -3
- package/dist/{chunk-GAW7WFCY.js.map → chunk-IWMYLZQ6.js.map} +1 -1
- package/dist/{chunk-PCHML5XO.js → chunk-JG7M2F2C.js} +4 -4
- package/dist/{chunk-PCHML5XO.js.map → chunk-JG7M2F2C.js.map} +1 -1
- package/dist/{chunk-JBFAGOAG.js → chunk-JRTGAEET.js} +9 -9
- package/dist/{chunk-JBFAGOAG.js.map → chunk-JRTGAEET.js.map} +1 -1
- package/dist/{chunk-SYH64AGV.cjs → chunk-K2NJIVZ5.cjs} +14 -14
- package/dist/{chunk-SYH64AGV.cjs.map → chunk-K2NJIVZ5.cjs.map} +1 -1
- package/dist/{chunk-IKUMKFM4.js → chunk-KQABOPAK.js} +4 -4
- package/dist/{chunk-IKUMKFM4.js.map → chunk-KQABOPAK.js.map} +1 -1
- package/dist/{chunk-3RI7ILBW.js → chunk-MYYPIBLR.js} +3 -3
- package/dist/{chunk-3RI7ILBW.js.map → chunk-MYYPIBLR.js.map} +1 -1
- package/dist/{chunk-SUEVJYTA.cjs → chunk-NC3NDZWM.cjs} +185 -185
- package/dist/{chunk-SUEVJYTA.cjs.map → chunk-NC3NDZWM.cjs.map} +1 -1
- package/dist/{chunk-EAQQP6OK.cjs → chunk-NWGH6OSA.cjs} +48 -48
- package/dist/{chunk-EAQQP6OK.cjs.map → chunk-NWGH6OSA.cjs.map} +1 -1
- package/dist/{chunk-V657RNGK.js → chunk-Q55SOMNM.js} +44 -96
- package/dist/chunk-Q55SOMNM.js.map +1 -0
- package/dist/{chunk-LUEXY2QV.js → chunk-QBUDLHGF.js} +3 -3
- package/dist/{chunk-LUEXY2QV.js.map → chunk-QBUDLHGF.js.map} +1 -1
- package/dist/{chunk-CN6AFOVV.js → chunk-RKBY3V7R.js} +4 -4
- package/dist/{chunk-CN6AFOVV.js.map → chunk-RKBY3V7R.js.map} +1 -1
- package/dist/{chunk-XEDVYHBK.cjs → chunk-W7JPJ5VP.cjs} +3 -3
- package/dist/{chunk-XEDVYHBK.cjs.map → chunk-W7JPJ5VP.cjs.map} +1 -1
- package/dist/{chunk-B2FQ6L2I.cjs → chunk-XCFSSKCI.cjs} +5 -5
- package/dist/{chunk-B2FQ6L2I.cjs.map → chunk-XCFSSKCI.cjs.map} +1 -1
- package/dist/{chunk-PQKSETS5.js → chunk-XOJF3SNB.js} +3 -3
- package/dist/{chunk-PQKSETS5.js.map → chunk-XOJF3SNB.js.map} +1 -1
- package/dist/{chunk-FCW225T4.cjs → chunk-Y6I7BKY3.cjs} +77 -77
- package/dist/{chunk-FCW225T4.cjs.map → chunk-Y6I7BKY3.cjs.map} +1 -1
- package/dist/datasets/index.cjs +11 -11
- package/dist/datasets/index.js +1 -1
- package/dist/docs/SKILL.md +6 -1
- package/dist/docs/assets/SOURCE_MAP.json +133 -133
- package/dist/docs/references/docs-editor-overview.md +221 -0
- package/dist/docs/references/docs-editor-prompts.md +134 -0
- package/dist/docs/references/docs-editor-tools.md +152 -0
- package/dist/docs/references/docs-studio-overview.md +2 -0
- package/dist/docs/references/reference-client-js-agents.md +136 -0
- package/dist/docs/references/reference-core-getEditor.md +35 -0
- package/dist/docs/references/reference-editor-mastra-editor.md +168 -0
- package/dist/docs/references/reference.md +3 -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 +20 -20
- package/dist/llm/index.js +5 -5
- package/dist/llm/model/provider-types.generated.d.ts +15 -40
- 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/mastra-KYZOJWVP.cjs +12 -0
- package/dist/{mastra-7CFH7DGM.cjs.map → mastra-KYZOJWVP.cjs.map} +1 -1
- package/dist/mastra-THXHB2YW.js +3 -0
- package/dist/{mastra-5YHFXAJO.js.map → mastra-THXHB2YW.js.map} +1 -1
- package/dist/memory/index.cjs +19 -19
- package/dist/memory/index.js +1 -1
- package/dist/models-dev-JNR72RHW.cjs +12 -0
- package/dist/{models-dev-X2MWNPAU.cjs.map → models-dev-JNR72RHW.cjs.map} +1 -1
- package/dist/models-dev-Y4N5GCLA.js +3 -0
- package/dist/{models-dev-ZXC3IYLG.js.map → models-dev-Y4N5GCLA.js.map} +1 -1
- package/dist/netlify-C25NVF5O.cjs +12 -0
- package/dist/{netlify-GOILLTQO.cjs.map → netlify-C25NVF5O.cjs.map} +1 -1
- package/dist/netlify-IGYUFSZG.js +3 -0
- package/dist/{netlify-HJL7EXHY.js.map → netlify-IGYUFSZG.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-3HZNLU3V.js +3 -0
- package/dist/{provider-registry-UWTCPEFF.js.map → provider-registry-3HZNLU3V.js.map} +1 -1
- package/dist/provider-registry-PKUEVZXH.cjs +44 -0
- package/dist/{provider-registry-25ELOB67.cjs.map → provider-registry-PKUEVZXH.cjs.map} +1 -1
- package/dist/provider-registry.json +36 -88
- 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 +15 -40
- package/dist/chunk-BFOZOAU2.cjs.map +0 -1
- package/dist/chunk-V657RNGK.js.map +0 -1
- package/dist/mastra-5YHFXAJO.js +0 -3
- package/dist/mastra-7CFH7DGM.cjs +0 -12
- package/dist/models-dev-X2MWNPAU.cjs +0 -12
- package/dist/models-dev-ZXC3IYLG.js +0 -3
- package/dist/netlify-GOILLTQO.cjs +0 -12
- package/dist/netlify-HJL7EXHY.js +0 -3
- package/dist/provider-registry-25ELOB67.cjs +0 -44
- package/dist/provider-registry-UWTCPEFF.js +0 -3
package/dist/stream/index.cjs
CHANGED
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkK2NJIVZ5_cjs = require('../chunk-K2NJIVZ5.cjs');
|
|
4
4
|
var chunkRJAOQKHJ_cjs = require('../chunk-RJAOQKHJ.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "ChunkFrom", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunkK2NJIVZ5_cjs.ChunkFrom; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "MastraAgentNetworkStream", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkK2NJIVZ5_cjs.MastraAgentNetworkStream; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "MastraModelOutput", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkK2NJIVZ5_cjs.MastraModelOutput; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "WorkflowRunOutput", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkK2NJIVZ5_cjs.WorkflowRunOutput; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "convertFullStreamChunkToMastra", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkK2NJIVZ5_cjs.convertFullStreamChunkToMastra; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "convertFullStreamChunkToUIMessageStream", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkK2NJIVZ5_cjs.convertFullStreamChunkToUIMessageStream; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "convertMastraChunkToAISDKv5", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkK2NJIVZ5_cjs.convertMastraChunkToAISDKv5; }
|
|
35
35
|
});
|
|
36
36
|
Object.defineProperty(exports, "DefaultGeneratedFile", {
|
|
37
37
|
enumerable: true,
|
package/dist/stream/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { ChunkFrom, MastraAgentNetworkStream, MastraModelOutput, WorkflowRunOutput, convertFullStreamChunkToMastra, convertFullStreamChunkToUIMessageStream, convertMastraChunkToAISDKv5 } from '../chunk-
|
|
1
|
+
export { ChunkFrom, MastraAgentNetworkStream, MastraModelOutput, WorkflowRunOutput, convertFullStreamChunkToMastra, convertFullStreamChunkToUIMessageStream, convertMastraChunkToAISDKv5 } from '../chunk-JG7M2F2C.js';
|
|
2
2
|
export { DefaultGeneratedFile, DefaultGeneratedFileWithType } from '../chunk-I7DUPZFN.js';
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkH2SFI3RZ_cjs = require('../chunk-H2SFI3RZ.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "getSettings", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkH2SFI3RZ_cjs.getSettings; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "isToolLoopAgentLike", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkH2SFI3RZ_cjs.isToolLoopAgentLike; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "toolLoopAgentToMastraAgent", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkH2SFI3RZ_cjs.toolLoopAgentToMastraAgent; }
|
|
18
18
|
});
|
|
19
19
|
//# sourceMappingURL=index.cjs.map
|
|
20
20
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { getSettings, isToolLoopAgentLike, toolLoopAgentToMastraAgent } from '../chunk-
|
|
1
|
+
export { getSettings, isToolLoopAgentLike, toolLoopAgentToMastraAgent } from '../chunk-RKBY3V7R.js';
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkNWGH6OSA_cjs = require('../../chunk-NWGH6OSA.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 chunkNWGH6OSA_cjs.EventedExecutionEngine; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "EventedRun", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkNWGH6OSA_cjs.EventedRun; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "EventedWorkflow", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkNWGH6OSA_cjs.EventedWorkflow; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "StepExecutor", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkNWGH6OSA_cjs.StepExecutor; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "WorkflowEventProcessor", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkNWGH6OSA_cjs.WorkflowEventProcessor; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "cloneStep", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkNWGH6OSA_cjs.cloneStep; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "cloneWorkflow", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkNWGH6OSA_cjs.cloneWorkflow; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "createStep", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkNWGH6OSA_cjs.createStep; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "createWorkflow", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkNWGH6OSA_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-5CPRW7GV.js';
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
package/dist/workflows/index.cjs
CHANGED
|
@@ -1,100 +1,100 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkK2NJIVZ5_cjs = require('../chunk-K2NJIVZ5.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 chunkK2NJIVZ5_cjs.DefaultExecutionEngine; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "ExecutionEngine", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkK2NJIVZ5_cjs.ExecutionEngine; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "Run", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkK2NJIVZ5_cjs.Run; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "Workflow", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkK2NJIVZ5_cjs.Workflow; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "cleanStepResult", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkK2NJIVZ5_cjs.cleanStepResult; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "cloneStep", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkK2NJIVZ5_cjs.cloneStep; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "cloneWorkflow", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkK2NJIVZ5_cjs.cloneWorkflow; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "createDeprecationProxy", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkK2NJIVZ5_cjs.createDeprecationProxy; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "createStep", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkK2NJIVZ5_cjs.createStep; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "createTimeTravelExecutionParams", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkK2NJIVZ5_cjs.createTimeTravelExecutionParams; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "createWorkflow", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkK2NJIVZ5_cjs.createWorkflow; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "getResumeLabelsByStepId", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkK2NJIVZ5_cjs.getResumeLabelsByStepId; }
|
|
54
54
|
});
|
|
55
55
|
Object.defineProperty(exports, "getStepIds", {
|
|
56
56
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunkK2NJIVZ5_cjs.getStepIds; }
|
|
58
58
|
});
|
|
59
59
|
Object.defineProperty(exports, "getStepResult", {
|
|
60
60
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
61
|
+
get: function () { return chunkK2NJIVZ5_cjs.getStepResult; }
|
|
62
62
|
});
|
|
63
63
|
Object.defineProperty(exports, "hydrateSerializedStepErrors", {
|
|
64
64
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
65
|
+
get: function () { return chunkK2NJIVZ5_cjs.hydrateSerializedStepErrors; }
|
|
66
66
|
});
|
|
67
67
|
Object.defineProperty(exports, "isProcessor", {
|
|
68
68
|
enumerable: true,
|
|
69
|
-
get: function () { return
|
|
69
|
+
get: function () { return chunkK2NJIVZ5_cjs.isProcessor; }
|
|
70
70
|
});
|
|
71
71
|
Object.defineProperty(exports, "mapVariable", {
|
|
72
72
|
enumerable: true,
|
|
73
|
-
get: function () { return
|
|
73
|
+
get: function () { return chunkK2NJIVZ5_cjs.mapVariable; }
|
|
74
74
|
});
|
|
75
75
|
Object.defineProperty(exports, "runCountDeprecationMessage", {
|
|
76
76
|
enumerable: true,
|
|
77
|
-
get: function () { return
|
|
77
|
+
get: function () { return chunkK2NJIVZ5_cjs.runCountDeprecationMessage; }
|
|
78
78
|
});
|
|
79
79
|
Object.defineProperty(exports, "validateStepInput", {
|
|
80
80
|
enumerable: true,
|
|
81
|
-
get: function () { return
|
|
81
|
+
get: function () { return chunkK2NJIVZ5_cjs.validateStepInput; }
|
|
82
82
|
});
|
|
83
83
|
Object.defineProperty(exports, "validateStepRequestContext", {
|
|
84
84
|
enumerable: true,
|
|
85
|
-
get: function () { return
|
|
85
|
+
get: function () { return chunkK2NJIVZ5_cjs.validateStepRequestContext; }
|
|
86
86
|
});
|
|
87
87
|
Object.defineProperty(exports, "validateStepResumeData", {
|
|
88
88
|
enumerable: true,
|
|
89
|
-
get: function () { return
|
|
89
|
+
get: function () { return chunkK2NJIVZ5_cjs.validateStepResumeData; }
|
|
90
90
|
});
|
|
91
91
|
Object.defineProperty(exports, "validateStepStateData", {
|
|
92
92
|
enumerable: true,
|
|
93
|
-
get: function () { return
|
|
93
|
+
get: function () { return chunkK2NJIVZ5_cjs.validateStepStateData; }
|
|
94
94
|
});
|
|
95
95
|
Object.defineProperty(exports, "validateStepSuspendData", {
|
|
96
96
|
enumerable: true,
|
|
97
|
-
get: function () { return
|
|
97
|
+
get: function () { return chunkK2NJIVZ5_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-JG7M2F2C.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.24.
|
|
3
|
+
"version": "1.24.1-alpha.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -289,15 +289,15 @@
|
|
|
289
289
|
"vscode-jsonrpc": "^8.2.1",
|
|
290
290
|
"vscode-languageserver-protocol": "^3.17.5",
|
|
291
291
|
"zod": "^4.3.6",
|
|
292
|
-
"@internal/ai-sdk-v4": "0.0.
|
|
293
|
-
"@internal/ai-
|
|
294
|
-
"@internal/external-types": "0.0.30",
|
|
295
|
-
"@internal/ai-sdk-v5": "0.0.27",
|
|
292
|
+
"@internal/ai-sdk-v4": "0.0.28",
|
|
293
|
+
"@internal/ai-sdk-v5": "0.0.28",
|
|
296
294
|
"@internal/core": "0.0.0",
|
|
297
|
-
"@internal/
|
|
298
|
-
"@internal/
|
|
299
|
-
"@internal/types
|
|
300
|
-
"@internal/
|
|
295
|
+
"@internal/ai-v6": "0.0.28",
|
|
296
|
+
"@internal/llm-recorder": "0.0.17",
|
|
297
|
+
"@internal/external-types": "0.0.31",
|
|
298
|
+
"@internal/lint": "0.0.81",
|
|
299
|
+
"@internal/test-utils": "0.0.17",
|
|
300
|
+
"@internal/types-builder": "0.0.56"
|
|
301
301
|
},
|
|
302
302
|
"engines": {
|
|
303
303
|
"node": ">=22.13.0"
|
|
@@ -410,6 +410,7 @@ export type ProviderModelsMap = {
|
|
|
410
410
|
'glm-4.7-flashx',
|
|
411
411
|
'glm-5',
|
|
412
412
|
'glm-5-turbo',
|
|
413
|
+
'glm-5.1',
|
|
413
414
|
'glm-5v-turbo',
|
|
414
415
|
];
|
|
415
416
|
readonly xai: readonly [
|
|
@@ -472,6 +473,7 @@ export type ProviderModelsMap = {
|
|
|
472
473
|
'google/gemini-3.1-flash-lite',
|
|
473
474
|
'google/gemini-3.1-pro',
|
|
474
475
|
'google/gemini-deep-research',
|
|
476
|
+
'google/gemma-4-31b',
|
|
475
477
|
'google/imagen-3',
|
|
476
478
|
'google/imagen-3-fast',
|
|
477
479
|
'google/imagen-4',
|
|
@@ -580,6 +582,7 @@ export type ProviderModelsMap = {
|
|
|
580
582
|
'gemini-3-flash',
|
|
581
583
|
'gemini-3.1-pro',
|
|
582
584
|
'glm-5',
|
|
585
|
+
'glm-5.1',
|
|
583
586
|
'gpt-5',
|
|
584
587
|
'gpt-5-codex',
|
|
585
588
|
'gpt-5-nano',
|
|
@@ -599,7 +602,6 @@ export type ProviderModelsMap = {
|
|
|
599
602
|
'minimax-m2.5',
|
|
600
603
|
'minimax-m2.5-free',
|
|
601
604
|
'nemotron-3-super-free',
|
|
602
|
-
'qwen3.6-plus-free',
|
|
603
605
|
];
|
|
604
606
|
readonly berget: readonly [
|
|
605
607
|
'BAAI/bge-reranker-v2-m3',
|
|
@@ -623,6 +625,7 @@ export type ProviderModelsMap = {
|
|
|
623
625
|
'glm-4.7-flash',
|
|
624
626
|
'glm-4.7-flashx',
|
|
625
627
|
'glm-5',
|
|
628
|
+
'glm-5.1',
|
|
626
629
|
'glm-5v-turbo',
|
|
627
630
|
];
|
|
628
631
|
readonly nvidia: readonly [
|
|
@@ -909,6 +912,7 @@ export type ProviderModelsMap = {
|
|
|
909
912
|
'zai-org/GLM-4.7-TEE',
|
|
910
913
|
'zai-org/GLM-5-TEE',
|
|
911
914
|
'zai-org/GLM-5-Turbo',
|
|
915
|
+
'zai-org/GLM-5.1-TEE',
|
|
912
916
|
];
|
|
913
917
|
readonly lmstudio: readonly ['openai/gpt-oss-20b', 'qwen/qwen3-30b-a3b-2507', 'qwen/qwen3-coder-30b'];
|
|
914
918
|
readonly 'kimi-for-coding': readonly ['k2p5', 'kimi-k2-thinking'];
|
|
@@ -1030,13 +1034,12 @@ export type ProviderModelsMap = {
|
|
|
1030
1034
|
'xai/grok-4-fast',
|
|
1031
1035
|
];
|
|
1032
1036
|
readonly friendli: readonly [
|
|
1033
|
-
'MiniMaxAI/MiniMax-M2.1',
|
|
1034
1037
|
'MiniMaxAI/MiniMax-M2.5',
|
|
1035
1038
|
'Qwen/Qwen3-235B-A22B-Instruct-2507',
|
|
1036
1039
|
'meta-llama/Llama-3.1-8B-Instruct',
|
|
1037
1040
|
'meta-llama/Llama-3.3-70B-Instruct',
|
|
1038
|
-
'zai-org/GLM-4.7',
|
|
1039
1041
|
'zai-org/GLM-5',
|
|
1042
|
+
'zai-org/GLM-5.1',
|
|
1040
1043
|
];
|
|
1041
1044
|
readonly '302ai': readonly [
|
|
1042
1045
|
'MiniMax-M1',
|
|
@@ -1219,6 +1222,7 @@ export type ProviderModelsMap = {
|
|
|
1219
1222
|
'nova-pro-v1',
|
|
1220
1223
|
'qwen3-32b',
|
|
1221
1224
|
'qwen3-coder-480b-a35b-instruct',
|
|
1225
|
+
'qwen3-coder-next',
|
|
1222
1226
|
'qwen3-next-80b-a3b-thinking',
|
|
1223
1227
|
];
|
|
1224
1228
|
readonly 'siliconflow-cn': readonly [
|
|
@@ -1714,7 +1718,9 @@ export type ProviderModelsMap = {
|
|
|
1714
1718
|
'google/gemma-3n-e4b-it',
|
|
1715
1719
|
'google/gemma-3n-e4b-it:free',
|
|
1716
1720
|
'google/gemma-4-26b-a4b-it',
|
|
1721
|
+
'google/gemma-4-26b-a4b-it:free',
|
|
1717
1722
|
'google/gemma-4-31b-it',
|
|
1723
|
+
'google/gemma-4-31b-it:free',
|
|
1718
1724
|
'inception/mercury',
|
|
1719
1725
|
'inception/mercury-2',
|
|
1720
1726
|
'inception/mercury-coder',
|
|
@@ -1805,7 +1811,7 @@ export type ProviderModelsMap = {
|
|
|
1805
1811
|
'qwen/qwen3-next-80b-a3b-thinking',
|
|
1806
1812
|
'qwen/qwen3.5-397b-a17b',
|
|
1807
1813
|
'qwen/qwen3.5-plus-02-15',
|
|
1808
|
-
'qwen/qwen3.6-plus
|
|
1814
|
+
'qwen/qwen3.6-plus',
|
|
1809
1815
|
'sourceful/riverflow-v2-fast-preview',
|
|
1810
1816
|
'sourceful/riverflow-v2-max-preview',
|
|
1811
1817
|
'sourceful/riverflow-v2-standard-preview',
|
|
@@ -1922,6 +1928,7 @@ export type ProviderModelsMap = {
|
|
|
1922
1928
|
'z-ai/glm-4.7-flashx',
|
|
1923
1929
|
'z-ai/glm-5',
|
|
1924
1930
|
'z-ai/glm-5-turbo',
|
|
1931
|
+
'z-ai/glm-5.1',
|
|
1925
1932
|
'z-ai/glm-5v-turbo',
|
|
1926
1933
|
];
|
|
1927
1934
|
readonly perplexity: readonly ['sonar', 'sonar-deep-research', 'sonar-pro', 'sonar-reasoning-pro'];
|
|
@@ -3424,47 +3431,12 @@ export type ProviderModelsMap = {
|
|
|
3424
3431
|
'openai/gpt-oss-120b',
|
|
3425
3432
|
];
|
|
3426
3433
|
readonly 'cloudflare-workers-ai': readonly [
|
|
3427
|
-
'@cf/
|
|
3428
|
-
'@cf/aisingapore/gemma-sea-lion-v4-27b-it',
|
|
3429
|
-
'@cf/baai/bge-base-en-v1.5',
|
|
3430
|
-
'@cf/baai/bge-large-en-v1.5',
|
|
3431
|
-
'@cf/baai/bge-m3',
|
|
3432
|
-
'@cf/baai/bge-reranker-base',
|
|
3433
|
-
'@cf/baai/bge-small-en-v1.5',
|
|
3434
|
-
'@cf/deepgram/aura-2-en',
|
|
3435
|
-
'@cf/deepgram/aura-2-es',
|
|
3436
|
-
'@cf/deepgram/nova-3',
|
|
3437
|
-
'@cf/deepseek-ai/deepseek-r1-distill-qwen-32b',
|
|
3438
|
-
'@cf/facebook/bart-large-cnn',
|
|
3439
|
-
'@cf/google/gemma-3-12b-it',
|
|
3440
|
-
'@cf/huggingface/distilbert-sst-2-int8',
|
|
3441
|
-
'@cf/ibm-granite/granite-4.0-h-micro',
|
|
3442
|
-
'@cf/meta/llama-2-7b-chat-fp16',
|
|
3443
|
-
'@cf/meta/llama-3-8b-instruct',
|
|
3444
|
-
'@cf/meta/llama-3-8b-instruct-awq',
|
|
3445
|
-
'@cf/meta/llama-3.1-8b-instruct',
|
|
3446
|
-
'@cf/meta/llama-3.1-8b-instruct-awq',
|
|
3447
|
-
'@cf/meta/llama-3.1-8b-instruct-fp8',
|
|
3448
|
-
'@cf/meta/llama-3.2-11b-vision-instruct',
|
|
3449
|
-
'@cf/meta/llama-3.2-1b-instruct',
|
|
3450
|
-
'@cf/meta/llama-3.2-3b-instruct',
|
|
3451
|
-
'@cf/meta/llama-3.3-70b-instruct-fp8-fast',
|
|
3434
|
+
'@cf/google/gemma-4-26b-a4b-it',
|
|
3452
3435
|
'@cf/meta/llama-4-scout-17b-16e-instruct',
|
|
3453
|
-
'@cf/meta/llama-guard-3-8b',
|
|
3454
|
-
'@cf/meta/m2m100-1.2b',
|
|
3455
|
-
'@cf/mistral/mistral-7b-instruct-v0.1',
|
|
3456
|
-
'@cf/mistralai/mistral-small-3.1-24b-instruct',
|
|
3457
3436
|
'@cf/moonshotai/kimi-k2.5',
|
|
3458
|
-
'@cf/myshell-ai/melotts',
|
|
3459
3437
|
'@cf/nvidia/nemotron-3-120b-a12b',
|
|
3460
3438
|
'@cf/openai/gpt-oss-120b',
|
|
3461
3439
|
'@cf/openai/gpt-oss-20b',
|
|
3462
|
-
'@cf/pfnet/plamo-embedding-1b',
|
|
3463
|
-
'@cf/pipecat-ai/smart-turn-v2',
|
|
3464
|
-
'@cf/qwen/qwen2.5-coder-32b-instruct',
|
|
3465
|
-
'@cf/qwen/qwen3-30b-a3b-fp8',
|
|
3466
|
-
'@cf/qwen/qwen3-embedding-0.6b',
|
|
3467
|
-
'@cf/qwen/qwq-32b',
|
|
3468
3440
|
'@cf/zai-org/glm-4.7-flash',
|
|
3469
3441
|
];
|
|
3470
3442
|
readonly siliconflow: readonly [
|
|
@@ -3584,6 +3556,7 @@ export type ProviderModelsMap = {
|
|
|
3584
3556
|
'accounts/fireworks/models/glm-4p5-air',
|
|
3585
3557
|
'accounts/fireworks/models/glm-4p7',
|
|
3586
3558
|
'accounts/fireworks/models/glm-5',
|
|
3559
|
+
'accounts/fireworks/models/glm-5p1',
|
|
3587
3560
|
'accounts/fireworks/models/gpt-oss-120b',
|
|
3588
3561
|
'accounts/fireworks/models/gpt-oss-20b',
|
|
3589
3562
|
'accounts/fireworks/models/kimi-k2-instruct',
|
|
@@ -3591,10 +3564,12 @@ export type ProviderModelsMap = {
|
|
|
3591
3564
|
'accounts/fireworks/models/kimi-k2p5',
|
|
3592
3565
|
'accounts/fireworks/models/minimax-m2p1',
|
|
3593
3566
|
'accounts/fireworks/models/minimax-m2p5',
|
|
3567
|
+
'accounts/fireworks/models/qwen3p6-plus',
|
|
3594
3568
|
'accounts/fireworks/routers/kimi-k2p5-turbo',
|
|
3595
3569
|
];
|
|
3596
3570
|
readonly 'opencode-go': readonly [
|
|
3597
3571
|
'glm-5',
|
|
3572
|
+
'glm-5.1',
|
|
3598
3573
|
'kimi-k2.5',
|
|
3599
3574
|
'mimo-v2-omni',
|
|
3600
3575
|
'mimo-v2-pro',
|