@mastra/core 0.16.1-alpha.2 → 0.16.1

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 (61) hide show
  1. package/CHANGELOG.md +54 -0
  2. package/dist/agent/agent.types.d.ts +3 -1
  3. package/dist/agent/agent.types.d.ts.map +1 -1
  4. package/dist/agent/index.cjs +8 -8
  5. package/dist/agent/index.d.ts.map +1 -1
  6. package/dist/agent/index.js +1 -1
  7. package/dist/agent/input-processor/index.cjs +6 -6
  8. package/dist/agent/input-processor/index.js +1 -1
  9. package/dist/{chunk-ZGSS7RCP.js → chunk-3MSZBGO3.js} +52 -7
  10. package/dist/chunk-3MSZBGO3.js.map +1 -0
  11. package/dist/{chunk-XS5PJKTF.cjs → chunk-6RVOPJVP.cjs} +7 -7
  12. package/dist/{chunk-XS5PJKTF.cjs.map → chunk-6RVOPJVP.cjs.map} +1 -1
  13. package/dist/{chunk-WJXZMK43.cjs → chunk-BJASJTXK.cjs} +52 -7
  14. package/dist/chunk-BJASJTXK.cjs.map +1 -0
  15. package/dist/{chunk-PHS6DKEV.cjs → chunk-JLVFFZT7.cjs} +4 -4
  16. package/dist/{chunk-PHS6DKEV.cjs.map → chunk-JLVFFZT7.cjs.map} +1 -1
  17. package/dist/{chunk-R467FTA7.cjs → chunk-OYHHJUTH.cjs} +6 -6
  18. package/dist/{chunk-R467FTA7.cjs.map → chunk-OYHHJUTH.cjs.map} +1 -1
  19. package/dist/{chunk-TOCMMZ2Y.js → chunk-P67M4R6G.js} +4 -4
  20. package/dist/{chunk-TOCMMZ2Y.js.map → chunk-P67M4R6G.js.map} +1 -1
  21. package/dist/{chunk-HJ2UGNRG.js → chunk-RVNDGKE5.js} +3 -3
  22. package/dist/{chunk-HJ2UGNRG.js.map → chunk-RVNDGKE5.js.map} +1 -1
  23. package/dist/{chunk-BIJYFZVF.js → chunk-YBKHXKRR.js} +3 -3
  24. package/dist/{chunk-BIJYFZVF.js.map → chunk-YBKHXKRR.js.map} +1 -1
  25. package/dist/{chunk-IU367D3M.js → chunk-YYRE76UM.js} +3 -3
  26. package/dist/{chunk-IU367D3M.js.map → chunk-YYRE76UM.js.map} +1 -1
  27. package/dist/{chunk-ONGPJVTY.cjs → chunk-ZIDWSQFD.cjs} +7 -7
  28. package/dist/{chunk-ONGPJVTY.cjs.map → chunk-ZIDWSQFD.cjs.map} +1 -1
  29. package/dist/index.cjs +17 -17
  30. package/dist/index.js +4 -4
  31. package/dist/loop/index.cjs +2 -2
  32. package/dist/loop/index.js +1 -1
  33. package/dist/loop/test-utils/options.d.ts.map +1 -1
  34. package/dist/loop/types.d.ts +16 -1
  35. package/dist/loop/types.d.ts.map +1 -1
  36. package/dist/loop/workflow/llm-execution.d.ts.map +1 -1
  37. package/dist/mastra/index.cjs +2 -2
  38. package/dist/mastra/index.js +1 -1
  39. package/dist/network/index.cjs +2 -2
  40. package/dist/network/index.js +1 -1
  41. package/dist/network/vNext/index.cjs +12 -12
  42. package/dist/network/vNext/index.js +1 -1
  43. package/dist/processors/index.cjs +8 -8
  44. package/dist/processors/index.js +2 -2
  45. package/dist/relevance/index.cjs +4 -4
  46. package/dist/relevance/index.js +1 -1
  47. package/dist/scores/index.cjs +8 -8
  48. package/dist/scores/index.js +1 -1
  49. package/dist/stream/index.cjs +3 -3
  50. package/dist/stream/index.js +1 -1
  51. package/dist/stream/types.d.ts +3 -0
  52. package/dist/stream/types.d.ts.map +1 -1
  53. package/dist/workflows/evented/index.cjs +10 -10
  54. package/dist/workflows/evented/index.js +1 -1
  55. package/dist/workflows/index.cjs +10 -10
  56. package/dist/workflows/index.js +1 -1
  57. package/dist/workflows/legacy/index.cjs +22 -22
  58. package/dist/workflows/legacy/index.js +1 -1
  59. package/package.json +3 -3
  60. package/dist/chunk-WJXZMK43.cjs.map +0 -1
  61. package/dist/chunk-ZGSS7RCP.js.map +0 -1
