@mastra/core 0.16.3-alpha.0 → 0.16.3

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 (69) hide show
  1. package/CHANGELOG.md +50 -0
  2. package/dist/agent/index.cjs +11 -11
  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/{chunk-GOA5GU6X.cjs → chunk-2LEMTQEN.cjs} +4 -4
  7. package/dist/{chunk-GOA5GU6X.cjs.map → chunk-2LEMTQEN.cjs.map} +1 -1
  8. package/dist/{chunk-PUTAA3ZN.cjs → chunk-37GX66ZQ.cjs} +7 -7
  9. package/dist/{chunk-PUTAA3ZN.cjs.map → chunk-37GX66ZQ.cjs.map} +1 -1
  10. package/dist/{chunk-L52VPDJB.cjs → chunk-3CYEVZGC.cjs} +4 -4
  11. package/dist/{chunk-L52VPDJB.cjs.map → chunk-3CYEVZGC.cjs.map} +1 -1
  12. package/dist/{chunk-ASFX33CM.js → chunk-46ZMVRXN.js} +4 -4
  13. package/dist/{chunk-ASFX33CM.js.map → chunk-46ZMVRXN.js.map} +1 -1
  14. package/dist/{chunk-6SPMCTI2.js → chunk-6ILOFPTU.js} +3 -3
  15. package/dist/{chunk-6SPMCTI2.js.map → chunk-6ILOFPTU.js.map} +1 -1
  16. package/dist/{chunk-3JG5JEKX.js → chunk-7ARB2XCY.js} +3 -3
  17. package/dist/chunk-7ARB2XCY.js.map +1 -0
  18. package/dist/{chunk-3WWYKE4R.js → chunk-BE6HGZV7.js} +3 -3
  19. package/dist/{chunk-3WWYKE4R.js.map → chunk-BE6HGZV7.js.map} +1 -1
  20. package/dist/{chunk-KETY3ZMA.cjs → chunk-CM4UEIAB.cjs} +21 -21
  21. package/dist/chunk-CM4UEIAB.cjs.map +1 -0
  22. package/dist/{chunk-RAR5G5S3.js → chunk-DWGGSV3L.js} +3 -3
  23. package/dist/{chunk-RAR5G5S3.js.map → chunk-DWGGSV3L.js.map} +1 -1
  24. package/dist/{chunk-NEBAQHIS.js → chunk-HHRWDBFK.js} +8 -8
  25. package/dist/chunk-HHRWDBFK.js.map +1 -0
  26. package/dist/{chunk-HT57W63C.cjs → chunk-I77GWNQI.cjs} +3 -3
  27. package/dist/chunk-I77GWNQI.cjs.map +1 -0
  28. package/dist/{chunk-HYKEC3OC.cjs → chunk-PPMRSBCA.cjs} +7 -7
  29. package/dist/{chunk-HYKEC3OC.cjs.map → chunk-PPMRSBCA.cjs.map} +1 -1
  30. package/dist/{chunk-4MVIJIOL.js → chunk-SLQGF75B.js} +3 -3
  31. package/dist/{chunk-4MVIJIOL.js.map → chunk-SLQGF75B.js.map} +1 -1
  32. package/dist/{chunk-EJB4UMEV.cjs → chunk-VK7LOYGD.cjs} +6 -6
  33. package/dist/{chunk-EJB4UMEV.cjs.map → chunk-VK7LOYGD.cjs.map} +1 -1
  34. package/dist/index.cjs +21 -21
  35. package/dist/index.js +6 -6
  36. package/dist/loop/index.cjs +2 -2
  37. package/dist/loop/index.js +1 -1
  38. package/dist/loop/test-utils/streamObject.d.ts.map +1 -1
  39. package/dist/loop/workflow/llm-execution.d.ts.map +1 -1
  40. package/dist/mastra/index.cjs +2 -2
  41. package/dist/mastra/index.js +1 -1
  42. package/dist/memory/index.cjs +4 -4
  43. package/dist/memory/index.js +1 -1
  44. package/dist/network/index.cjs +2 -2
  45. package/dist/network/index.js +1 -1
  46. package/dist/network/vNext/index.cjs +29 -29
  47. package/dist/network/vNext/index.js +2 -2
  48. package/dist/processors/index.cjs +8 -8
  49. package/dist/processors/index.js +2 -2
  50. package/dist/relevance/index.cjs +4 -4
  51. package/dist/relevance/index.js +1 -1
  52. package/dist/scores/index.cjs +8 -8
  53. package/dist/scores/index.js +1 -1
  54. package/dist/storage/index.cjs +3 -3
  55. package/dist/storage/index.js +1 -1
  56. package/dist/stream/base/output.d.ts.map +1 -1
  57. package/dist/stream/index.cjs +3 -3
  58. package/dist/stream/index.js +1 -1
  59. package/dist/workflows/evented/index.cjs +10 -10
  60. package/dist/workflows/evented/index.js +1 -1
  61. package/dist/workflows/index.cjs +10 -10
  62. package/dist/workflows/index.js +1 -1
  63. package/dist/workflows/legacy/index.cjs +22 -22
  64. package/dist/workflows/legacy/index.js +1 -1
  65. package/package.json +4 -4
  66. package/dist/chunk-3JG5JEKX.js.map +0 -1
  67. package/dist/chunk-HT57W63C.cjs.map +0 -1
  68. package/dist/chunk-KETY3ZMA.cjs.map +0 -1
  69. package/dist/chunk-NEBAQHIS.js.map +0 -1
