@mastra/core 1.8.0-alpha.0 → 1.8.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.
Files changed (60) hide show
  1. package/CHANGELOG.md +109 -0
  2. package/dist/agent/index.cjs +8 -8
  3. package/dist/agent/index.js +1 -1
  4. package/dist/{chunk-IQ46IQFQ.cjs → chunk-2IO5Q7OZ.cjs} +5 -5
  5. package/dist/{chunk-IQ46IQFQ.cjs.map → chunk-2IO5Q7OZ.cjs.map} +1 -1
  6. package/dist/{chunk-XUHWKCOS.js → chunk-2R5MQMSA.js} +7 -7
  7. package/dist/{chunk-XUHWKCOS.js.map → chunk-2R5MQMSA.js.map} +1 -1
  8. package/dist/{chunk-H7DUVT5N.cjs → chunk-6Q2UD3XF.cjs} +5 -5
  9. package/dist/{chunk-H7DUVT5N.cjs.map → chunk-6Q2UD3XF.cjs.map} +1 -1
  10. package/dist/{chunk-DZDQPBOP.cjs → chunk-HWG7NPJA.cjs} +46 -46
  11. package/dist/{chunk-DZDQPBOP.cjs.map → chunk-HWG7NPJA.cjs.map} +1 -1
  12. package/dist/{chunk-FCOFT6PK.cjs → chunk-KH3G65IS.cjs} +6 -6
  13. package/dist/{chunk-FCOFT6PK.cjs.map → chunk-KH3G65IS.cjs.map} +1 -1
  14. package/dist/{chunk-4275BOJK.js → chunk-OSEPGSLN.js} +3 -3
  15. package/dist/{chunk-4275BOJK.js.map → chunk-OSEPGSLN.js.map} +1 -1
  16. package/dist/{chunk-PIGXDIDV.js → chunk-PI7ONENO.js} +3 -3
  17. package/dist/{chunk-PIGXDIDV.js.map → chunk-PI7ONENO.js.map} +1 -1
  18. package/dist/{chunk-536MSRAJ.js → chunk-Q4MV4XKX.js} +4 -4
  19. package/dist/{chunk-536MSRAJ.js.map → chunk-Q4MV4XKX.js.map} +1 -1
  20. package/dist/{chunk-U2ILVLLC.cjs → chunk-VAKB5EXJ.cjs} +14 -14
  21. package/dist/{chunk-U2ILVLLC.cjs.map → chunk-VAKB5EXJ.cjs.map} +1 -1
  22. package/dist/{chunk-I2YPNPL3.js → chunk-VBPU6CLZ.js} +3 -3
  23. package/dist/{chunk-I2YPNPL3.js.map → chunk-VBPU6CLZ.js.map} +1 -1
  24. package/dist/{chunk-XD5D3YQ3.cjs → chunk-VTVCMIAI.cjs} +3 -3
  25. package/dist/{chunk-XD5D3YQ3.cjs.map → chunk-VTVCMIAI.cjs.map} +1 -1
  26. package/dist/{chunk-QTRQKOII.js → chunk-ZRPTWYWJ.js} +3 -3
  27. package/dist/{chunk-QTRQKOII.js.map → chunk-ZRPTWYWJ.js.map} +1 -1
  28. package/dist/datasets/index.cjs +11 -11
  29. package/dist/datasets/index.js +1 -1
  30. package/dist/docs/SKILL.md +1 -1
  31. package/dist/docs/assets/SOURCE_MAP.json +104 -104
  32. package/dist/evals/index.cjs +5 -5
  33. package/dist/evals/index.js +2 -2
  34. package/dist/evals/scoreTraces/index.cjs +3 -3
  35. package/dist/evals/scoreTraces/index.js +1 -1
  36. package/dist/harness/index.cjs +2 -2
  37. package/dist/harness/index.js +1 -1
  38. package/dist/index.cjs +2 -2
  39. package/dist/index.js +1 -1
  40. package/dist/loop/index.cjs +14 -14
  41. package/dist/loop/index.js +1 -1
  42. package/dist/mastra/index.cjs +2 -2
  43. package/dist/mastra/index.js +1 -1
  44. package/dist/memory/index.cjs +14 -14
  45. package/dist/memory/index.js +1 -1
  46. package/dist/processor-provider/index.cjs +10 -10
  47. package/dist/processor-provider/index.js +1 -1
  48. package/dist/processors/index.cjs +42 -42
  49. package/dist/processors/index.js +1 -1
  50. package/dist/relevance/index.cjs +3 -3
  51. package/dist/relevance/index.js +1 -1
  52. package/dist/stream/index.cjs +8 -8
  53. package/dist/stream/index.js +1 -1
  54. package/dist/tool-loop-agent/index.cjs +4 -4
  55. package/dist/tool-loop-agent/index.js +1 -1
  56. package/dist/workflows/evented/index.cjs +10 -10
  57. package/dist/workflows/evented/index.js +1 -1
  58. package/dist/workflows/index.cjs +25 -25
  59. package/dist/workflows/index.js +1 -1
  60. package/package.json +8 -8