@@ -1,44 +1,44 @@
1
1
  'use strict';
2
2
 
3
- var chunkONGPJVTY_cjs = require('../../chunk-ONGPJVTY.cjs');
3
+ var chunkZIDWSQFD_cjs = require('../../chunk-ZIDWSQFD.cjs');
4
4
 
5
5
 
6
6
 
7
7
  Object.defineProperty(exports, "EventedExecutionEngine", {
8
8
  enumerable: true,
9
- get: function () { return chunkONGPJVTY_cjs.EventedExecutionEngine; }
9
+ get: function () { return chunkZIDWSQFD_cjs.EventedExecutionEngine; }
10
10
  });
11
11
  Object.defineProperty(exports, "EventedRun", {
12
12
  enumerable: true,
13
- get: function () { return chunkONGPJVTY_cjs.EventedRun; }
13
+ get: function () { return chunkZIDWSQFD_cjs.EventedRun; }
14
14
  });
15
15
  Object.defineProperty(exports, "EventedWorkflow", {
16
16
  enumerable: true,
17
- get: function () { return chunkONGPJVTY_cjs.EventedWorkflow; }
17
+ get: function () { return chunkZIDWSQFD_cjs.EventedWorkflow; }
18
18
  });
19
19
  Object.defineProperty(exports, "StepExecutor", {
20
20
  enumerable: true,
21
- get: function () { return chunkONGPJVTY_cjs.StepExecutor; }
21
+ get: function () { return chunkZIDWSQFD_cjs.StepExecutor; }
22
22
  });
23
23
  Object.defineProperty(exports, "WorkflowEventProcessor", {
24
24
  enumerable: true,
25
- get: function () { return chunkONGPJVTY_cjs.WorkflowEventProcessor; }
25
+ get: function () { return chunkZIDWSQFD_cjs.WorkflowEventProcessor; }
26
26
  });
27
27
  Object.defineProperty(exports, "cloneStep", {
28
28
  enumerable: true,
29
- get: function () { return chunkONGPJVTY_cjs.cloneStep; }
29
+ get: function () { return chunkZIDWSQFD_cjs.cloneStep; }
30
30
  });
31
31
  Object.defineProperty(exports, "cloneWorkflow", {
32
32
  enumerable: true,
33
- get: function () { return chunkONGPJVTY_cjs.cloneWorkflow; }
33
+ get: function () { return chunkZIDWSQFD_cjs.cloneWorkflow; }
34
34
  });
35
35
  Object.defineProperty(exports, "createStep", {
36
36
  enumerable: true,
37
- get: function () { return chunkONGPJVTY_cjs.createStep; }
37
+ get: function () { return chunkZIDWSQFD_cjs.createStep; }
38
38
  });
