@mastra/core 0.24.3 → 0.24.4

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 (71) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/dist/agent/index.cjs +13 -13
  3. package/dist/agent/index.js +2 -2
  4. package/dist/agent/input-processor/index.cjs +6 -6
  5. package/dist/agent/input-processor/index.js +1 -1
  6. package/dist/agent/message-list/index.d.ts +2 -0
  7. package/dist/agent/message-list/index.d.ts.map +1 -1
  8. package/dist/{chunk-QLMC3LCY.cjs → chunk-4DI4ZWYE.cjs} +4 -4
  9. package/dist/{chunk-QLMC3LCY.cjs.map → chunk-4DI4ZWYE.cjs.map} +1 -1
  10. package/dist/{chunk-DBVX3GFJ.js → chunk-4GIAJPIS.js} +75 -14
  11. package/dist/chunk-4GIAJPIS.js.map +1 -0
  12. package/dist/{chunk-7EIL5M37.cjs → chunk-4H3E2PRY.cjs} +9 -9
  13. package/dist/{chunk-7EIL5M37.cjs.map → chunk-4H3E2PRY.cjs.map} +1 -1
  14. package/dist/{chunk-OE6QDWAX.cjs → chunk-6FDOL2WM.cjs} +4 -4
  15. package/dist/{chunk-OE6QDWAX.cjs.map → chunk-6FDOL2WM.cjs.map} +1 -1
  16. package/dist/{chunk-NKENPWUR.cjs → chunk-ATGWEV75.cjs} +22 -21
  17. package/dist/chunk-ATGWEV75.cjs.map +1 -0
  18. package/dist/{chunk-2SILT3DE.js → chunk-CIL4QW62.js} +6 -5
  19. package/dist/chunk-CIL4QW62.js.map +1 -0
  20. package/dist/{chunk-RHZQQQZ4.cjs → chunk-JMO24AJV.cjs} +75 -14
  21. package/dist/chunk-JMO24AJV.cjs.map +1 -0
  22. package/dist/{chunk-QJSHWTRV.js → chunk-JOLHUIXW.js} +3 -3
  23. package/dist/{chunk-QJSHWTRV.js.map → chunk-JOLHUIXW.js.map} +1 -1
  24. package/dist/{chunk-GR2BKWE6.js → chunk-PRLUP5OT.js} +3 -3
  25. package/dist/{chunk-GR2BKWE6.js.map → chunk-PRLUP5OT.js.map} +1 -1
  26. package/dist/{chunk-XMV6JYFI.cjs → chunk-SHOIGYEF.cjs} +12 -12
  27. package/dist/{chunk-XMV6JYFI.cjs.map → chunk-SHOIGYEF.cjs.map} +1 -1
  28. package/dist/{chunk-JNGVTFY3.cjs → chunk-UZQNDZHR.cjs} +4 -4
  29. package/dist/{chunk-JNGVTFY3.cjs.map → chunk-UZQNDZHR.cjs.map} +1 -1
  30. package/dist/{chunk-CYCSKGXO.js → chunk-X6XI63IN.js} +3 -3
  31. package/dist/{chunk-CYCSKGXO.js.map → chunk-X6XI63IN.js.map} +1 -1
  32. package/dist/{chunk-CDR257RR.js → chunk-Y72KA2DE.js} +3 -3
  33. package/dist/{chunk-CDR257RR.js.map → chunk-Y72KA2DE.js.map} +1 -1
  34. package/dist/{chunk-5JRSGYGM.js → chunk-YWG7MZHO.js} +3 -3
  35. package/dist/{chunk-5JRSGYGM.js.map → chunk-YWG7MZHO.js.map} +1 -1
  36. package/dist/index.cjs +25 -25
  37. package/dist/index.js +6 -6
  38. package/dist/loop/index.cjs +2 -2
  39. package/dist/loop/index.js +1 -1
  40. package/dist/loop/test-utils/generateText.d.ts.map +1 -1
  41. package/dist/loop/test-utils/resultObject.d.ts.map +1 -1
  42. package/dist/loop/test-utils/streamObject.d.ts.map +1 -1
  43. package/dist/loop/workflows/agentic-execution/llm-execution-step.d.ts.map +1 -1
  44. package/dist/loop/workflows/agentic-execution/llm-mapping-step.d.ts.map +1 -1
  45. package/dist/mastra/index.cjs +2 -2
  46. package/dist/mastra/index.js +1 -1
  47. package/dist/memory/index.cjs +4 -4
  48. package/dist/memory/index.js +1 -1
  49. package/dist/processors/index.cjs +11 -11
  50. package/dist/processors/index.js +1 -1
  51. package/dist/relevance/index.cjs +4 -4
  52. package/dist/relevance/index.js +1 -1
  53. package/dist/scores/index.cjs +4 -4
  54. package/dist/scores/index.js +1 -1
  55. package/dist/scores/scoreTraces/index.cjs +6 -6
  56. package/dist/scores/scoreTraces/index.js +2 -2
  57. package/dist/storage/index.cjs +3 -3
  58. package/dist/storage/index.js +1 -1
  59. package/dist/stream/index.cjs +11 -11
  60. package/dist/stream/index.js +2 -2
  61. package/dist/workflows/evented/index.cjs +10 -10
  62. package/dist/workflows/evented/index.js +1 -1
  63. package/dist/workflows/index.cjs +14 -14
  64. package/dist/workflows/index.js +1 -1
  65. package/dist/workflows/legacy/index.cjs +22 -22
  66. package/dist/workflows/legacy/index.js +1 -1
  67. package/package.json +5 -5
  68. package/dist/chunk-2SILT3DE.js.map +0 -1
  69. package/dist/chunk-DBVX3GFJ.js.map +0 -1
  70. package/dist/chunk-NKENPWUR.cjs.map +0 -1
  71. package/dist/chunk-RHZQQQZ4.cjs.map +0 -1
