@mastra/core 0.10.2-alpha.6 → 0.10.2

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 (86) hide show
  1. package/dist/agent/index.cjs +4 -4
  2. package/dist/agent/index.d.cts +1 -1
  3. package/dist/agent/index.d.ts +1 -1
  4. package/dist/agent/index.js +2 -2
  5. package/dist/{base-BVo_KTj_.d.ts → base-BEjkhvZ_.d.ts} +1 -1
  6. package/dist/{base-CCeahyG8.d.cts → base-BJBoI-g2.d.cts} +1 -1
  7. package/dist/chunk-32C7JDIZ.js +1 -0
  8. package/dist/{chunk-GNJ7CAHY.js → chunk-4UWPFBC6.js} +1 -1
  9. package/dist/chunk-4Z3OU5RY.cjs +31 -0
  10. package/dist/{chunk-II7UBNGM.cjs → chunk-5G3XWKIU.cjs} +2 -2
  11. package/dist/{chunk-LKO4XMRH.js → chunk-7AWGDSGR.js} +2 -2
  12. package/dist/{chunk-6NJLWXMZ.js → chunk-B2RDYK2X.js} +1 -1
  13. package/dist/{chunk-YZB2YQ63.cjs → chunk-B7SQOKEC.cjs} +2 -2
  14. package/dist/chunk-C4LMN2IR.js +27 -0
  15. package/dist/{chunk-DXK4HYTL.js → chunk-FGBS7VRU.js} +1 -1
  16. package/dist/{chunk-MWU2UKZI.js → chunk-JAVP6ACT.js} +1 -1
  17. package/dist/{chunk-2AFAKGJ4.js → chunk-JBTXWDNO.js} +4 -3
  18. package/dist/{chunk-PBHXIWAK.cjs → chunk-KUJQVCEL.cjs} +3 -3
  19. package/dist/chunk-QFTBW7ZZ.cjs +2 -0
  20. package/dist/{chunk-SMPHOXU3.cjs → chunk-S4TS74VT.cjs} +4 -4
  21. package/dist/{chunk-P5XIIDTT.cjs → chunk-SKYO5NFQ.cjs} +4 -4
  22. package/dist/{chunk-IJWOVA22.cjs → chunk-TO5645ZP.cjs} +16 -15
  23. package/dist/{chunk-PNPMKRS2.cjs → chunk-VBSKHNCY.cjs} +5 -5
  24. package/dist/{chunk-24D3CMWO.js → chunk-WE5ABCZN.js} +2 -2
  25. package/dist/{chunk-TN3TNMXO.cjs → chunk-WWLMZIHW.cjs} +6 -31
  26. package/dist/{chunk-26WUL725.js → chunk-Y5BGCPNZ.js} +2 -24
  27. package/dist/error/index.cjs +75 -0
  28. package/dist/error/index.d.cts +80 -0
  29. package/dist/error/index.d.ts +80 -0
  30. package/dist/error/index.js +70 -0
  31. package/dist/eval/index.d.cts +1 -1
  32. package/dist/eval/index.d.ts +1 -1
  33. package/dist/index.cjs +48 -51
  34. package/dist/index.d.cts +3 -3
  35. package/dist/index.d.ts +3 -3
  36. package/dist/index.js +10 -9
  37. package/dist/integration/index.cjs +3 -3
  38. package/dist/integration/index.d.cts +1 -1
  39. package/dist/integration/index.d.ts +1 -1
  40. package/dist/integration/index.js +1 -1
  41. package/dist/llm/index.d.cts +1 -1
  42. package/dist/llm/index.d.ts +1 -1
  43. package/dist/mastra/index.d.cts +1 -1
  44. package/dist/mastra/index.d.ts +1 -1
  45. package/dist/mcp/index.d.cts +1 -1
  46. package/dist/mcp/index.d.ts +1 -1
  47. package/dist/memory/index.cjs +4 -4
  48. package/dist/memory/index.d.cts +1 -1
  49. package/dist/memory/index.d.ts +1 -1
  50. package/dist/memory/index.js +1 -1
  51. package/dist/network/index.cjs +4 -4
  52. package/dist/network/index.d.cts +1 -1
  53. package/dist/network/index.d.ts +1 -1
  54. package/dist/network/index.js +2 -2
  55. package/dist/relevance/index.cjs +4 -4
  56. package/dist/relevance/index.d.cts +1 -1
  57. package/dist/relevance/index.d.ts +1 -1
  58. package/dist/relevance/index.js +1 -1
  59. package/dist/server/index.d.cts +2 -2
  60. package/dist/server/index.d.ts +2 -2
  61. package/dist/storage/index.cjs +2 -2
  62. package/dist/storage/index.d.cts +2 -2
  63. package/dist/storage/index.d.ts +2 -2
  64. package/dist/storage/index.js +1 -1
  65. package/dist/telemetry/index.d.cts +1 -1
  66. package/dist/telemetry/index.d.ts +1 -1
  67. package/dist/tools/index.cjs +4 -4
  68. package/dist/tools/index.d.cts +18 -7
  69. package/dist/tools/index.d.ts +18 -7
  70. package/dist/tools/index.js +1 -1
  71. package/dist/utils.cjs +14 -18
  72. package/dist/utils.d.cts +4 -10
  73. package/dist/utils.d.ts +4 -10
  74. package/dist/utils.js +1 -1
  75. package/dist/voice/index.d.cts +1 -1
  76. package/dist/voice/index.d.ts +1 -1
  77. package/dist/workflows/index.cjs +9 -9
  78. package/dist/workflows/index.d.cts +2 -2
  79. package/dist/workflows/index.d.ts +2 -2
  80. package/dist/workflows/index.js +1 -1
  81. package/dist/workflows/legacy/index.cjs +22 -22
  82. package/dist/workflows/legacy/index.d.cts +2 -2
  83. package/dist/workflows/legacy/index.d.ts +2 -2
  84. package/dist/workflows/legacy/index.js +1 -1
  85. package/error.d.ts +1 -0
  86. package/package.json +2 -2