39
39
  Object.defineProperty(exports, "createWorkflow", {
40
40
  enumerable: true,
41
- get: function () { return chunkONGPJVTY_cjs.createWorkflow; }
41
+ get: function () { return chunkZIDWSQFD_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-IU367D3M.js';
1
+ export { EventedExecutionEngine, EventedRun, EventedWorkflow, StepExecutor, WorkflowEventProcessor, cloneStep, cloneWorkflow, createStep, createWorkflow } from '../../chunk-YYRE76UM.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 chunkWJXZMK43_cjs = require('../chunk-WJXZMK43.cjs');
3
+ var chunkBJASJTXK_cjs = require('../chunk-BJASJTXK.cjs');
4
4
 
5
5
 
6
6
 
7
7
  Object.defineProperty(exports, "DefaultExecutionEngine", {
8
8
  enumerable: true,
9
- get: function () { return chunkWJXZMK43_cjs.DefaultExecutionEngine; }
9
+ get: function () { return chunkBJASJTXK_cjs.DefaultExecutionEngine; }
10
10
  });
11
11
  Object.defineProperty(exports, "ExecutionEngine", {
12
12
  enumerable: true,
13
- get: function () { return chunkWJXZMK43_cjs.ExecutionEngine; }
13
+ get: function () { return chunkBJASJTXK_cjs.ExecutionEngine; }
14
14
  });
15
15
  Object.defineProperty(exports, "Run", {
16
16
  enumerable: true,
17
- get: function () { return chunkWJXZMK43_cjs.Run; }
17
+ get: function () { return chunkBJASJTXK_cjs.Run; }
18
18
  });
19
19
  Object.defineProperty(exports, "Workflow", {
20
20
  enumerable: true,
21
- get: function () { return chunkWJXZMK43_cjs.Workflow; }
21
+ get: function () { return chunkBJASJTXK_cjs.Workflow; }
22
22
  });
23
23
  Object.defineProperty(exports, "cloneStep", {
24
24
  enumerable: true,
25
- get: function () { return chunkWJXZMK43_cjs.cloneStep; }
25
+ get: function () { return chunkBJASJTXK_cjs.cloneStep; }
26
26
  });
27
27
  Object.defineProperty(exports, "cloneWorkflow", {
28
28
  enumerable: true,
29
- get: function () { return chunkWJXZMK43_cjs.cloneWorkflow; }
29
+ get: function () { return chunkBJASJTXK_cjs.cloneWorkflow; }
30
30
  });
31
31
  Object.defineProperty(exports, "createStep", {
32
32
  enumerable: true,
33
- get: function () { return chunkWJXZMK43_cjs.createStep; }
33
+ get: function () { return chunkBJASJTXK_cjs.createStep; }
34
34
  });
35
35
  Object.defineProperty(exports, "createWorkflow", {
36
36
  enumerable: true,
37
- get: function () { return chunkWJXZMK43_cjs.createWorkflow; }
37
+ get: function () { return chunkBJASJTXK_cjs.createWorkflow; }
38
38
  });
39
39
  Object.defineProperty(exports, "mapVariable", {
40
40
  enumerable: true,
41
- get: function () { return chunkWJXZMK43_cjs.mapVariable; }
41
+ get: function () { return chunkBJASJTXK_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-ZGSS7RCP.js';
1
+ export { DefaultExecutionEngine, ExecutionEngine, Run, Workflow, cloneStep, cloneWorkflow, createStep, createWorkflow, mapVariable } from '../chunk-3MSZBGO3.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 chunkWJXZMK43_cjs = require('../../chunk-WJXZMK43.cjs');
3
+ var chunkBJASJTXK_cjs = require('../../chunk-BJASJTXK.cjs');
4
4
 
5
5
 
6
6
 
7
7
  Object.defineProperty(exports, "LegacyStep", {
8
8
  enumerable: true,
9
- get: function () { return chunkWJXZMK43_cjs.LegacyStep; }
9
+ get: function () { return chunkBJASJTXK_cjs.LegacyStep; }
10
10
  });
11
11
  Object.defineProperty(exports, "LegacyWorkflow", {
12
12
  enumerable: true,
13
- get: function () { return chunkWJXZMK43_cjs.LegacyWorkflow; }
13
+ get: function () { return chunkBJASJTXK_cjs.LegacyWorkflow; }
14
14
  });
15
15
  Object.defineProperty(exports, "WhenConditionReturnValue", {
16
16
  enumerable: true,
17
- get: function () { return chunkWJXZMK43_cjs.WhenConditionReturnValue; }
17
+ get: function () { return chunkBJASJTXK_cjs.WhenConditionReturnValue; }
18
18
  });
19
19
  Object.defineProperty(exports, "agentToStep", {
20
20
  enumerable: true,
21
- get: function () { return chunkWJXZMK43_cjs.agentToStep; }
21
+ get: function () { return chunkBJASJTXK_cjs.agentToStep; }
22
22
  });
23
23
  Object.defineProperty(exports, "getActivePathsAndStatus", {
24
24
  enumerable: true,
25
- get: function () { return chunkWJXZMK43_cjs.getActivePathsAndStatus; }
25
+ get: function () { return chunkBJASJTXK_cjs.getActivePathsAndStatus; }
26
26
  });
27
27
  Object.defineProperty(exports, "getResultActivePaths", {
28
28
  enumerable: true,
29
- get: function () { return chunkWJXZMK43_cjs.getResultActivePaths; }
29
+ get: function () { return chunkBJASJTXK_cjs.getResultActivePaths; }
30
30
  });
31
31
  Object.defineProperty(exports, "getStepResult", {
32
32
  enumerable: true,
33
- get: function () { return chunkWJXZMK43_cjs.getStepResult; }
33
+ get: function () { return chunkBJASJTXK_cjs.getStepResult; }
34
34
  });
35
35
  Object.defineProperty(exports, "getSuspendedPaths", {
36
36
  enumerable: true,
37
- get: function () { return chunkWJXZMK43_cjs.getSuspendedPaths; }
37
+ get: function () { return chunkBJASJTXK_cjs.getSuspendedPaths; }
38
38
  });
39
39
  Object.defineProperty(exports, "isAgent", {
40
40
  enumerable: true,
41
- get: function () { return chunkWJXZMK43_cjs.isAgent; }
41
+ get: function () { return chunkBJASJTXK_cjs.isAgent; }
42
42
  });
43
43
  Object.defineProperty(exports, "isConditionalKey", {
44
44
  enumerable: true,
45
- get: function () { return chunkWJXZMK43_cjs.isConditionalKey; }
45
+ get: function () { return chunkBJASJTXK_cjs.isConditionalKey; }
46
46
  });
47
47
  Object.defineProperty(exports, "isErrorEvent", {
48
48
  enumerable: true,
49
- get: function () { return chunkWJXZMK43_cjs.isErrorEvent; }
49
+ get: function () { return chunkBJASJTXK_cjs.isErrorEvent; }
50
50
  });
51
51
  Object.defineProperty(exports, "isFinalState", {
52
52
  enumerable: true,
53
- get: function () { return chunkWJXZMK43_cjs.isFinalState; }
53
+ get: function () { return chunkBJASJTXK_cjs.isFinalState; }
54
54
  });
55
55
  Object.defineProperty(exports, "isLimboState", {
56
56
  enumerable: true,
57
- get: function () { return chunkWJXZMK43_cjs.isLimboState; }
57
+ get: function () { return chunkBJASJTXK_cjs.isLimboState; }
58
58
  });
59
59
  Object.defineProperty(exports, "isTransitionEvent", {
60
60
  enumerable: true,
61
- get: function () { return chunkWJXZMK43_cjs.isTransitionEvent; }
61
+ get: function () { return chunkBJASJTXK_cjs.isTransitionEvent; }
62
62
  });
63
63
  Object.defineProperty(exports, "isVariableReference", {
64
64
  enumerable: true,
65
- get: function () { return chunkWJXZMK43_cjs.isVariableReference; }
65
+ get: function () { return chunkBJASJTXK_cjs.isVariableReference; }
66
66
  });
67
67
  Object.defineProperty(exports, "isWorkflow", {
68
68
  enumerable: true,
69
- get: function () { return chunkWJXZMK43_cjs.isWorkflow; }
69
+ get: function () { return chunkBJASJTXK_cjs.isWorkflow; }
70
70
  });
71
71
  Object.defineProperty(exports, "mergeChildValue", {
72
72
  enumerable: true,
73
- get: function () { return chunkWJXZMK43_cjs.mergeChildValue; }
73
+ get: function () { return chunkBJASJTXK_cjs.mergeChildValue; }
74
74
  });
75
75
  Object.defineProperty(exports, "recursivelyCheckForFinalState", {
76
76
  enumerable: true,
77
- get: function () { return chunkWJXZMK43_cjs.recursivelyCheckForFinalState; }
77
+ get: function () { return chunkBJASJTXK_cjs.recursivelyCheckForFinalState; }
78
78
  });
79
79
  Object.defineProperty(exports, "resolveVariables", {
80
80
  enumerable: true,
81
- get: function () { return chunkWJXZMK43_cjs.resolveVariables; }
81
+ get: function () { return chunkBJASJTXK_cjs.resolveVariables; }
82
82
  });
83
83
  Object.defineProperty(exports, "updateStepInHierarchy", {
84
84
  enumerable: true,
85
- get: function () { return chunkWJXZMK43_cjs.updateStepInHierarchy; }
85
+ get: function () { return chunkBJASJTXK_cjs.updateStepInHierarchy; }
86
86
  });
87
87
  Object.defineProperty(exports, "workflowToStep", {
88
88
  enumerable: true,
89
- get: function () { return chunkWJXZMK43_cjs.workflowToStep; }
89
+ get: function () { return chunkBJASJTXK_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-ZGSS7RCP.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-3MSZBGO3.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.1-alpha.2",
3
+ "version": "0.16.1",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -227,8 +227,8 @@
227
227
  "typescript": "^5.8.3",
228
228
  "vitest": "^3.2.4",
229
229
  "zod": "^3.25.76",
230
- "@internal/lint": "0.0.36",
231
- "@internal/types-builder": "0.0.11"
230
+ "@internal/lint": "0.0.37",
231
+ "@internal/types-builder": "0.0.12"
232
232
  },
233
233
  "engines": {
234
234
  "node": ">=20"