@@ -1,60 +1,60 @@
1
1
  'use strict';
2
2
 
3
- var chunkNKENPWUR_cjs = require('../chunk-NKENPWUR.cjs');
3
+ var chunkATGWEV75_cjs = require('../chunk-ATGWEV75.cjs');
4
4
 
5
5
 
6
6
 
7
7
  Object.defineProperty(exports, "DefaultExecutionEngine", {
8
8
  enumerable: true,
9
- get: function () { return chunkNKENPWUR_cjs.DefaultExecutionEngine; }
9
+ get: function () { return chunkATGWEV75_cjs.DefaultExecutionEngine; }
10
10
  });
11
11
  Object.defineProperty(exports, "ExecutionEngine", {
12
12
  enumerable: true,
13
- get: function () { return chunkNKENPWUR_cjs.ExecutionEngine; }
13
+ get: function () { return chunkATGWEV75_cjs.ExecutionEngine; }
14
14
  });
15
15
  Object.defineProperty(exports, "Run", {
16
16
  enumerable: true,
17
- get: function () { return chunkNKENPWUR_cjs.Run; }
17
+ get: function () { return chunkATGWEV75_cjs.Run; }
18
18
  });
19
19
  Object.defineProperty(exports, "Workflow", {
20
20
  enumerable: true,
21
- get: function () { return chunkNKENPWUR_cjs.Workflow; }
21
+ get: function () { return chunkATGWEV75_cjs.Workflow; }
22
22
  });
23
23
  Object.defineProperty(exports, "cloneStep", {
24
24
  enumerable: true,
25
- get: function () { return chunkNKENPWUR_cjs.cloneStep; }
25
+ get: function () { return chunkATGWEV75_cjs.cloneStep; }
26
26
  });
27
27
  Object.defineProperty(exports, "cloneWorkflow", {
28
28
  enumerable: true,
29
- get: function () { return chunkNKENPWUR_cjs.cloneWorkflow; }
29
+ get: function () { return chunkATGWEV75_cjs.cloneWorkflow; }
30
30
  });