@@ -1,37 +1,37 @@
1
1
  'use strict';
2
2
 
3
- var chunkXD5D3YQ3_cjs = require('../chunk-XD5D3YQ3.cjs');
3
+ var chunkVTVCMIAI_cjs = require('../chunk-VTVCMIAI.cjs');
4
4
  var chunkZXOWG32X_cjs = require('../chunk-ZXOWG32X.cjs');
5
5
 
6
6
 
7
7
 
8
8
  Object.defineProperty(exports, "ChunkFrom", {
9
9
  enumerable: true,
10
- get: function () { return chunkXD5D3YQ3_cjs.ChunkFrom; }
10
+ get: function () { return chunkVTVCMIAI_cjs.ChunkFrom; }
11
11
  });
12
12
  Object.defineProperty(exports, "MastraAgentNetworkStream", {
13
13
  enumerable: true,
14
- get: function () { return chunkXD5D3YQ3_cjs.MastraAgentNetworkStream; }
14
+ get: function () { return chunkVTVCMIAI_cjs.MastraAgentNetworkStream; }
15
15
  });
16
16
  Object.defineProperty(exports, "MastraModelOutput", {
17
17
  enumerable: true,
18
- get: function () { return chunkXD5D3YQ3_cjs.MastraModelOutput; }
18
+ get: function () { return chunkVTVCMIAI_cjs.MastraModelOutput; }
19
19
  });
20
20
  Object.defineProperty(exports, "WorkflowRunOutput", {
21
21
  enumerable: true,
22
- get: function () { return chunkXD5D3YQ3_cjs.WorkflowRunOutput; }
22
+ get: function () { return chunkVTVCMIAI_cjs.WorkflowRunOutput; }
23
23
  });
24
24
  Object.defineProperty(exports, "convertFullStreamChunkToMastra", {
25
25
  enumerable: true,
26
- get: function () { return chunkXD5D3YQ3_cjs.convertFullStreamChunkToMastra; }
26
+ get: function () { return chunkVTVCMIAI_cjs.convertFullStreamChunkToMastra; }
27
27
  });
28
28
  Object.defineProperty(exports, "convertFullStreamChunkToUIMessageStream", {
29
29
  enumerable: true,
30
- get: function () { return chunkXD5D3YQ3_cjs.convertFullStreamChunkToUIMessageStream; }
30
+ get: function () { return chunkVTVCMIAI_cjs.convertFullStreamChunkToUIMessageStream; }
31
31
  });
32
32
  Object.defineProperty(exports, "convertMastraChunkToAISDKv5", {
33
33
  enumerable: true,
34
- get: function () { return chunkXD5D3YQ3_cjs.convertMastraChunkToAISDKv5; }
34
+ get: function () { return chunkVTVCMIAI_cjs.convertMastraChunkToAISDKv5; }
35
35
  });