@@ -1,44 +1,44 @@
1
1
  'use strict';
2
2
 
3
- var chunkKETY3ZMA_cjs = require('../chunk-KETY3ZMA.cjs');
3
+ var chunkCM4UEIAB_cjs = require('../chunk-CM4UEIAB.cjs');
4
4
 
5
5
 
6
6
 
7
7
  Object.defineProperty(exports, "DefaultExecutionEngine", {
8
8
  enumerable: true,
9
- get: function () { return chunkKETY3ZMA_cjs.DefaultExecutionEngine; }
9
+ get: function () { return chunkCM4UEIAB_cjs.DefaultExecutionEngine; }
10
10
  });
11
11
  Object.defineProperty(exports, "ExecutionEngine", {
12
12
  enumerable: true,
13
- get: function () { return chunkKETY3ZMA_cjs.ExecutionEngine; }
13
+ get: function () { return chunkCM4UEIAB_cjs.ExecutionEngine; }
14
14
  });
15
15
  Object.defineProperty(exports, "Run", {
16
16
  enumerable: true,
17
- get: function () { return chunkKETY3ZMA_cjs.Run; }
17
+ get: function () { return chunkCM4UEIAB_cjs.Run; }
18
18
  });
19
19
  Object.defineProperty(exports, "Workflow", {
20
20
  enumerable: true,
21
- get: function () { return chunkKETY3ZMA_cjs.Workflow; }
21
+ get: function () { return chunkCM4UEIAB_cjs.Workflow; }
22
22
  });
23
23
  Object.defineProperty(exports, "cloneStep", {
24
24
  enumerable: true,
25
- get: function () { return chunkKETY3ZMA_cjs.cloneStep; }
25
+ get: function () { return chunkCM4UEIAB_cjs.cloneStep; }
26
26
  });
27
27
  Object.defineProperty(exports, "cloneWorkflow", {
28
28
  enumerable: true,
29
- get: function () { return chunkKETY3ZMA_cjs.cloneWorkflow; }
29
+ get: function () { return chunkCM4UEIAB_cjs.cloneWorkflow; }
30
30
  });
31
31
  Object.defineProperty(exports, "createStep", {
32
32
  enumerable: true,
33
- get: function () { return chunkKETY3ZMA_cjs.createStep; }
33
+ get: function () { return chunkCM4UEIAB_cjs.createStep; }
34
34
  });
35
35
  Object.defineProperty(exports, "createWorkflow", {
36
36
  enumerable: true,
37
- get: function () { return chunkKETY3ZMA_cjs.createWorkflow; }
37
+ get: function () { return chunkCM4UEIAB_cjs.createWorkflow; }
38
38
  });
39
39
  Object.defineProperty(exports, "mapVariable", {
40
40
  enumerable: true,
41
- get: function () { return chunkKETY3ZMA_cjs.mapVariable; }
41
+ get: function () { return chunkCM4UEIAB_cjs.mapVariable; }
42
42
  });
43
43
  //# sourceMappingURL=index.cjs.map
44
44
  //# sourceMappingURL=index.cjs.map
