@mastra/core 1.15.0-alpha.3 → 1.15.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 +113 -0
- package/dist/agent/index.cjs +8 -8
- package/dist/agent/index.js +1 -1
- package/dist/{chunk-K5NREJ7B.cjs → chunk-2YN2UNSQ.cjs} +6 -6
- package/dist/{chunk-K5NREJ7B.cjs.map → chunk-2YN2UNSQ.cjs.map} +1 -1
- package/dist/{chunk-VPN66PYF.js → chunk-3A2WQ6XL.js} +3 -3
- package/dist/{chunk-VPN66PYF.js.map → chunk-3A2WQ6XL.js.map} +1 -1
- package/dist/{chunk-BAUAKBM6.cjs → chunk-5JO4UOHA.cjs} +185 -185
- package/dist/{chunk-BAUAKBM6.cjs.map → chunk-5JO4UOHA.cjs.map} +1 -1
- package/dist/{chunk-K6EF74Q4.js → chunk-6JLJTBF7.js} +3 -3
- package/dist/chunk-6JLJTBF7.js.map +1 -0
- package/dist/{chunk-4HBFSEH5.cjs → chunk-BVFFFLMD.cjs} +7 -7
- package/dist/{chunk-4HBFSEH5.cjs.map → chunk-BVFFFLMD.cjs.map} +1 -1
- package/dist/{chunk-DYFEJA5J.cjs → chunk-BXSSIONK.cjs} +20 -17
- package/dist/chunk-BXSSIONK.cjs.map +1 -0
- package/dist/{chunk-7FCDSKDP.cjs → chunk-EB6WWMRH.cjs} +3 -3
- package/dist/chunk-EB6WWMRH.cjs.map +1 -0
- package/dist/{chunk-O5KUYSYB.js → chunk-EHC3R2MJ.js} +3 -3
- package/dist/{chunk-O5KUYSYB.js.map → chunk-EHC3R2MJ.js.map} +1 -1
- package/dist/{chunk-CJHZXD3U.js → chunk-H4QQ6U2N.js} +7 -7
- package/dist/{chunk-CJHZXD3U.js.map → chunk-H4QQ6U2N.js.map} +1 -1
- package/dist/{chunk-SVHGG25E.js → chunk-JEAJVWXB.js} +9 -9
- package/dist/{chunk-SVHGG25E.js.map → chunk-JEAJVWXB.js.map} +1 -1
- package/dist/{chunk-XOBYVWML.cjs → chunk-NI5Q26SA.cjs} +10 -10
- package/dist/{chunk-XOBYVWML.cjs.map → chunk-NI5Q26SA.cjs.map} +1 -1
- package/dist/{chunk-A5IWSJLJ.cjs → chunk-P2PWEGRW.cjs} +76 -76
- package/dist/{chunk-A5IWSJLJ.cjs.map → chunk-P2PWEGRW.cjs.map} +1 -1
- package/dist/{chunk-M4AJQGAW.js → chunk-P4GCK6VL.js} +12 -9
- package/dist/chunk-P4GCK6VL.js.map +1 -0
- package/dist/{chunk-OFY7LQSG.cjs → chunk-PJTQ3KPM.cjs} +49 -49
- package/dist/chunk-PJTQ3KPM.cjs.map +1 -0
- package/dist/{chunk-5TR3QHRW.cjs → chunk-Q37F6PBO.cjs} +16 -16
- package/dist/{chunk-5TR3QHRW.cjs.map → chunk-Q37F6PBO.cjs.map} +1 -1
- package/dist/{chunk-MFB7BS3L.js → chunk-RTQZRDV7.js} +24 -8
- package/dist/chunk-RTQZRDV7.js.map +1 -0
- package/dist/{chunk-3QVIGF2C.js → chunk-SEXK27FJ.js} +4 -4
- package/dist/chunk-SEXK27FJ.js.map +1 -0
- package/dist/{chunk-6H4DIT5W.cjs → chunk-U37AM3YI.cjs} +5 -5
- package/dist/{chunk-6H4DIT5W.cjs.map → chunk-U37AM3YI.cjs.map} +1 -1
- package/dist/{chunk-AVLD4VHQ.js → chunk-WAPASC33.js} +4 -4
- package/dist/{chunk-AVLD4VHQ.js.map → chunk-WAPASC33.js.map} +1 -1
- package/dist/{chunk-B5M72XCG.js → chunk-WRHDZMKQ.js} +4 -4
- package/dist/{chunk-B5M72XCG.js.map → chunk-WRHDZMKQ.js.map} +1 -1
- package/dist/{chunk-TRLOXCPX.cjs → chunk-XIQD3JK4.cjs} +25 -9
- package/dist/chunk-XIQD3JK4.cjs.map +1 -0
- package/dist/{chunk-6OM5P63S.js → chunk-Z6IJWMIL.js} +4 -4
- package/dist/{chunk-6OM5P63S.js.map → chunk-Z6IJWMIL.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 +122 -122
- package/dist/docs/references/docs-memory-observational-memory.md +28 -0
- package/dist/docs/references/reference-memory-observational-memory.md +38 -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 +9 -1
- 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/memory/memory.d.ts.map +1 -1
- package/dist/memory/mock.d.ts +3 -2
- package/dist/memory/mock.d.ts.map +1 -1
- package/dist/memory/types.d.ts +15 -0
- package/dist/memory/types.d.ts.map +1 -1
- package/dist/models-dev-MYQ5DG6M.js +3 -0
- package/dist/{models-dev-KSUL2WSE.js.map → models-dev-MYQ5DG6M.js.map} +1 -1
- package/dist/models-dev-U7CZOMQF.cjs +12 -0
- package/dist/{models-dev-N3BB7QC6.cjs.map → models-dev-U7CZOMQF.cjs.map} +1 -1
- package/dist/netlify-GCMZMVMD.cjs +12 -0
- package/dist/{netlify-5FZZLF2V.cjs.map → netlify-GCMZMVMD.cjs.map} +1 -1
- package/dist/netlify-MUGFMWEG.js +3 -0
- package/dist/{netlify-YHUBX5AX.js.map → netlify-MUGFMWEG.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 +42 -42
- package/dist/processors/index.js +1 -1
- package/dist/provider-registry-3BGGCZ2Y.js +3 -0
- package/dist/{provider-registry-52PKE45P.js.map → provider-registry-3BGGCZ2Y.js.map} +1 -1
- package/dist/provider-registry-QXHI4DMY.cjs +40 -0
- package/dist/{provider-registry-YH7WKSYN.cjs.map → provider-registry-QXHI4DMY.cjs.map} +1 -1
- package/dist/provider-registry.json +20 -4
- 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 +10 -10
- package/src/llm/model/provider-types.generated.d.ts +9 -1
- package/dist/chunk-3QVIGF2C.js.map +0 -1
- package/dist/chunk-7FCDSKDP.cjs.map +0 -1
- package/dist/chunk-DYFEJA5J.cjs.map +0 -1
- package/dist/chunk-K6EF74Q4.js.map +0 -1
- package/dist/chunk-M4AJQGAW.js.map +0 -1
- package/dist/chunk-MFB7BS3L.js.map +0 -1
- package/dist/chunk-OFY7LQSG.cjs.map +0 -1
- package/dist/chunk-TRLOXCPX.cjs.map +0 -1
- package/dist/models-dev-KSUL2WSE.js +0 -3
- package/dist/models-dev-N3BB7QC6.cjs +0 -12
- package/dist/netlify-5FZZLF2V.cjs +0 -12
- package/dist/netlify-YHUBX5AX.js +0 -3
- package/dist/provider-registry-52PKE45P.js +0 -3
- package/dist/provider-registry-YH7WKSYN.cjs +0 -40
package/dist/relevance/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkBXSSIONK_cjs = require('../chunk-BXSSIONK.cjs');
|
|
4
4
|
|
|
5
5
|
// src/relevance/relevance-score-provider.ts
|
|
6
6
|
function createSimilarityPrompt(query, text) {
|
|
@@ -17,7 +17,7 @@ Relevance score (0-1):`;
|
|
|
17
17
|
var MastraAgentRelevanceScorer = class {
|
|
18
18
|
agent;
|
|
19
19
|
constructor(name, model) {
|
|
20
|
-
this.agent = new
|
|
20
|
+
this.agent = new chunkBXSSIONK_cjs.Agent({
|
|
21
21
|
id: `relevance-scorer-${name}`,
|
|
22
22
|
name: `Relevance Scorer ${name}`,
|
|
23
23
|
instructions: `You are a specialized agent for evaluating the relevance of text to queries.
|
|
@@ -37,7 +37,7 @@ Always return just the number, no explanation.`,
|
|
|
37
37
|
const prompt = createSimilarityPrompt(query, text);
|
|
38
38
|
const model = await this.agent.getModel();
|
|
39
39
|
let response;
|
|
40
|
-
if (
|
|
40
|
+
if (chunkBXSSIONK_cjs.isSupportedLanguageModel(model)) {
|
|
41
41
|
const responseText = await this.agent.generate(prompt);
|
|
42
42
|
response = responseText.text;
|
|
43
43
|
} else {
|
package/dist/relevance/index.js
CHANGED
package/dist/stream/index.cjs
CHANGED
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkBXSSIONK_cjs = require('../chunk-BXSSIONK.cjs');
|
|
4
4
|
var chunkO6O5MD7Q_cjs = require('../chunk-O6O5MD7Q.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 chunkBXSSIONK_cjs.ChunkFrom; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "MastraAgentNetworkStream", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkBXSSIONK_cjs.MastraAgentNetworkStream; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "MastraModelOutput", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkBXSSIONK_cjs.MastraModelOutput; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "WorkflowRunOutput", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkBXSSIONK_cjs.WorkflowRunOutput; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "convertFullStreamChunkToMastra", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkBXSSIONK_cjs.convertFullStreamChunkToMastra; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "convertFullStreamChunkToUIMessageStream", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkBXSSIONK_cjs.convertFullStreamChunkToUIMessageStream; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "convertMastraChunkToAISDKv5", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkBXSSIONK_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-P4GCK6VL.js';
|
|
2
2
|
export { DefaultGeneratedFile, DefaultGeneratedFileWithType } from '../chunk-YPJ5V2S5.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 chunkBVFFFLMD_cjs = require('../chunk-BVFFFLMD.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 chunkBVFFFLMD_cjs.getSettings; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "isToolLoopAgentLike", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkBVFFFLMD_cjs.isToolLoopAgentLike; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "toolLoopAgentToMastraAgent", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkBVFFFLMD_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-Z6IJWMIL.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 chunkPJTQ3KPM_cjs = require('../../chunk-PJTQ3KPM.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 chunkPJTQ3KPM_cjs.EventedExecutionEngine; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "EventedRun", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkPJTQ3KPM_cjs.EventedRun; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "EventedWorkflow", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkPJTQ3KPM_cjs.EventedWorkflow; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "StepExecutor", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkPJTQ3KPM_cjs.StepExecutor; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "WorkflowEventProcessor", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkPJTQ3KPM_cjs.WorkflowEventProcessor; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "cloneStep", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkPJTQ3KPM_cjs.cloneStep; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "cloneWorkflow", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkPJTQ3KPM_cjs.cloneWorkflow; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "createStep", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkPJTQ3KPM_cjs.createStep; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "createWorkflow", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkPJTQ3KPM_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-SEXK27FJ.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 chunkBXSSIONK_cjs = require('../chunk-BXSSIONK.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 chunkBXSSIONK_cjs.DefaultExecutionEngine; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "ExecutionEngine", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkBXSSIONK_cjs.ExecutionEngine; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "Run", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkBXSSIONK_cjs.Run; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "Workflow", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkBXSSIONK_cjs.Workflow; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "cleanStepResult", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkBXSSIONK_cjs.cleanStepResult; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "cloneStep", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkBXSSIONK_cjs.cloneStep; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "cloneWorkflow", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkBXSSIONK_cjs.cloneWorkflow; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "createDeprecationProxy", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkBXSSIONK_cjs.createDeprecationProxy; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "createStep", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkBXSSIONK_cjs.createStep; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "createTimeTravelExecutionParams", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkBXSSIONK_cjs.createTimeTravelExecutionParams; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "createWorkflow", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkBXSSIONK_cjs.createWorkflow; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "getResumeLabelsByStepId", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkBXSSIONK_cjs.getResumeLabelsByStepId; }
|
|
54
54
|
});
|
|
55
55
|
Object.defineProperty(exports, "getStepIds", {
|
|
56
56
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunkBXSSIONK_cjs.getStepIds; }
|
|
58
58
|
});
|
|
59
59
|
Object.defineProperty(exports, "getStepResult", {
|
|
60
60
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
61
|
+
get: function () { return chunkBXSSIONK_cjs.getStepResult; }
|
|
62
62
|
});
|
|
63
63
|
Object.defineProperty(exports, "hydrateSerializedStepErrors", {
|
|
64
64
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
65
|
+
get: function () { return chunkBXSSIONK_cjs.hydrateSerializedStepErrors; }
|
|
66
66
|
});
|
|
67
67
|
Object.defineProperty(exports, "isProcessor", {
|
|
68
68
|
enumerable: true,
|
|
69
|
-
get: function () { return
|
|
69
|
+
get: function () { return chunkBXSSIONK_cjs.isProcessor; }
|
|
70
70
|
});
|
|
71
71
|
Object.defineProperty(exports, "mapVariable", {
|
|
72
72
|
enumerable: true,
|
|
73
|
-
get: function () { return
|
|
73
|
+
get: function () { return chunkBXSSIONK_cjs.mapVariable; }
|
|
74
74
|
});
|
|
75
75
|
Object.defineProperty(exports, "runCountDeprecationMessage", {
|
|
76
76
|
enumerable: true,
|
|
77
|
-
get: function () { return
|
|
77
|
+
get: function () { return chunkBXSSIONK_cjs.runCountDeprecationMessage; }
|
|
78
78
|
});
|
|
79
79
|
Object.defineProperty(exports, "validateStepInput", {
|
|
80
80
|
enumerable: true,
|
|
81
|
-
get: function () { return
|
|
81
|
+
get: function () { return chunkBXSSIONK_cjs.validateStepInput; }
|
|
82
82
|
});
|
|
83
83
|
Object.defineProperty(exports, "validateStepRequestContext", {
|
|
84
84
|
enumerable: true,
|
|
85
|
-
get: function () { return
|
|
85
|
+
get: function () { return chunkBXSSIONK_cjs.validateStepRequestContext; }
|
|
86
86
|
});
|
|
87
87
|
Object.defineProperty(exports, "validateStepResumeData", {
|
|
88
88
|
enumerable: true,
|
|
89
|
-
get: function () { return
|
|
89
|
+
get: function () { return chunkBXSSIONK_cjs.validateStepResumeData; }
|
|
90
90
|
});
|
|
91
91
|
Object.defineProperty(exports, "validateStepStateData", {
|
|
92
92
|
enumerable: true,
|
|
93
|
-
get: function () { return
|
|
93
|
+
get: function () { return chunkBXSSIONK_cjs.validateStepStateData; }
|
|
94
94
|
});
|
|
95
95
|
Object.defineProperty(exports, "validateStepSuspendData", {
|
|
96
96
|
enumerable: true,
|
|
97
|
-
get: function () { return
|
|
97
|
+
get: function () { return chunkBXSSIONK_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-P4GCK6VL.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.15.0
|
|
3
|
+
"version": "1.15.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -232,7 +232,7 @@
|
|
|
232
232
|
"radash": "^12.1.1",
|
|
233
233
|
"ws": "^8.19.0",
|
|
234
234
|
"xxhash-wasm": "^1.1.0",
|
|
235
|
-
"@mastra/schema-compat": "1.2.6
|
|
235
|
+
"@mastra/schema-compat": "1.2.6"
|
|
236
236
|
},
|
|
237
237
|
"peerDependencies": {
|
|
238
238
|
"zod": "^3.25.0 || ^4.0.0"
|
|
@@ -277,15 +277,15 @@
|
|
|
277
277
|
"vscode-jsonrpc": "^8.2.1",
|
|
278
278
|
"vscode-languageserver-protocol": "^3.17.5",
|
|
279
279
|
"zod": "^4.3.6",
|
|
280
|
+
"@internal/ai-sdk-v4": "0.0.20",
|
|
281
|
+
"@internal/ai-sdk-v5": "0.0.20",
|
|
282
|
+
"@internal/ai-v6": "0.0.20",
|
|
280
283
|
"@internal/core": "0.0.0",
|
|
281
|
-
"@internal/
|
|
282
|
-
"@internal/
|
|
283
|
-
"@internal/
|
|
284
|
-
"@internal/
|
|
285
|
-
"@internal/
|
|
286
|
-
"@internal/test-utils": "0.0.8",
|
|
287
|
-
"@internal/types-builder": "0.0.47",
|
|
288
|
-
"@internal/ai-sdk-v5": "0.0.19"
|
|
284
|
+
"@internal/external-types": "0.0.23",
|
|
285
|
+
"@internal/llm-recorder": "0.0.9",
|
|
286
|
+
"@internal/test-utils": "0.0.9",
|
|
287
|
+
"@internal/lint": "0.0.73",
|
|
288
|
+
"@internal/types-builder": "0.0.48"
|
|
289
289
|
},
|
|
290
290
|
"engines": {
|
|
291
291
|
"node": ">=22.13.0"
|
|
@@ -318,7 +318,7 @@ export type ProviderModelsMap = {
|
|
|
318
318
|
'perplexity/sonar',
|
|
319
319
|
'xai/grok-4-1-fast-non-reasoning',
|
|
320
320
|
];
|
|
321
|
-
readonly xiaomi: readonly ['mimo-v2-flash'];
|
|
321
|
+
readonly xiaomi: readonly ['mimo-v2-flash', 'mimo-v2-omni', 'mimo-v2-pro'];
|
|
322
322
|
readonly synthetic: readonly [
|
|
323
323
|
'hf:MiniMaxAI/MiniMax-M2',
|
|
324
324
|
'hf:MiniMaxAI/MiniMax-M2.1',
|
|
@@ -514,6 +514,7 @@ export type ProviderModelsMap = {
|
|
|
514
514
|
'minimax-m2',
|
|
515
515
|
'minimax-m2.1',
|
|
516
516
|
'minimax-m2.5',
|
|
517
|
+
'minimax-m2.7',
|
|
517
518
|
'ministral-3:14b',
|
|
518
519
|
'ministral-3:3b',
|
|
519
520
|
'ministral-3:8b',
|
|
@@ -905,7 +906,9 @@ export type ProviderModelsMap = {
|
|
|
905
906
|
'@cf/meta/m2m100-1.2b',
|
|
906
907
|
'@cf/mistral/mistral-7b-instruct-v0.1',
|
|
907
908
|
'@cf/mistralai/mistral-small-3.1-24b-instruct',
|
|
909
|
+
'@cf/moonshotai/kimi-k2.5',
|
|
908
910
|
'@cf/myshell-ai/melotts',
|
|
911
|
+
'@cf/nvidia/nemotron-3-120b-a12b',
|
|
909
912
|
'@cf/openai/gpt-oss-120b',
|
|
910
913
|
'@cf/openai/gpt-oss-20b',
|
|
911
914
|
'@cf/pfnet/plamo-embedding-1b',
|
|
@@ -1241,6 +1244,7 @@ export type ProviderModelsMap = {
|
|
|
1241
1244
|
'glm-4.6v-flash',
|
|
1242
1245
|
'glm-4.7',
|
|
1243
1246
|
'glm-5',
|
|
1247
|
+
'glm-5-turbo',
|
|
1244
1248
|
];
|
|
1245
1249
|
readonly deepseek: readonly ['deepseek-chat', 'deepseek-reasoner'];
|
|
1246
1250
|
readonly lmstudio: readonly ['openai/gpt-oss-20b', 'qwen/qwen3-30b-a3b-2507', 'qwen/qwen3-coder-30b'];
|
|
@@ -1371,6 +1375,8 @@ export type ProviderModelsMap = {
|
|
|
1371
1375
|
'openai/gpt-5.2-pro',
|
|
1372
1376
|
'openai/gpt-5.3-codex',
|
|
1373
1377
|
'openai/gpt-5.4',
|
|
1378
|
+
'openai/gpt-5.4-mini',
|
|
1379
|
+
'openai/gpt-5.4-nano',
|
|
1374
1380
|
'openai/gpt-5.4-pro',
|
|
1375
1381
|
'openai/gpt-oss-120b',
|
|
1376
1382
|
'openai/gpt-oss-120b:exacto',
|
|
@@ -1435,6 +1441,8 @@ export type ProviderModelsMap = {
|
|
|
1435
1441
|
'x-ai/grok-4.20-multi-agent-beta',
|
|
1436
1442
|
'x-ai/grok-code-fast-1',
|
|
1437
1443
|
'xiaomi/mimo-v2-flash',
|
|
1444
|
+
'xiaomi/mimo-v2-omni',
|
|
1445
|
+
'xiaomi/mimo-v2-pro',
|
|
1438
1446
|
'z-ai/glm-4.5',
|
|
1439
1447
|
'z-ai/glm-4.5-air',
|
|
1440
1448
|
'z-ai/glm-4.5-air:free',
|