@mastra/core 0.10.8 → 0.10.9
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.
- package/dist/agent/index.cjs +4 -4
- package/dist/agent/index.d.cts +8 -8
- package/dist/agent/index.d.ts +8 -8
- package/dist/agent/index.js +2 -2
- package/dist/{base-DVVTzIQy.d.cts → base-B_y9sMg0.d.cts} +1 -1
- package/dist/{base-B_WEJuiR.d.cts → base-Bu9IeyHt.d.cts} +48 -15
- package/dist/{base-BbdvunNJ.d.ts → base-ClrXcCRx.d.ts} +1 -1
- package/dist/{base-DnSegjq5.d.ts → base-D6PagN3X.d.ts} +48 -15
- package/dist/base.d.cts +2 -2
- package/dist/base.d.ts +2 -2
- package/dist/bundler/index.d.cts +2 -2
- package/dist/bundler/index.d.ts +2 -2
- package/dist/{chunk-V73Z32LN.js → chunk-5S3K64EU.js} +1 -1
- package/dist/{chunk-2D7NOO7S.cjs → chunk-6Y4UL5Z6.cjs} +11 -0
- package/dist/{chunk-QZ3VZRUU.cjs → chunk-7H2GET5Z.cjs} +6 -2
- package/dist/{chunk-YXQF4U4L.js → chunk-7XQIPES3.js} +5 -1
- package/dist/{chunk-CHBIZNA3.cjs → chunk-CWXF3ZG4.cjs} +31 -9
- package/dist/{chunk-GKCO24Z4.cjs → chunk-CZGP56Y3.cjs} +2 -2
- package/dist/{chunk-WTTYHREJ.js → chunk-HM4AOWTY.js} +1 -1
- package/dist/{chunk-DO5R43AJ.js → chunk-JQOMTERC.js} +11 -1
- package/dist/{chunk-FBURVKXA.js → chunk-O7YOEBDC.js} +220 -41
- package/dist/{chunk-E4A4XDDG.cjs → chunk-SO4GUX3Q.cjs} +221 -42
- package/dist/{chunk-EYJXFYUH.cjs → chunk-SUF6QXSI.cjs} +70 -40
- package/dist/{chunk-QIQOR45O.js → chunk-VMIMBLH4.js} +31 -9
- package/dist/{chunk-U2LC4K7N.cjs → chunk-X73RHIY2.cjs} +2 -2
- package/dist/{chunk-WK3SHUOG.js → chunk-Y2FKASKG.js} +61 -31
- package/dist/deployer/index.d.cts +2 -2
- package/dist/deployer/index.d.ts +2 -2
- package/dist/eval/index.d.cts +6 -6
- package/dist/eval/index.d.ts +6 -6
- package/dist/index.cjs +22 -22
- package/dist/index.d.cts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.js +7 -7
- package/dist/integration/index.d.cts +10 -10
- package/dist/integration/index.d.ts +10 -10
- package/dist/llm/index.d.cts +6 -6
- package/dist/llm/index.d.ts +6 -6
- package/dist/logger/index.cjs +8 -4
- package/dist/logger/index.d.cts +2 -2
- package/dist/logger/index.d.ts +2 -2
- package/dist/logger/index.js +1 -1
- package/dist/{logger-CpL0z5v_.d.cts → logger-B8XXh6ya.d.cts} +2 -1
- package/dist/{logger-DtVDdb81.d.ts → logger-Bpa2oLL4.d.ts} +2 -1
- package/dist/mastra/index.cjs +2 -2
- package/dist/mastra/index.d.cts +4 -4
- package/dist/mastra/index.d.ts +4 -4
- package/dist/mastra/index.js +1 -1
- package/dist/mcp/index.d.cts +8 -8
- package/dist/mcp/index.d.ts +8 -8
- package/dist/memory/index.cjs +4 -4
- package/dist/memory/index.d.cts +6 -6
- package/dist/memory/index.d.ts +6 -6
- package/dist/memory/index.js +1 -1
- package/dist/network/index.cjs +2 -2
- package/dist/network/index.d.cts +6 -6
- package/dist/network/index.d.ts +6 -6
- package/dist/network/index.js +1 -1
- package/dist/network/vNext/index.cjs +37 -23
- package/dist/network/vNext/index.d.cts +8 -8
- package/dist/network/vNext/index.d.ts +8 -8
- package/dist/network/vNext/index.js +26 -12
- package/dist/relevance/index.cjs +4 -4
- package/dist/relevance/index.d.cts +8 -8
- package/dist/relevance/index.d.ts +8 -8
- package/dist/relevance/index.js +1 -1
- package/dist/server/index.d.cts +7 -7
- package/dist/server/index.d.ts +7 -7
- package/dist/storage/index.cjs +2 -2
- package/dist/storage/index.d.cts +7 -7
- package/dist/storage/index.d.ts +7 -7
- package/dist/storage/index.js +1 -1
- package/dist/telemetry/index.d.cts +6 -6
- package/dist/telemetry/index.d.ts +6 -6
- package/dist/tools/index.d.cts +9 -9
- package/dist/tools/index.d.ts +9 -9
- package/dist/tts/index.d.cts +2 -2
- package/dist/tts/index.d.ts +2 -2
- package/dist/utils.d.cts +3 -3
- package/dist/utils.d.ts +3 -3
- package/dist/vector/index.d.cts +2 -2
- package/dist/vector/index.d.ts +2 -2
- package/dist/voice/index.d.cts +6 -6
- package/dist/voice/index.d.ts +6 -6
- package/dist/workflows/index.cjs +10 -10
- package/dist/workflows/index.d.cts +34 -13
- package/dist/workflows/index.d.ts +34 -13
- package/dist/workflows/index.js +1 -1
- package/dist/workflows/legacy/index.cjs +22 -22
- package/dist/workflows/legacy/index.d.cts +11 -11
- package/dist/workflows/legacy/index.d.ts +11 -11
- package/dist/workflows/legacy/index.js +1 -1
- package/package.json +4 -4
|
@@ -1,90 +1,90 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkSUF6QXSI_cjs = require('../../chunk-SUF6QXSI.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "LegacyStep", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkSUF6QXSI_cjs.LegacyStep; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "LegacyWorkflow", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkSUF6QXSI_cjs.LegacyWorkflow; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "WhenConditionReturnValue", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkSUF6QXSI_cjs.WhenConditionReturnValue; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "agentToStep", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkSUF6QXSI_cjs.agentToStep; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "getActivePathsAndStatus", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkSUF6QXSI_cjs.getActivePathsAndStatus; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "getResultActivePaths", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkSUF6QXSI_cjs.getResultActivePaths; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "getStepResult", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkSUF6QXSI_cjs.getStepResult; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "getSuspendedPaths", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkSUF6QXSI_cjs.getSuspendedPaths; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "isAgent", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkSUF6QXSI_cjs.isAgent; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "isConditionalKey", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkSUF6QXSI_cjs.isConditionalKey; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "isErrorEvent", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkSUF6QXSI_cjs.isErrorEvent; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "isFinalState", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkSUF6QXSI_cjs.isFinalState; }
|
|
54
54
|
});
|
|
55
55
|
Object.defineProperty(exports, "isLimboState", {
|
|
56
56
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunkSUF6QXSI_cjs.isLimboState; }
|
|
58
58
|
});
|
|
59
59
|
Object.defineProperty(exports, "isTransitionEvent", {
|
|
60
60
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
61
|
+
get: function () { return chunkSUF6QXSI_cjs.isTransitionEvent; }
|
|
62
62
|
});
|
|
63
63
|
Object.defineProperty(exports, "isVariableReference", {
|
|
64
64
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
65
|
+
get: function () { return chunkSUF6QXSI_cjs.isVariableReference; }
|
|
66
66
|
});
|
|
67
67
|
Object.defineProperty(exports, "isWorkflow", {
|
|
68
68
|
enumerable: true,
|
|
69
|
-
get: function () { return
|
|
69
|
+
get: function () { return chunkSUF6QXSI_cjs.isWorkflow; }
|
|
70
70
|
});
|
|
71
71
|
Object.defineProperty(exports, "mergeChildValue", {
|
|
72
72
|
enumerable: true,
|
|
73
|
-
get: function () { return
|
|
73
|
+
get: function () { return chunkSUF6QXSI_cjs.mergeChildValue; }
|
|
74
74
|
});
|
|
75
75
|
Object.defineProperty(exports, "recursivelyCheckForFinalState", {
|
|
76
76
|
enumerable: true,
|
|
77
|
-
get: function () { return
|
|
77
|
+
get: function () { return chunkSUF6QXSI_cjs.recursivelyCheckForFinalState; }
|
|
78
78
|
});
|
|
79
79
|
Object.defineProperty(exports, "resolveVariables", {
|
|
80
80
|
enumerable: true,
|
|
81
|
-
get: function () { return
|
|
81
|
+
get: function () { return chunkSUF6QXSI_cjs.resolveVariables; }
|
|
82
82
|
});
|
|
83
83
|
Object.defineProperty(exports, "updateStepInHierarchy", {
|
|
84
84
|
enumerable: true,
|
|
85
|
-
get: function () { return
|
|
85
|
+
get: function () { return chunkSUF6QXSI_cjs.updateStepInHierarchy; }
|
|
86
86
|
});
|
|
87
87
|
Object.defineProperty(exports, "workflowToStep", {
|
|
88
88
|
enumerable: true,
|
|
89
|
-
get: function () { return
|
|
89
|
+
get: function () { return chunkSUF6QXSI_cjs.workflowToStep; }
|
|
90
90
|
});
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { Q as VariableReference, R as StepResult, d as LegacyStep, L as LegacyWorkflow, A as Agent, W as WorkflowContext, T as ToolsInput, M as Mastra, U as StepAction, X as LegacyWorkflowRunResult } from '../../base-
|
|
2
|
-
export { a2 as ActionContext, a1 as BaseCondition, ad as DependencyCheckOutput, ak as ExtractSchemaFromStep, an as ExtractSchemaType, al as ExtractStepResult, ap as LegacyWorkflowRunState, ai as LegacyWorkflowState, ao as PathsToStringProps, aa as ResolverFunctionInput, ab as ResolverFunctionOutput, a0 as RetryConfig, a5 as StepCondition, a6 as StepConfig, a4 as StepDef, S as StepExecutionContext, $ as StepGraph, aj as StepId, am as StepInputType, _ as StepNode, ae as StepResolverOutput, Z as StepVariableType, a7 as StepsRecord, ac as SubscriberFunctionOutput, a3 as WhenConditionReturnValue, ag as WorkflowActionParams, ah as WorkflowActions, af as WorkflowActors, a9 as WorkflowEvent, a8 as WorkflowLogMessage, Y as WorkflowOptions, aq as WorkflowResumeResult } from '../../base-
|
|
1
|
+
import { Q as VariableReference, R as StepResult, d as LegacyStep, L as LegacyWorkflow, A as Agent, W as WorkflowContext, T as ToolsInput, M as Mastra, U as StepAction, X as LegacyWorkflowRunResult } from '../../base-Bu9IeyHt.cjs';
|
|
2
|
+
export { a2 as ActionContext, a1 as BaseCondition, ad as DependencyCheckOutput, ak as ExtractSchemaFromStep, an as ExtractSchemaType, al as ExtractStepResult, ap as LegacyWorkflowRunState, ai as LegacyWorkflowState, ao as PathsToStringProps, aa as ResolverFunctionInput, ab as ResolverFunctionOutput, a0 as RetryConfig, a5 as StepCondition, a6 as StepConfig, a4 as StepDef, S as StepExecutionContext, $ as StepGraph, aj as StepId, am as StepInputType, _ as StepNode, ae as StepResolverOutput, Z as StepVariableType, a7 as StepsRecord, ac as SubscriberFunctionOutput, a3 as WhenConditionReturnValue, ag as WorkflowActionParams, ah as WorkflowActions, af as WorkflowActors, a9 as WorkflowEvent, a8 as WorkflowLogMessage, Y as WorkflowOptions, aq as WorkflowResumeResult } from '../../base-Bu9IeyHt.cjs';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import { M as Metric } from '../../types-Bo1uigWx.cjs';
|
|
5
|
-
import { I as IMastraLogger } from '../../logger-
|
|
6
|
-
import '../../base-
|
|
5
|
+
import { I as IMastraLogger } from '../../logger-B8XXh6ya.cjs';
|
|
6
|
+
import '../../base-B_y9sMg0.cjs';
|
|
7
7
|
import 'ai';
|
|
8
8
|
import 'json-schema';
|
|
9
|
-
import '../../tts/index.cjs';
|
|
10
|
-
import '@opentelemetry/api';
|
|
11
|
-
import '../../error/index.cjs';
|
|
12
|
-
import 'stream';
|
|
13
|
-
import '@opentelemetry/sdk-trace-base';
|
|
14
|
-
import '../../vector/index.cjs';
|
|
15
|
-
import '../../vector/filter/index.cjs';
|
|
16
9
|
import 'sift';
|
|
17
10
|
import '../../runtime-context/index.cjs';
|
|
11
|
+
import '@opentelemetry/api';
|
|
18
12
|
import 'xstate';
|
|
19
13
|
import 'node:events';
|
|
14
|
+
import '../../vector/index.cjs';
|
|
15
|
+
import '../../vector/filter/index.cjs';
|
|
16
|
+
import '../../tts/index.cjs';
|
|
17
|
+
import '../../error/index.cjs';
|
|
18
|
+
import 'stream';
|
|
19
|
+
import '@opentelemetry/sdk-trace-base';
|
|
20
20
|
import 'node:http';
|
|
21
21
|
import 'hono';
|
|
22
22
|
import 'stream/web';
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { Q as VariableReference, R as StepResult, d as LegacyStep, L as LegacyWorkflow, A as Agent, W as WorkflowContext, T as ToolsInput, M as Mastra, U as StepAction, X as LegacyWorkflowRunResult } from '../../base-
|
|
2
|
-
export { a2 as ActionContext, a1 as BaseCondition, ad as DependencyCheckOutput, ak as ExtractSchemaFromStep, an as ExtractSchemaType, al as ExtractStepResult, ap as LegacyWorkflowRunState, ai as LegacyWorkflowState, ao as PathsToStringProps, aa as ResolverFunctionInput, ab as ResolverFunctionOutput, a0 as RetryConfig, a5 as StepCondition, a6 as StepConfig, a4 as StepDef, S as StepExecutionContext, $ as StepGraph, aj as StepId, am as StepInputType, _ as StepNode, ae as StepResolverOutput, Z as StepVariableType, a7 as StepsRecord, ac as SubscriberFunctionOutput, a3 as WhenConditionReturnValue, ag as WorkflowActionParams, ah as WorkflowActions, af as WorkflowActors, a9 as WorkflowEvent, a8 as WorkflowLogMessage, Y as WorkflowOptions, aq as WorkflowResumeResult } from '../../base-
|
|
1
|
+
import { Q as VariableReference, R as StepResult, d as LegacyStep, L as LegacyWorkflow, A as Agent, W as WorkflowContext, T as ToolsInput, M as Mastra, U as StepAction, X as LegacyWorkflowRunResult } from '../../base-D6PagN3X.js';
|
|
2
|
+
export { a2 as ActionContext, a1 as BaseCondition, ad as DependencyCheckOutput, ak as ExtractSchemaFromStep, an as ExtractSchemaType, al as ExtractStepResult, ap as LegacyWorkflowRunState, ai as LegacyWorkflowState, ao as PathsToStringProps, aa as ResolverFunctionInput, ab as ResolverFunctionOutput, a0 as RetryConfig, a5 as StepCondition, a6 as StepConfig, a4 as StepDef, S as StepExecutionContext, $ as StepGraph, aj as StepId, am as StepInputType, _ as StepNode, ae as StepResolverOutput, Z as StepVariableType, a7 as StepsRecord, ac as SubscriberFunctionOutput, a3 as WhenConditionReturnValue, ag as WorkflowActionParams, ah as WorkflowActions, af as WorkflowActors, a9 as WorkflowEvent, a8 as WorkflowLogMessage, Y as WorkflowOptions, aq as WorkflowResumeResult } from '../../base-D6PagN3X.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import { M as Metric } from '../../types-Bo1uigWx.js';
|
|
5
|
-
import { I as IMastraLogger } from '../../logger-
|
|
6
|
-
import '../../base-
|
|
5
|
+
import { I as IMastraLogger } from '../../logger-Bpa2oLL4.js';
|
|
6
|
+
import '../../base-ClrXcCRx.js';
|
|
7
7
|
import 'ai';
|
|
8
8
|
import 'json-schema';
|
|
9
|
-
import '../../tts/index.js';
|
|
10
|
-
import '@opentelemetry/api';
|
|
11
|
-
import '../../error/index.js';
|
|
12
|
-
import 'stream';
|
|
13
|
-
import '@opentelemetry/sdk-trace-base';
|
|
14
|
-
import '../../vector/index.js';
|
|
15
|
-
import '../../vector/filter/index.js';
|
|
16
9
|
import 'sift';
|
|
17
10
|
import '../../runtime-context/index.js';
|
|
11
|
+
import '@opentelemetry/api';
|
|
18
12
|
import 'xstate';
|
|
19
13
|
import 'node:events';
|
|
14
|
+
import '../../vector/index.js';
|
|
15
|
+
import '../../vector/filter/index.js';
|
|
16
|
+
import '../../tts/index.js';
|
|
17
|
+
import '../../error/index.js';
|
|
18
|
+
import 'stream';
|
|
19
|
+
import '@opentelemetry/sdk-trace-base';
|
|
20
20
|
import 'node:http';
|
|
21
21
|
import 'hono';
|
|
22
22
|
import 'stream/web';
|
|
@@ -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-
|
|
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-Y2FKASKG.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/core",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.9",
|
|
4
4
|
"license": "Elastic-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -125,7 +125,7 @@
|
|
|
125
125
|
"cohere-ai": "^7.17.1",
|
|
126
126
|
"date-fns": "^3.6.0",
|
|
127
127
|
"dotenv": "^16.5.0",
|
|
128
|
-
"hono": "^4.
|
|
128
|
+
"hono": "^4.8.3",
|
|
129
129
|
"hono-openapi": "^0.4.8",
|
|
130
130
|
"json-schema": "^0.4.0",
|
|
131
131
|
"json-schema-to-zod": "^2.6.1",
|
|
@@ -159,9 +159,9 @@
|
|
|
159
159
|
"size-limit": "^11.2.0",
|
|
160
160
|
"tsup": "^8.5.0",
|
|
161
161
|
"typescript": "^5.8.3",
|
|
162
|
-
"vitest": "^3.2.
|
|
162
|
+
"vitest": "^3.2.4",
|
|
163
163
|
"zod": "^3.25.67",
|
|
164
|
-
"@internal/lint": "0.0.
|
|
164
|
+
"@internal/lint": "0.0.16"
|
|
165
165
|
},
|
|
166
166
|
"engines": {
|
|
167
167
|
"node": ">=20"
|