@@ -1,3 +1,3 @@
1
- export { DefaultExecutionEngine, ExecutionEngine, Run, Workflow, cloneStep, cloneWorkflow, createStep, createWorkflow, mapVariable } from '../chunk-NEBAQHIS.js';
1
+ export { DefaultExecutionEngine, ExecutionEngine, Run, Workflow, cloneStep, cloneWorkflow, createStep, createWorkflow, mapVariable } from '../chunk-HHRWDBFK.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 chunkKETY3ZMA_cjs = require('../../chunk-KETY3ZMA.cjs');
3
+ var chunkCM4UEIAB_cjs = require('../../chunk-CM4UEIAB.cjs');
4
4
 
5
5
 
6
6
 
7
7
  Object.defineProperty(exports, "LegacyStep", {
8
8
  enumerable: true,
9
- get: function () { return chunkKETY3ZMA_cjs.LegacyStep; }
9
+ get: function () { return chunkCM4UEIAB_cjs.LegacyStep; }
10
10
  });
11
11
  Object.defineProperty(exports, "LegacyWorkflow", {
12
12
  enumerable: true,
13
- get: function () { return chunkKETY3ZMA_cjs.LegacyWorkflow; }
13
+ get: function () { return chunkCM4UEIAB_cjs.LegacyWorkflow; }
14
14
  });
15
15
  Object.defineProperty(exports, "WhenConditionReturnValue", {
16
16
  enumerable: true,
17
- get: function () { return chunkKETY3ZMA_cjs.WhenConditionReturnValue; }
17
+ get: function () { return chunkCM4UEIAB_cjs.WhenConditionReturnValue; }
18
18
  });
19
19
  Object.defineProperty(exports, "agentToStep", {
20
20
  enumerable: true,
21
- get: function () { return chunkKETY3ZMA_cjs.agentToStep; }
21
+ get: function () { return chunkCM4UEIAB_cjs.agentToStep; }
22
22
  });
23
23
  Object.defineProperty(exports, "getActivePathsAndStatus", {
24
24
  enumerable: true,
25
- get: function () { return chunkKETY3ZMA_cjs.getActivePathsAndStatus; }
25
+ get: function () { return chunkCM4UEIAB_cjs.getActivePathsAndStatus; }
26
26
  });
27
27
  Object.defineProperty(exports, "getResultActivePaths", {
28
28
  enumerable: true,
29
- get: function () { return chunkKETY3ZMA_cjs.getResultActivePaths; }
29
+ get: function () { return chunkCM4UEIAB_cjs.getResultActivePaths; }
30
30
  });
31
31
  Object.defineProperty(exports, "getStepResult", {
32
32
  enumerable: true,
33
- get: function () { return chunkKETY3ZMA_cjs.getStepResult; }
33
+ get: function () { return chunkCM4UEIAB_cjs.getStepResult; }
34
34
  });
35
35
  Object.defineProperty(exports, "getSuspendedPaths", {
36
36
  enumerable: true,
37
- get: function () { return chunkKETY3ZMA_cjs.getSuspendedPaths; }
37
+ get: function () { return chunkCM4UEIAB_cjs.getSuspendedPaths; }
38
38
  });
39
39
  Object.defineProperty(exports, "isAgent", {
40
40
  enumerable: true,
41
- get: function () { return chunkKETY3ZMA_cjs.isAgent; }
41
+ get: function () { return chunkCM4UEIAB_cjs.isAgent; }
42
42
  });
43
43
  Object.defineProperty(exports, "isConditionalKey", {
44
44
  enumerable: true,
45
- get: function () { return chunkKETY3ZMA_cjs.isConditionalKey; }
45
+ get: function () { return chunkCM4UEIAB_cjs.isConditionalKey; }
46
46
  });
47
47
  Object.defineProperty(exports, "isErrorEvent", {
48
48
  enumerable: true,
49
- get: function () { return chunkKETY3ZMA_cjs.isErrorEvent; }
49
+ get: function () { return chunkCM4UEIAB_cjs.isErrorEvent; }
50
50
  });
51
51
  Object.defineProperty(exports, "isFinalState", {
52
52
  enumerable: true,
53
- get: function () { return chunkKETY3ZMA_cjs.isFinalState; }
53
+ get: function () { return chunkCM4UEIAB_cjs.isFinalState; }
54
54
  });
55
55
  Object.defineProperty(exports, "isLimboState", {
56
56
  enumerable: true,
57
- get: function () { return chunkKETY3ZMA_cjs.isLimboState; }
57
+ get: function () { return chunkCM4UEIAB_cjs.isLimboState; }
58
58
  });