31
31
  Object.defineProperty(exports, "createStep", {
32
32
  enumerable: true,
33
- get: function () { return chunkNKENPWUR_cjs.createStep; }
33
+ get: function () { return chunkATGWEV75_cjs.createStep; }
34
34
  });
35
35
  Object.defineProperty(exports, "createWorkflow", {
36
36
  enumerable: true,
37
- get: function () { return chunkNKENPWUR_cjs.createWorkflow; }
37
+ get: function () { return chunkATGWEV75_cjs.createWorkflow; }
38
38
  });
39
39
  Object.defineProperty(exports, "getResumeLabelsByStepId", {
40
40
  enumerable: true,
41
- get: function () { return chunkNKENPWUR_cjs.getResumeLabelsByStepId; }
41
+ get: function () { return chunkATGWEV75_cjs.getResumeLabelsByStepId; }
42
42
  });
43
43
  Object.defineProperty(exports, "getStepResult", {
44
44
  enumerable: true,
45
- get: function () { return chunkNKENPWUR_cjs.getStepResult; }
45
+ get: function () { return chunkATGWEV75_cjs.getStepResult; }
46
46
  });
47
47
  Object.defineProperty(exports, "getZodErrors", {
48
48
  enumerable: true,
49
- get: function () { return chunkNKENPWUR_cjs.getZodErrors; }
49
+ get: function () { return chunkATGWEV75_cjs.getZodErrors; }
50
50
  });
51
51
  Object.defineProperty(exports, "mapVariable", {
52
52
  enumerable: true,
53
- get: function () { return chunkNKENPWUR_cjs.mapVariable; }
53
+ get: function () { return chunkATGWEV75_cjs.mapVariable; }
54
54
  });
55
55
  Object.defineProperty(exports, "validateStepInput", {
56
56
  enumerable: true,
57
- get: function () { return chunkNKENPWUR_cjs.validateStepInput; }
57
+ get: function () { return chunkATGWEV75_cjs.validateStepInput; }
58
58
  });
59
59
  //# sourceMappingURL=index.cjs.map
60
60
  //# sourceMappingURL=index.cjs.map
@@ -1,3 +1,3 @@
1
- export { DefaultExecutionEngine, ExecutionEngine, Run, Workflow, cloneStep, cloneWorkflow, createStep, createWorkflow, getResumeLabelsByStepId, getStepResult, getZodErrors, mapVariable, validateStepInput } from '../chunk-2SILT3DE.js';
1
+ export { DefaultExecutionEngine, ExecutionEngine, Run, Workflow, cloneStep, cloneWorkflow, createStep, createWorkflow, getResumeLabelsByStepId, getStepResult, getZodErrors, mapVariable, validateStepInput } from '../chunk-CIL4QW62.js';
2
2
  //# sourceMappingURL=index.js.map
3
3
  //# sourceMappingURL=index.js.map
@@ -1,92 +1,92 @@
1
1
  'use strict';
2
2
 
3
- var chunkNKENPWUR_cjs = require('../../chunk-NKENPWUR.cjs');
3
+ var chunkATGWEV75_cjs = require('../../chunk-ATGWEV75.cjs');
4
4
 
5
5
 
6
6
 
7
7
  Object.defineProperty(exports, "LegacyStep", {
8
8
  enumerable: true,
9
- get: function () { return chunkNKENPWUR_cjs.LegacyStep; }
9
+ get: function () { return chunkATGWEV75_cjs.LegacyStep; }
10
10
  });
11
11
  Object.defineProperty(exports, "LegacyWorkflow", {
12
12
  enumerable: true,
13
- get: function () { return chunkNKENPWUR_cjs.LegacyWorkflow; }
13
+ get: function () { return chunkATGWEV75_cjs.LegacyWorkflow; }
14
14
  });
15
15
  Object.defineProperty(exports, "WhenConditionReturnValue", {
16
16
  enumerable: true,
17
- get: function () { return chunkNKENPWUR_cjs.WhenConditionReturnValue; }
17
+ get: function () { return chunkATGWEV75_cjs.WhenConditionReturnValue; }
18
18
  });