36
36
  Object.defineProperty(exports, "DefaultGeneratedFile", {
37
37
  enumerable: true,
@@ -1,4 +1,4 @@
1
- export { ChunkFrom, MastraAgentNetworkStream, MastraModelOutput, WorkflowRunOutput, convertFullStreamChunkToMastra, convertFullStreamChunkToUIMessageStream, convertMastraChunkToAISDKv5 } from '../chunk-I2YPNPL3.js';
1
+ export { ChunkFrom, MastraAgentNetworkStream, MastraModelOutput, WorkflowRunOutput, convertFullStreamChunkToMastra, convertFullStreamChunkToUIMessageStream, convertMastraChunkToAISDKv5 } from '../chunk-VBPU6CLZ.js';
2
2
  export { DefaultGeneratedFile, DefaultGeneratedFileWithType } from '../chunk-SP7P6Z4L.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 chunkIQ46IQFQ_cjs = require('../chunk-IQ46IQFQ.cjs');
3
+ var chunk2IO5Q7OZ_cjs = require('../chunk-2IO5Q7OZ.cjs');
4
4
 
5
5
 
6
6
 
7
7
  Object.defineProperty(exports, "getSettings", {
8
8
  enumerable: true,
9
- get: function () { return chunkIQ46IQFQ_cjs.getSettings; }
9
+ get: function () { return chunk2IO5Q7OZ_cjs.getSettings; }
10
10
  });
11
11
  Object.defineProperty(exports, "isToolLoopAgentLike", {
12
12
  enumerable: true,
13
- get: function () { return chunkIQ46IQFQ_cjs.isToolLoopAgentLike; }
13
+ get: function () { return chunk2IO5Q7OZ_cjs.isToolLoopAgentLike; }
14
14
  });
15
15
  Object.defineProperty(exports, "toolLoopAgentToMastraAgent", {
16
16
  enumerable: true,
17
- get: function () { return chunkIQ46IQFQ_cjs.toolLoopAgentToMastraAgent; }
17
+ get: function () { return chunk2IO5Q7OZ_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-PIGXDIDV.js';
1
+ export { getSettings, isToolLoopAgentLike, toolLoopAgentToMastraAgent } from '../chunk-PI7ONENO.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 chunkDZDQPBOP_cjs = require('../../chunk-DZDQPBOP.cjs');
3
+ var chunkHWG7NPJA_cjs = require('../../chunk-HWG7NPJA.cjs');
4
4
 
5
5
 
6
6
 
7
7
  Object.defineProperty(exports, "EventedExecutionEngine", {
8
8
  enumerable: true,
9
- get: function () { return chunkDZDQPBOP_cjs.EventedExecutionEngine; }
9
+ get: function () { return chunkHWG7NPJA_cjs.EventedExecutionEngine; }
10
10
  });
11
11
  Object.defineProperty(exports, "EventedRun", {
12
12
  enumerable: true,
13
- get: function () { return chunkDZDQPBOP_cjs.EventedRun; }
13
+ get: function () { return chunkHWG7NPJA_cjs.EventedRun; }
14
14
  });
15
15
  Object.defineProperty(exports, "EventedWorkflow", {
16
16
  enumerable: true,
17
- get: function () { return chunkDZDQPBOP_cjs.EventedWorkflow; }
17
+ get: function () { return chunkHWG7NPJA_cjs.EventedWorkflow; }
18
18
  });
19
19
  Object.defineProperty(exports, "StepExecutor", {
20
20
  enumerable: true,
21
- get: function () { return chunkDZDQPBOP_cjs.StepExecutor; }
21
+ get: function () { return chunkHWG7NPJA_cjs.StepExecutor; }
22
22
  });
23
23
  Object.defineProperty(exports, "WorkflowEventProcessor", {
24
24
  enumerable: true,
25
- get: function () { return chunkDZDQPBOP_cjs.WorkflowEventProcessor; }
25
+ get: function () { return chunkHWG7NPJA_cjs.WorkflowEventProcessor; }
26
26
  });
27
27
  Object.defineProperty(exports, "cloneStep", {
28
28
  enumerable: true,
29
- get: function () { return chunkDZDQPBOP_cjs.cloneStep; }
29
+ get: function () { return chunkHWG7NPJA_cjs.cloneStep; }
30
30
  });
31
31
  Object.defineProperty(exports, "cloneWorkflow", {
32
32
  enumerable: true,
33
- get: function () { return chunkDZDQPBOP_cjs.cloneWorkflow; }
33
+ get: function () { return chunkHWG7NPJA_cjs.cloneWorkflow; }
34
34
  });
35
35
  Object.defineProperty(exports, "createStep", {
36
36
  enumerable: true,
37
- get: function () { return chunkDZDQPBOP_cjs.createStep; }
37
+ get: function () { return chunkHWG7NPJA_cjs.createStep; }
38
38
  });
39
39
  Object.defineProperty(exports, "createWorkflow", {
40
40
  enumerable: true,
41
- get: function () { return chunkDZDQPBOP_cjs.createWorkflow; }
41
+ get: function () { return chunkHWG7NPJA_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-4275BOJK.js';
1
+ export { EventedExecutionEngine, EventedRun, EventedWorkflow, StepExecutor, WorkflowEventProcessor, cloneStep, cloneWorkflow, createStep, createWorkflow } from '../../chunk-OSEPGSLN.js';
2
2
  //# sourceMappingURL=index.js.map
3
3
  //# sourceMappingURL=index.js.map
@@ -1,104 +1,104 @@
1
1
  'use strict';
2
2
 
3
- var chunkXD5D3YQ3_cjs = require('../chunk-XD5D3YQ3.cjs');
3
+ var chunkVTVCMIAI_cjs = require('../chunk-VTVCMIAI.cjs');
4
4
 
5
5
 
6
6
 
7
7
  Object.defineProperty(exports, "DefaultExecutionEngine", {
8
8
  enumerable: true,
9
- get: function () { return chunkXD5D3YQ3_cjs.DefaultExecutionEngine; }
9
+ get: function () { return chunkVTVCMIAI_cjs.DefaultExecutionEngine; }
10
10
  });
11
11
  Object.defineProperty(exports, "ExecutionEngine", {
12
12
  enumerable: true,
13
- get: function () { return chunkXD5D3YQ3_cjs.ExecutionEngine; }
13
+ get: function () { return chunkVTVCMIAI_cjs.ExecutionEngine; }
14
14
  });
15
15
  Object.defineProperty(exports, "Run", {
16
16
  enumerable: true,
17
- get: function () { return chunkXD5D3YQ3_cjs.Run; }
17
+ get: function () { return chunkVTVCMIAI_cjs.Run; }
18
18
  });
19
19
  Object.defineProperty(exports, "Workflow", {
20
20
  enumerable: true,
21
- get: function () { return chunkXD5D3YQ3_cjs.Workflow; }
21
+ get: function () { return chunkVTVCMIAI_cjs.Workflow; }
22
22
  });
23
23
  Object.defineProperty(exports, "cleanStepResult", {
24
24
  enumerable: true,
25
- get: function () { return chunkXD5D3YQ3_cjs.cleanStepResult; }
25
+ get: function () { return chunkVTVCMIAI_cjs.cleanStepResult; }
26
26
  });
27
27
  Object.defineProperty(exports, "cloneStep", {
28
28
  enumerable: true,
29
- get: function () { return chunkXD5D3YQ3_cjs.cloneStep; }
29
+ get: function () { return chunkVTVCMIAI_cjs.cloneStep; }
30
30
  });
31
31
  Object.defineProperty(exports, "cloneWorkflow", {
32
32
  enumerable: true,
33
- get: function () { return chunkXD5D3YQ3_cjs.cloneWorkflow; }
33
+ get: function () { return chunkVTVCMIAI_cjs.cloneWorkflow; }
34
34
  });
35
35
  Object.defineProperty(exports, "createDeprecationProxy", {
36
36
  enumerable: true,
37
- get: function () { return chunkXD5D3YQ3_cjs.createDeprecationProxy; }
37
+ get: function () { return chunkVTVCMIAI_cjs.createDeprecationProxy; }
38
38
  });
39
39
  Object.defineProperty(exports, "createStep", {
40
40
  enumerable: true,
41
- get: function () { return chunkXD5D3YQ3_cjs.createStep; }
41
+ get: function () { return chunkVTVCMIAI_cjs.createStep; }
42
42
  });
43
43
  Object.defineProperty(exports, "createTimeTravelExecutionParams", {
44
44
  enumerable: true,
45
- get: function () { return chunkXD5D3YQ3_cjs.createTimeTravelExecutionParams; }
45
+ get: function () { return chunkVTVCMIAI_cjs.createTimeTravelExecutionParams; }
46
46
  });
47
47
  Object.defineProperty(exports, "createWorkflow", {
48
48
  enumerable: true,
49
- get: function () { return chunkXD5D3YQ3_cjs.createWorkflow; }
49
+ get: function () { return chunkVTVCMIAI_cjs.createWorkflow; }
50
50
  });
51
51
  Object.defineProperty(exports, "getResumeLabelsByStepId", {
52
52
  enumerable: true,
53
- get: function () { return chunkXD5D3YQ3_cjs.getResumeLabelsByStepId; }
53
+ get: function () { return chunkVTVCMIAI_cjs.getResumeLabelsByStepId; }
54
54
  });
55
55
  Object.defineProperty(exports, "getStepIds", {
56
56
  enumerable: true,
57
- get: function () { return chunkXD5D3YQ3_cjs.getStepIds; }
57
+ get: function () { return chunkVTVCMIAI_cjs.getStepIds; }
58
58
  });
59
59
  Object.defineProperty(exports, "getStepResult", {
60
60
  enumerable: true,
61
- get: function () { return chunkXD5D3YQ3_cjs.getStepResult; }
61
+ get: function () { return chunkVTVCMIAI_cjs.getStepResult; }
62
62
  });
63
63
  Object.defineProperty(exports, "getZodErrors", {
64
64
  enumerable: true,
65
- get: function () { return chunkXD5D3YQ3_cjs.getZodErrors; }
65
+ get: function () { return chunkVTVCMIAI_cjs.getZodErrors; }
66
66
  });
67
67
  Object.defineProperty(exports, "hydrateSerializedStepErrors", {
68
68
  enumerable: true,
69
- get: function () { return chunkXD5D3YQ3_cjs.hydrateSerializedStepErrors; }
69
+ get: function () { return chunkVTVCMIAI_cjs.hydrateSerializedStepErrors; }
70
70
  });
71
71
  Object.defineProperty(exports, "isProcessor", {
72
72
  enumerable: true,
73
- get: function () { return chunkXD5D3YQ3_cjs.isProcessor; }
73
+ get: function () { return chunkVTVCMIAI_cjs.isProcessor; }
74
74
  });
75
75
  Object.defineProperty(exports, "mapVariable", {
76
76
  enumerable: true,
77
- get: function () { return chunkXD5D3YQ3_cjs.mapVariable; }
77
+ get: function () { return chunkVTVCMIAI_cjs.mapVariable; }
78
78
  });
79
79
  Object.defineProperty(exports, "runCountDeprecationMessage", {
80
80
  enumerable: true,
81
- get: function () { return chunkXD5D3YQ3_cjs.runCountDeprecationMessage; }
81
+ get: function () { return chunkVTVCMIAI_cjs.runCountDeprecationMessage; }
82
82
  });
83
83
  Object.defineProperty(exports, "validateStepInput", {
84
84
  enumerable: true,
85
- get: function () { return chunkXD5D3YQ3_cjs.validateStepInput; }
85
+ get: function () { return chunkVTVCMIAI_cjs.validateStepInput; }
86
86
  });
87
87
  Object.defineProperty(exports, "validateStepRequestContext", {
88
88
  enumerable: true,
89
- get: function () { return chunkXD5D3YQ3_cjs.validateStepRequestContext; }
89
+ get: function () { return chunkVTVCMIAI_cjs.validateStepRequestContext; }
90
90
  });
91
91
  Object.defineProperty(exports, "validateStepResumeData", {
92
92
  enumerable: true,
93
- get: function () { return chunkXD5D3YQ3_cjs.validateStepResumeData; }
93
+ get: function () { return chunkVTVCMIAI_cjs.validateStepResumeData; }
94
94
  });
95
95
  Object.defineProperty(exports, "validateStepStateData", {
96
96
  enumerable: true,
97
- get: function () { return chunkXD5D3YQ3_cjs.validateStepStateData; }
97
+ get: function () { return chunkVTVCMIAI_cjs.validateStepStateData; }
98
98
  });
99
99
  Object.defineProperty(exports, "validateStepSuspendData", {
100
100
  enumerable: true,
101
- get: function () { return chunkXD5D3YQ3_cjs.validateStepSuspendData; }
101
+ get: function () { return chunkVTVCMIAI_cjs.validateStepSuspendData; }
102
102
  });
103
103
  //# sourceMappingURL=index.cjs.map
104
104
  //# sourceMappingURL=index.cjs.map
@@ -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-I2YPNPL3.js';
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-VBPU6CLZ.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.8.0-alpha.0",
3
+ "version": "1.8.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.3-alpha.0"
220
+ "@mastra/schema-compat": "1.1.3"
221
221
  },
222
222
  "peerDependencies": {
223
223
  "zod": "^3.25.0 || ^4.0.0"
@@ -261,12 +261,12 @@
261
261
  "vscode-jsonrpc": "^8.2.0",
262
262
  "vscode-languageserver-protocol": "^3.17.0",
263
263
  "zod": "^3.25.76",
264
- "@internal/ai-sdk-v4": "0.0.9",
265
- "@internal/ai-sdk-v5": "0.0.9",
266
- "@internal/external-types": "0.0.12",
267
- "@internal/ai-v6": "0.0.9",
268
- "@internal/lint": "0.0.62",
269
- "@internal/types-builder": "0.0.37"
264
+ "@internal/ai-sdk-v4": "0.0.10",
265
+ "@internal/ai-v6": "0.0.10",
266
+ "@internal/ai-sdk-v5": "0.0.10",
267
+ "@internal/external-types": "0.0.13",
268
+ "@internal/lint": "0.0.63",
269
+ "@internal/types-builder": "0.0.38"
270
270
  },
271
271
  "engines": {
272
272
  "node": ">=22.13.0"