59
59
  Object.defineProperty(exports, "isTransitionEvent", {
60
60
  enumerable: true,
61
- get: function () { return chunkKETY3ZMA_cjs.isTransitionEvent; }
61
+ get: function () { return chunkCM4UEIAB_cjs.isTransitionEvent; }
62
62
  });
63
63
  Object.defineProperty(exports, "isVariableReference", {
64
64
  enumerable: true,
65
- get: function () { return chunkKETY3ZMA_cjs.isVariableReference; }
65
+ get: function () { return chunkCM4UEIAB_cjs.isVariableReference; }
66
66
  });
67
67
  Object.defineProperty(exports, "isWorkflow", {
68
68
  enumerable: true,
69
- get: function () { return chunkKETY3ZMA_cjs.isWorkflow; }
69
+ get: function () { return chunkCM4UEIAB_cjs.isWorkflow; }
70
70
  });
71
71
  Object.defineProperty(exports, "mergeChildValue", {
72
72
  enumerable: true,
73
- get: function () { return chunkKETY3ZMA_cjs.mergeChildValue; }
73
+ get: function () { return chunkCM4UEIAB_cjs.mergeChildValue; }
74
74
  });
75
75
  Object.defineProperty(exports, "recursivelyCheckForFinalState", {
76
76
  enumerable: true,
77
- get: function () { return chunkKETY3ZMA_cjs.recursivelyCheckForFinalState; }
77
+ get: function () { return chunkCM4UEIAB_cjs.recursivelyCheckForFinalState; }
78
78
  });
79
79
  Object.defineProperty(exports, "resolveVariables", {
80
80
  enumerable: true,
81
- get: function () { return chunkKETY3ZMA_cjs.resolveVariables; }
81
+ get: function () { return chunkCM4UEIAB_cjs.resolveVariables; }
82
82
  });
83
83
  Object.defineProperty(exports, "updateStepInHierarchy", {
84
84
  enumerable: true,
85
- get: function () { return chunkKETY3ZMA_cjs.updateStepInHierarchy; }
85
+ get: function () { return chunkCM4UEIAB_cjs.updateStepInHierarchy; }
86
86
  });
87
87
  Object.defineProperty(exports, "workflowToStep", {
88
88
  enumerable: true,
89
- get: function () { return chunkKETY3ZMA_cjs.workflowToStep; }
89
+ get: function () { return chunkCM4UEIAB_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, getStepResult, getSuspendedPaths, isAgent, isConditionalKey, isErrorEvent, isFinalState, isLimboState, isTransitionEvent, isVariableReference, isWorkflow, mergeChildValue, recursivelyCheckForFinalState, resolveVariables, updateStepInHierarchy, workflowToStep } from '../../chunk-NEBAQHIS.js';
1
+ export { LegacyStep, LegacyWorkflow, WhenConditionReturnValue, agentToStep, getActivePathsAndStatus, getResultActivePaths, getStepResult, getSuspendedPaths, isAgent, isConditionalKey, isErrorEvent, isFinalState, isLimboState, isTransitionEvent, isVariableReference, isWorkflow, mergeChildValue, recursivelyCheckForFinalState, resolveVariables, updateStepInHierarchy, workflowToStep } from '../../chunk-HHRWDBFK.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.16.3-alpha.0",
3
+ "version": "0.16.3",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -201,7 +201,7 @@
201
201
  "js-tiktoken": "^1.0.20",
202
202
  "xstate": "^5.20.1",
203
203
  "zod-to-json-schema": "^3.24.6",
204
- "@mastra/schema-compat": "0.11.3-alpha.0"
204
+ "@mastra/schema-compat": "0.11.3"
205
205
  },
206
206
  "peerDependencies": {
207
207
  "zod": "^3.25.0 || ^4.0.0"
@@ -227,8 +227,8 @@
227
227
  "typescript": "^5.8.3",
228
228
  "vitest": "^3.2.4",
229
229
  "zod": "^3.25.76",
230
- "@internal/types-builder": "0.0.13",
231
- "@internal/lint": "0.0.38"
230
+ "@internal/lint": "0.0.39",
231
+ "@internal/types-builder": "0.0.14"
232
232
  },
233
233
  "engines": {
234
234
  "node": ">=20"