19
19
  Object.defineProperty(exports, "agentToStep", {
20
20
  enumerable: true,
21
- get: function () { return chunkNKENPWUR_cjs.agentToStep; }
21
+ get: function () { return chunkATGWEV75_cjs.agentToStep; }
22
22
  });
23
23
  Object.defineProperty(exports, "getActivePathsAndStatus", {
24
24
  enumerable: true,
25
- get: function () { return chunkNKENPWUR_cjs.getActivePathsAndStatus; }
25
+ get: function () { return chunkATGWEV75_cjs.getActivePathsAndStatus; }
26
26
  });
27
27
  Object.defineProperty(exports, "getResultActivePaths", {
28
28
  enumerable: true,
29
- get: function () { return chunkNKENPWUR_cjs.getResultActivePaths; }
29
+ get: function () { return chunkATGWEV75_cjs.getResultActivePaths; }
30
30
  });
31
31
  Object.defineProperty(exports, "getStepResult", {
32
32
  enumerable: true,
33
- get: function () { return chunkNKENPWUR_cjs.getStepResult2; }
33
+ get: function () { return chunkATGWEV75_cjs.getStepResult2; }
34
34
  });
35
35
  Object.defineProperty(exports, "getSuspendedPaths", {
36
36
  enumerable: true,
37
- get: function () { return chunkNKENPWUR_cjs.getSuspendedPaths; }
37
+ get: function () { return chunkATGWEV75_cjs.getSuspendedPaths; }
38
38
  });
39
39
  Object.defineProperty(exports, "isAgent", {
40
40
  enumerable: true,
41
- get: function () { return chunkNKENPWUR_cjs.isAgent; }
41
+ get: function () { return chunkATGWEV75_cjs.isAgent; }
42
42
  });
43
43
  Object.defineProperty(exports, "isConditionalKey", {
44
44
  enumerable: true,
45
- get: function () { return chunkNKENPWUR_cjs.isConditionalKey; }
45
+ get: function () { return chunkATGWEV75_cjs.isConditionalKey; }
46
46
  });
47
47
  Object.defineProperty(exports, "isErrorEvent", {
48
48
  enumerable: true,
49
- get: function () { return chunkNKENPWUR_cjs.isErrorEvent; }
49
+ get: function () { return chunkATGWEV75_cjs.isErrorEvent; }
50
50
  });
51
51
  Object.defineProperty(exports, "isFinalState", {
52
52
  enumerable: true,
53
- get: function () { return chunkNKENPWUR_cjs.isFinalState; }
53
+ get: function () { return chunkATGWEV75_cjs.isFinalState; }
54
54
  });
55
55
  Object.defineProperty(exports, "isLimboState", {
56
56
  enumerable: true,
57
- get: function () { return chunkNKENPWUR_cjs.isLimboState; }
57
+ get: function () { return chunkATGWEV75_cjs.isLimboState; }
58
58
  });
59
59
  Object.defineProperty(exports, "isTransitionEvent", {
60
60
  enumerable: true,
61
- get: function () { return chunkNKENPWUR_cjs.isTransitionEvent; }
61
+ get: function () { return chunkATGWEV75_cjs.isTransitionEvent; }
62
62
  });
63
63
  Object.defineProperty(exports, "isVariableReference", {
64
64
  enumerable: true,
65
- get: function () { return chunkNKENPWUR_cjs.isVariableReference; }
65
+ get: function () { return chunkATGWEV75_cjs.isVariableReference; }
66
66
  });
67
67
  Object.defineProperty(exports, "isWorkflow", {
68
68
  enumerable: true,
69
- get: function () { return chunkNKENPWUR_cjs.isWorkflow; }
69
+ get: function () { return chunkATGWEV75_cjs.isWorkflow; }
70
70
  });
71
71
  Object.defineProperty(exports, "mergeChildValue", {
72
72
  enumerable: true,
73
- get: function () { return chunkNKENPWUR_cjs.mergeChildValue; }
73
+ get: function () { return chunkATGWEV75_cjs.mergeChildValue; }
74
74
  });