package/dist/utils.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { aS as VercelTool, ac as ToolAction, a as Mastra, bl as MastraPrimitives, ae as MastraMemory, w as ToolsInput, aT as CoreTool, u as Agent, t as LegacyWorkflow, s as LegacyStep, B as StepExecutionContext, v as WorkflowContext, ai as Workflow, ah as Step, bm as AgentNetwork, bn as MCPServerBase } from './base-BVo_KTj_.js';
1
+ import { M as Mastra, a as MastraPrimitives, b as MastraMemory, T as ToolsInput, V as VercelTool, c as ToolAction, C as CoreTool, A as Agent, L as LegacyWorkflow, d as LegacyStep, S as StepExecutionContext, W as WorkflowContext, e as Workflow, f as Step, g as AgentNetwork, h as MCPServerBase } from './base-BEjkhvZ_.js';
2
2
  import { LanguageModelV1, CoreMessage, Message } from 'ai';
3
3
  import { MastraTTS } from './tts/index.js';
4
4
  import { MastraVector } from './vector/index.js';
@@ -19,11 +19,11 @@ import './workflows/constants.js';
19
19
  import 'ai/test';
20
20
  import './deployer/index.js';
21
21
  import './bundler/index.js';
22
- import 'stream';
23
- import '@opentelemetry/sdk-trace-base';
24
22
  import 'hono/cors';
25
23
  import 'hono-openapi';
26
24
  import './vector/filter/index.js';
25
+ import 'stream';
26
+ import '@opentelemetry/sdk-trace-base';
27
27
 
28
28
  declare const delay: (ms: number) => Promise<unknown>;
29
29
  /**
@@ -53,12 +53,6 @@ declare function maskStreamTags(stream: AsyncIterable<string>, tag: string, opti
53
53
  * @returns resolved zod object
54
54
  */