75
75
  Object.defineProperty(exports, "recursivelyCheckForFinalState", {
76
76
  enumerable: true,
77
- get: function () { return chunkNKENPWUR_cjs.recursivelyCheckForFinalState; }
77
+ get: function () { return chunkATGWEV75_cjs.recursivelyCheckForFinalState; }
78
78
  });
79
79
  Object.defineProperty(exports, "resolveVariables", {
80
80
  enumerable: true,
81
- get: function () { return chunkNKENPWUR_cjs.resolveVariables; }
81
+ get: function () { return chunkATGWEV75_cjs.resolveVariables; }
82
82
  });
83
83
  Object.defineProperty(exports, "updateStepInHierarchy", {
84
84
  enumerable: true,
85
- get: function () { return chunkNKENPWUR_cjs.updateStepInHierarchy; }
85
+ get: function () { return chunkATGWEV75_cjs.updateStepInHierarchy; }
86
86
  });
87
87
  Object.defineProperty(exports, "workflowToStep", {
88
88
  enumerable: true,
89
- get: function () { return chunkNKENPWUR_cjs.workflowToStep; }
89
+ get: function () { return chunkATGWEV75_cjs.workflowToStep; }
90
90
  });
91
91
  //# sourceMappingURL=index.cjs.map
92
92
  //# sourceMappingURL=index.cjs.map
@@ -1,3 +1,3 @@
1
- export { LegacyStep, LegacyWorkflow, WhenConditionReturnValue, agentToStep, getActivePathsAndStatus, getResultActivePaths, getStepResult2 as getStepResult, getSuspendedPaths, isAgent, isConditionalKey, isErrorEvent, isFinalState, isLimboState, isTransitionEvent, isVariableReference, isWorkflow, mergeChildValue, recursivelyCheckForFinalState, resolveVariables, updateStepInHierarchy, workflowToStep } from '../../chunk-2SILT3DE.js';
1
+ export { LegacyStep, LegacyWorkflow, WhenConditionReturnValue, agentToStep, getActivePathsAndStatus, getResultActivePaths, getStepResult2 as getStepResult, getSuspendedPaths, isAgent, isConditionalKey, isErrorEvent, isFinalState, isLimboState, isTransitionEvent, isVariableReference, isWorkflow, mergeChildValue, recursivelyCheckForFinalState, resolveVariables, updateStepInHierarchy, workflowToStep } from '../../chunk-CIL4QW62.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": "0.24.3",
3
+ "version": "0.24.4",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -177,7 +177,7 @@
177
177
  "dependencies": {
178
178
  "@a2a-js/sdk": "~0.2.4",
179
179
  "@ai-sdk/anthropic-v5": "npm:@ai-sdk/anthropic@2.0.33",
180
- "@ai-sdk/google-v5": "npm:@ai-sdk/google@2.0.23",
180
+ "@ai-sdk/google-v5": "npm:@ai-sdk/google@2.0.40",
181
181
  "@ai-sdk/mistral-v5": "npm:@ai-sdk/mistral@2.0.23",
182
182
  "@ai-sdk/openai-compatible-v5": "npm:@ai-sdk/openai-compatible@1.0.22",
183
183
  "@ai-sdk/openai-v5": "npm:@ai-sdk/openai@2.0.53",
@@ -247,9 +247,9 @@
247
247
  "vitest": "^3.2.4",
248
248
  "zod": "^3.25.76",
249
249
  "zod-v4": "npm:zod@4.1.12",
250
- "@internal/lint": "0.0.61",
251
- "@internal/external-types": "0.0.11",
252
- "@internal/types-builder": "0.0.36"
250
+ "@internal/lint": "0.0.62",
251
+ "@internal/external-types": "0.0.12",
252
+ "@internal/types-builder": "0.0.37"
253
253
  },
254
254
  "engines": {
255
255
  "node": ">=20"