55
55
  declare function resolveSerializedZodOutput(schema: string): z.ZodType;
56
- /**
57
- * Checks if a tool is a Vercel Tool
58
- * @param tool - The tool to check
59
- * @returns True if the tool is a Vercel Tool, false otherwise
60
- */
61
- declare function isVercelTool(tool?: ToolToConvert): tool is VercelTool;
62
56
  interface ToolOptions {
63
57
  name: string;
64
58
  runId?: string;
@@ -149,4 +143,4 @@ declare function parseSqlIdentifier(name: string, kind?: string): SqlIdentifier;
149
143
  */
150
144
  declare function parseFieldKey(key: string): FieldKey;
151
145
 
152
- export { type TagMaskOptions, type ToolOptions, checkEvalStorageFields, createMastraProxy, deepMerge, delay, ensureToolProperties, isCoreMessage, isUiMessage, isVercelTool, isZodType, makeCoreTool, maskStreamTags, parseFieldKey, parseSqlIdentifier, resolveSerializedZodOutput };
146
+ export { type TagMaskOptions, type ToolOptions, checkEvalStorageFields, createMastraProxy, deepMerge, delay, ensureToolProperties, isCoreMessage, isUiMessage, isZodType, makeCoreTool, maskStreamTags, parseFieldKey, parseSqlIdentifier, resolveSerializedZodOutput };
package/dist/utils.js CHANGED
@@ -1 +1 @@
1
- export { checkEvalStorageFields, createMastraProxy, deepMerge, delay, ensureToolProperties, isCoreMessage, isUiMessage, isVercelTool, isZodType, makeCoreTool, maskStreamTags, parseFieldKey, parseSqlIdentifier, resolveSerializedZodOutput } from './chunk-26WUL725.js';
1
+ export { checkEvalStorageFields, createMastraProxy, deepMerge, delay, ensureToolProperties, isCoreMessage, isUiMessage, isZodType, makeCoreTool, maskStreamTags, parseFieldKey, parseSqlIdentifier, resolveSerializedZodOutput } from './chunk-Y5BGCPNZ.js';
@@ -1,4 +1,4 @@
1
- export { bs as CompositeVoice, bt as DefaultVoice, br as MastraVoice, bq as VoiceConfig, bp as VoiceEventMap, bo as VoiceEventType } from '../base-CCeahyG8.cjs';
1
+ export { bs as CompositeVoice, bt as DefaultVoice, br as MastraVoice, bq as VoiceConfig, bp as VoiceEventMap, bo as VoiceEventType } from '../base-BJBoI-g2.cjs';
2
2
  import 'ai';
3
3
  import '../base-BY9WFI65.cjs';
4
4
  import '@opentelemetry/api';
@@ -1,4 +1,4 @@
1
- export { bs as CompositeVoice, bt as DefaultVoice, br as MastraVoice, bq as VoiceConfig, bp as VoiceEventMap, bo as VoiceEventType } from '../base-BVo_KTj_.js';
1
+ export { bs as CompositeVoice, bt as DefaultVoice, br as MastraVoice, bq as VoiceConfig, bp as VoiceEventMap, bo as VoiceEventType } from '../base-BEjkhvZ_.js';
2
2
  import 'ai';
3
3
  import '../base-C0yUw8BC.js';
4
4
  import '@opentelemetry/api';
@@ -1,38 +1,38 @@
1
1
  'use strict';
2
2
 
3
- var chunkP5XIIDTT_cjs = require('../chunk-P5XIIDTT.cjs');
3
+ var chunkSKYO5NFQ_cjs = require('../chunk-SKYO5NFQ.cjs');
4
4
 
5
5
 
6
6
 
7
7
  Object.defineProperty(exports, "DefaultExecutionEngine", {
8
8
  enumerable: true,
9
- get: function () { return chunkP5XIIDTT_cjs.DefaultExecutionEngine; }
9
+ get: function () { return chunkSKYO5NFQ_cjs.DefaultExecutionEngine; }
10
10
  });
11
11
  Object.defineProperty(exports, "ExecutionEngine", {
12
12
  enumerable: true,
13
- get: function () { return chunkP5XIIDTT_cjs.ExecutionEngine; }
13
+ get: function () { return chunkSKYO5NFQ_cjs.ExecutionEngine; }
14
14
  });
15
15
  Object.defineProperty(exports, "Run", {
16
16
  enumerable: true,
17
- get: function () { return chunkP5XIIDTT_cjs.Run; }
17
+ get: function () { return chunkSKYO5NFQ_cjs.Run; }
18
18
  });
19
19
  Object.defineProperty(exports, "Workflow", {
20
20
  enumerable: true,
21
- get: function () { return chunkP5XIIDTT_cjs.Workflow; }
21
+ get: function () { return chunkSKYO5NFQ_cjs.Workflow; }
22
22
  });
23
23
  Object.defineProperty(exports, "cloneStep", {
24
24
  enumerable: true,
25
- get: function () { return chunkP5XIIDTT_cjs.cloneStep; }
25
+ get: function () { return chunkSKYO5NFQ_cjs.cloneStep; }
26
26
  });
27
27
  Object.defineProperty(exports, "cloneWorkflow", {
28
28
  enumerable: true,
29
- get: function () { return chunkP5XIIDTT_cjs.cloneWorkflow; }
29
+ get: function () { return chunkSKYO5NFQ_cjs.cloneWorkflow; }
30
30
  });
31
31
  Object.defineProperty(exports, "createStep", {
32
32
  enumerable: true,
33
- get: function () { return chunkP5XIIDTT_cjs.createStep; }
33
+ get: function () { return chunkSKYO5NFQ_cjs.createStep; }
34
34
  });
35
35
  Object.defineProperty(exports, "createWorkflow", {
36
36
  enumerable: true,
37
- get: function () { return chunkP5XIIDTT_cjs.createWorkflow; }
37
+ get: function () { return chunkSKYO5NFQ_cjs.createWorkflow; }
38
38
  });
@@ -1,5 +1,5 @@
1
- import { b3 as ExecutionEngine, b9 as StepResult, b2 as ExecutionGraph, aX as SerializedStepFlowEntry, aV as StepFlowEntry, ah as Step, b4 as ExecuteFunction } from '../base-CCeahyG8.cjs';
2
- export { bb as DynamicMapping, be as ExtractSchemaFromStep, bd as ExtractSchemaType, bc as PathsToStringProps, b1 as Run, aW as SerializedStep, b6 as StepFailure, b8 as StepRunning, b5 as StepSuccess, b7 as StepSuspended, ba as StepsRecord, bg as StreamEvent, bf as VariableReference, bh as WatchEvent, ai as Workflow, aj as WorkflowConfig, b0 as WorkflowResult, bj as WorkflowRunState, bi as ZodPathType, aZ as cloneStep, a$ as cloneWorkflow, aY as createStep, a_ as createWorkflow } from '../base-CCeahyG8.cjs';
1
+ import { b6 as ExecutionEngine, bc as StepResult, b5 as ExecutionGraph, a_ as SerializedStepFlowEntry, aY as StepFlowEntry, f as Step, b7 as ExecuteFunction } from '../base-BJBoI-g2.cjs';
2
+ export { be as DynamicMapping, bh as ExtractSchemaFromStep, bg as ExtractSchemaType, bf as PathsToStringProps, b4 as Run, aZ as SerializedStep, b9 as StepFailure, bb as StepRunning, b8 as StepSuccess, ba as StepSuspended, bd as StepsRecord, bj as StreamEvent, bi as VariableReference, bk as WatchEvent, e as Workflow, aq as WorkflowConfig, b3 as WorkflowResult, bm as WorkflowRunState, bl as ZodPathType, b0 as cloneStep, b2 as cloneWorkflow, a$ as createStep, b1 as createWorkflow } from '../base-BJBoI-g2.cjs';
3
3
  import { Span } from '@opentelemetry/api';
4
4
  import { RuntimeContext } from '../runtime-context/index.cjs';
5
5
  import 'ai';
@@ -1,5 +1,5 @@
1
- import { b3 as ExecutionEngine, b9 as StepResult, b2 as ExecutionGraph, aX as SerializedStepFlowEntry, aV as StepFlowEntry, ah as Step, b4 as ExecuteFunction } from '../base-BVo_KTj_.js';
2
- export { bb as DynamicMapping, be as ExtractSchemaFromStep, bd as ExtractSchemaType, bc as PathsToStringProps, b1 as Run, aW as SerializedStep, b6 as StepFailure, b8 as StepRunning, b5 as StepSuccess, b7 as StepSuspended, ba as StepsRecord, bg as StreamEvent, bf as VariableReference, bh as WatchEvent, ai as Workflow, aj as WorkflowConfig, b0 as WorkflowResult, bj as WorkflowRunState, bi as ZodPathType, aZ as cloneStep, a$ as cloneWorkflow, aY as createStep, a_ as createWorkflow } from '../base-BVo_KTj_.js';
1
+ import { b6 as ExecutionEngine, bc as StepResult, b5 as ExecutionGraph, a_ as SerializedStepFlowEntry, aY as StepFlowEntry, f as Step, b7 as ExecuteFunction } from '../base-BEjkhvZ_.js';
2
+ export { be as DynamicMapping, bh as ExtractSchemaFromStep, bg as ExtractSchemaType, bf as PathsToStringProps, b4 as Run, aZ as SerializedStep, b9 as StepFailure, bb as StepRunning, b8 as StepSuccess, ba as StepSuspended, bd as StepsRecord, bj as StreamEvent, bi as VariableReference, bk as WatchEvent, e as Workflow, aq as WorkflowConfig, b3 as WorkflowResult, bm as WorkflowRunState, bl as ZodPathType, b0 as cloneStep, b2 as cloneWorkflow, a$ as createStep, b1 as createWorkflow } from '../base-BEjkhvZ_.js';
3
3
  import { Span } from '@opentelemetry/api';
4
4
  import { RuntimeContext } from '../runtime-context/index.js';
5
5
  import 'ai';
@@ -1 +1 @@
1
- export { DefaultExecutionEngine, ExecutionEngine, Run, Workflow, cloneStep, cloneWorkflow, createStep, createWorkflow } from '../chunk-24D3CMWO.js';
1
+ export { DefaultExecutionEngine, ExecutionEngine, Run, Workflow, cloneStep, cloneWorkflow, createStep, createWorkflow } from '../chunk-WE5ABCZN.js';
@@ -1,90 +1,90 @@
1
1
  'use strict';
2
2
 
3
- var chunkIJWOVA22_cjs = require('../../chunk-IJWOVA22.cjs');
3
+ var chunkTO5645ZP_cjs = require('../../chunk-TO5645ZP.cjs');
4
4
 
5
5
 
6
6
 
7
7
  Object.defineProperty(exports, "LegacyStep", {
8
8
  enumerable: true,
9
- get: function () { return chunkIJWOVA22_cjs.LegacyStep; }
9
+ get: function () { return chunkTO5645ZP_cjs.LegacyStep; }
10
10
  });
11
11
  Object.defineProperty(exports, "LegacyWorkflow", {
12
12
  enumerable: true,
13
- get: function () { return chunkIJWOVA22_cjs.LegacyWorkflow; }
13
+ get: function () { return chunkTO5645ZP_cjs.LegacyWorkflow; }
14
14
  });
15
15
  Object.defineProperty(exports, "WhenConditionReturnValue", {
16
16
  enumerable: true,
17
- get: function () { return chunkIJWOVA22_cjs.WhenConditionReturnValue; }
17
+ get: function () { return chunkTO5645ZP_cjs.WhenConditionReturnValue; }
18
18
  });
19
19
  Object.defineProperty(exports, "agentToStep", {
20
20
  enumerable: true,
21
- get: function () { return chunkIJWOVA22_cjs.agentToStep; }
21
+ get: function () { return chunkTO5645ZP_cjs.agentToStep; }
22
22
  });
23
23
  Object.defineProperty(exports, "getActivePathsAndStatus", {
24
24
  enumerable: true,
25
- get: function () { return chunkIJWOVA22_cjs.getActivePathsAndStatus; }
25
+ get: function () { return chunkTO5645ZP_cjs.getActivePathsAndStatus; }
26
26
  });
27
27
  Object.defineProperty(exports, "getResultActivePaths", {
28
28
  enumerable: true,
29
- get: function () { return chunkIJWOVA22_cjs.getResultActivePaths; }
29
+ get: function () { return chunkTO5645ZP_cjs.getResultActivePaths; }
30
30
  });
31
31
  Object.defineProperty(exports, "getStepResult", {
32
32
  enumerable: true,
33
- get: function () { return chunkIJWOVA22_cjs.getStepResult; }
33
+ get: function () { return chunkTO5645ZP_cjs.getStepResult; }
34
34
  });
35
35
  Object.defineProperty(exports, "getSuspendedPaths", {
36
36
  enumerable: true,
37
- get: function () { return chunkIJWOVA22_cjs.getSuspendedPaths; }
37
+ get: function () { return chunkTO5645ZP_cjs.getSuspendedPaths; }
38
38
  });
39
39
  Object.defineProperty(exports, "isAgent", {
40
40
  enumerable: true,
41
- get: function () { return chunkIJWOVA22_cjs.isAgent; }
41
+ get: function () { return chunkTO5645ZP_cjs.isAgent; }
42
42
  });
43
43
  Object.defineProperty(exports, "isConditionalKey", {
44
44
  enumerable: true,
45
- get: function () { return chunkIJWOVA22_cjs.isConditionalKey; }
45
+ get: function () { return chunkTO5645ZP_cjs.isConditionalKey; }
46
46
  });
47
47
  Object.defineProperty(exports, "isErrorEvent", {
48
48
  enumerable: true,
49
- get: function () { return chunkIJWOVA22_cjs.isErrorEvent; }
49
+ get: function () { return chunkTO5645ZP_cjs.isErrorEvent; }
50
50
  });
51
51
  Object.defineProperty(exports, "isFinalState", {
52
52
  enumerable: true,
53
- get: function () { return chunkIJWOVA22_cjs.isFinalState; }
53
+ get: function () { return chunkTO5645ZP_cjs.isFinalState; }
54
54
  });
55
55
  Object.defineProperty(exports, "isLimboState", {
56
56
  enumerable: true,
57
- get: function () { return chunkIJWOVA22_cjs.isLimboState; }
57
+ get: function () { return chunkTO5645ZP_cjs.isLimboState; }
58
58
  });
59
59
  Object.defineProperty(exports, "isTransitionEvent", {
60
60
  enumerable: true,
61
- get: function () { return chunkIJWOVA22_cjs.isTransitionEvent; }
61
+ get: function () { return chunkTO5645ZP_cjs.isTransitionEvent; }
62
62
  });
63
63
  Object.defineProperty(exports, "isVariableReference", {
64
64
  enumerable: true,
65
- get: function () { return chunkIJWOVA22_cjs.isVariableReference; }
65
+ get: function () { return chunkTO5645ZP_cjs.isVariableReference; }
66
66
  });
67
67
  Object.defineProperty(exports, "isWorkflow", {
68
68
  enumerable: true,
69
- get: function () { return chunkIJWOVA22_cjs.isWorkflow; }
69
+ get: function () { return chunkTO5645ZP_cjs.isWorkflow; }
70
70
  });
71
71
  Object.defineProperty(exports, "mergeChildValue", {
72
72
  enumerable: true,
73
- get: function () { return chunkIJWOVA22_cjs.mergeChildValue; }
73
+ get: function () { return chunkTO5645ZP_cjs.mergeChildValue; }
74
74
  });
75
75
  Object.defineProperty(exports, "recursivelyCheckForFinalState", {
76
76
  enumerable: true,
77
- get: function () { return chunkIJWOVA22_cjs.recursivelyCheckForFinalState; }
77
+ get: function () { return chunkTO5645ZP_cjs.recursivelyCheckForFinalState; }
78
78
  });
79
79
  Object.defineProperty(exports, "resolveVariables", {
80
80
  enumerable: true,
81
- get: function () { return chunkIJWOVA22_cjs.resolveVariables; }
81
+ get: function () { return chunkTO5645ZP_cjs.resolveVariables; }
82
82
  });
83
83
  Object.defineProperty(exports, "updateStepInHierarchy", {
84
84
  enumerable: true,
85
- get: function () { return chunkIJWOVA22_cjs.updateStepInHierarchy; }
85
+ get: function () { return chunkTO5645ZP_cjs.updateStepInHierarchy; }
86
86
  });
87
87
  Object.defineProperty(exports, "workflowToStep", {
88
88
  enumerable: true,
89
- get: function () { return chunkIJWOVA22_cjs.workflowToStep; }
89
+ get: function () { return chunkTO5645ZP_cjs.workflowToStep; }
90
90
  });
@@ -1,5 +1,5 @@
1
- import { V as VariableReference, r as StepResult, s as LegacyStep, t as LegacyWorkflow, u as Agent, v as WorkflowContext, w as ToolsInput, a as Mastra, x as StepAction, y as LegacyWorkflowRunResult } from '../../base-CCeahyG8.cjs';
2
- export { I as ActionContext, H as BaseCondition, _ as DependencyCheckOutput, a5 as ExtractSchemaFromStep, a8 as ExtractSchemaType, a6 as ExtractStepResult, aa as LegacyWorkflowRunState, a3 as LegacyWorkflowState, a9 as PathsToStringProps, X as ResolverFunctionInput, Y as ResolverFunctionOutput, R as RetryConfig, N as StepCondition, O as StepConfig, K as StepDef, B as StepExecutionContext, G as StepGraph, a4 as StepId, a7 as StepInputType, F as StepNode, $ as StepResolverOutput, D as StepVariableType, P as StepsRecord, Z as SubscriberFunctionOutput, J as WhenConditionReturnValue, a1 as WorkflowActionParams, a2 as WorkflowActions, a0 as WorkflowActors, U as WorkflowEvent, Q as WorkflowLogMessage, z as WorkflowOptions, ab as WorkflowResumeResult } from '../../base-CCeahyG8.cjs';
1
+ import { I as VariableReference, J as StepResult, d as LegacyStep, L as LegacyWorkflow, A as Agent, W as WorkflowContext, T as ToolsInput, M as Mastra, K as StepAction, N as LegacyWorkflowRunResult } from '../../base-BJBoI-g2.cjs';
2
+ export { Y as ActionContext, X as BaseCondition, a7 as DependencyCheckOutput, ae as ExtractSchemaFromStep, ah as ExtractSchemaType, af as ExtractStepResult, aj as LegacyWorkflowRunState, ac as LegacyWorkflowState, ai as PathsToStringProps, a4 as ResolverFunctionInput, a5 as ResolverFunctionOutput, U as RetryConfig, $ as StepCondition, a0 as StepConfig, _ as StepDef, S as StepExecutionContext, R as StepGraph, ad as StepId, ag as StepInputType, Q as StepNode, a8 as StepResolverOutput, P as StepVariableType, a1 as StepsRecord, a6 as SubscriberFunctionOutput, Z as WhenConditionReturnValue, aa as WorkflowActionParams, ab as WorkflowActions, a9 as WorkflowActors, a3 as WorkflowEvent, a2 as WorkflowLogMessage, O as WorkflowOptions, ak as WorkflowResumeResult } from '../../base-BJBoI-g2.cjs';
3
3
  import { z } from 'zod';
4
4
  import { M as Metric } from '../../types-Bo1uigWx.cjs';
5
5
  import { I as IMastraLogger } from '../../logger-BF2Sn7JX.cjs';
@@ -1,5 +1,5 @@
1
- import { V as VariableReference, r as StepResult, s as LegacyStep, t as LegacyWorkflow, u as Agent, v as WorkflowContext, w as ToolsInput, a as Mastra, x as StepAction, y as LegacyWorkflowRunResult } from '../../base-BVo_KTj_.js';
2
- export { I as ActionContext, H as BaseCondition, _ as DependencyCheckOutput, a5 as ExtractSchemaFromStep, a8 as ExtractSchemaType, a6 as ExtractStepResult, aa as LegacyWorkflowRunState, a3 as LegacyWorkflowState, a9 as PathsToStringProps, X as ResolverFunctionInput, Y as ResolverFunctionOutput, R as RetryConfig, N as StepCondition, O as StepConfig, K as StepDef, B as StepExecutionContext, G as StepGraph, a4 as StepId, a7 as StepInputType, F as StepNode, $ as StepResolverOutput, D as StepVariableType, P as StepsRecord, Z as SubscriberFunctionOutput, J as WhenConditionReturnValue, a1 as WorkflowActionParams, a2 as WorkflowActions, a0 as WorkflowActors, U as WorkflowEvent, Q as WorkflowLogMessage, z as WorkflowOptions, ab as WorkflowResumeResult } from '../../base-BVo_KTj_.js';
1
+ import { I as VariableReference, J as StepResult, d as LegacyStep, L as LegacyWorkflow, A as Agent, W as WorkflowContext, T as ToolsInput, M as Mastra, K as StepAction, N as LegacyWorkflowRunResult } from '../../base-BEjkhvZ_.js';
2
+ export { Y as ActionContext, X as BaseCondition, a7 as DependencyCheckOutput, ae as ExtractSchemaFromStep, ah as ExtractSchemaType, af as ExtractStepResult, aj as LegacyWorkflowRunState, ac as LegacyWorkflowState, ai as PathsToStringProps, a4 as ResolverFunctionInput, a5 as ResolverFunctionOutput, U as RetryConfig, $ as StepCondition, a0 as StepConfig, _ as StepDef, S as StepExecutionContext, R as StepGraph, ad as StepId, ag as StepInputType, Q as StepNode, a8 as StepResolverOutput, P as StepVariableType, a1 as StepsRecord, a6 as SubscriberFunctionOutput, Z as WhenConditionReturnValue, aa as WorkflowActionParams, ab as WorkflowActions, a9 as WorkflowActors, a3 as WorkflowEvent, a2 as WorkflowLogMessage, O as WorkflowOptions, ak as WorkflowResumeResult } from '../../base-BEjkhvZ_.js';
3
3
  import { z } from 'zod';
4
4
  import { M as Metric } from '../../types-Bo1uigWx.js';
5
5
  import { I as IMastraLogger } from '../../logger-BF2Sn7JX.js';
@@ -1 +1 @@
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-2AFAKGJ4.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-JBTXWDNO.js';
package/error.d.ts ADDED
@@ -0,0 +1 @@
1
+ export * from './dist/error';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/core",
3
- "version": "0.10.2-alpha.6",
3
+ "version": "0.10.2",
4
4
  "license": "Elastic-2.0",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -150,7 +150,7 @@
150
150
  "typescript": "^5.8.2",
151
151
  "vitest": "^3.1.2",
152
152
  "zod": "^3.24.3",
153
- "@internal/lint": "0.0.7"
153
+ "@internal/lint": "0.0.8"
154
154
  },
155
155
  "engines": {
156
156
  "node": ">=20"