@mastra/core 0.10.0 → 0.10.1-alpha.0
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.d.cts +1 -1
- package/dist/agent/index.d.ts +1 -1
- package/dist/{base-aJ3etsh5.d.cts → base-B2MYHwYO.d.cts} +6 -0
- package/dist/{base-DttB7sJD.d.ts → base-DnvqI7B4.d.ts} +6 -0
- package/dist/{chunk-ZB3LEHL2.js → chunk-ITDMARYE.js} +4 -0
- package/dist/{chunk-3SQ3G2EJ.js → chunk-J3C45WHN.js} +4 -4
- package/dist/{chunk-TTKQ37ZZ.cjs → chunk-S4PNVSS6.cjs} +4 -4
- package/dist/{chunk-5W2G7S44.cjs → chunk-ZWZCNV53.cjs} +4 -0
- package/dist/eval/index.d.cts +1 -1
- package/dist/eval/index.d.ts +1 -1
- package/dist/index.cjs +20 -20
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +5 -5
- package/dist/integration/index.d.cts +1 -1
- package/dist/integration/index.d.ts +1 -1
- package/dist/llm/index.d.cts +1 -1
- package/dist/llm/index.d.ts +1 -1
- package/dist/mastra/index.cjs +2 -2
- package/dist/mastra/index.d.cts +1 -1
- package/dist/mastra/index.d.ts +1 -1
- package/dist/mastra/index.js +1 -1
- package/dist/mcp/index.d.cts +1 -1
- package/dist/mcp/index.d.ts +1 -1
- package/dist/memory/index.d.cts +1 -1
- package/dist/memory/index.d.ts +1 -1
- package/dist/network/index.d.cts +1 -1
- package/dist/network/index.d.ts +1 -1
- package/dist/relevance/index.d.cts +1 -1
- package/dist/relevance/index.d.ts +1 -1
- package/dist/server/index.d.cts +2 -2
- package/dist/server/index.d.ts +2 -2
- package/dist/storage/index.d.cts +2 -2
- package/dist/storage/index.d.ts +2 -2
- package/dist/telemetry/index.d.cts +1 -1
- package/dist/telemetry/index.d.ts +1 -1
- package/dist/tools/index.d.cts +1 -1
- package/dist/tools/index.d.ts +1 -1
- package/dist/utils.d.cts +1 -1
- package/dist/utils.d.ts +1 -1
- package/dist/voice/index.d.cts +1 -1
- package/dist/voice/index.d.ts +1 -1
- package/dist/workflows/index.cjs +9 -9
- package/dist/workflows/index.d.cts +2 -2
- package/dist/workflows/index.d.ts +2 -2
- package/dist/workflows/index.js +1 -1
- package/dist/workflows/legacy/index.d.cts +2 -2
- package/dist/workflows/legacy/index.d.ts +2 -2
- package/package.json +1 -1
package/dist/agent/index.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { Message as AiMessageType } from 'ai';
|
|
2
2
|
import 'json-schema';
|
|
3
3
|
import 'zod';
|
|
4
|
-
export { r as Agent, aa as AgentConfig, bI as AgentGenerateOptions, bJ as AgentStreamOptions, bH as DynamicArgument, be as MastraLanguageModel, t as ToolsInput, bG as ToolsetsInput } from '../base-
|
|
4
|
+
export { r as Agent, aa as AgentConfig, bI as AgentGenerateOptions, bJ as AgentStreamOptions, bH as DynamicArgument, be as MastraLanguageModel, t as ToolsInput, bG as ToolsetsInput } from '../base-B2MYHwYO.cjs';
|
|
5
5
|
import '../base-aPYtPBT2.cjs';
|
|
6
6
|
import '../types-Bo1uigWx.cjs';
|
|
7
7
|
import '../runtime-context/index.cjs';
|
package/dist/agent/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { Message as AiMessageType } from 'ai';
|
|
2
2
|
import 'json-schema';
|
|
3
3
|
import 'zod';
|
|
4
|
-
export { r as Agent, aa as AgentConfig, bI as AgentGenerateOptions, bJ as AgentStreamOptions, bH as DynamicArgument, be as MastraLanguageModel, t as ToolsInput, bG as ToolsetsInput } from '../base-
|
|
4
|
+
export { r as Agent, aa as AgentConfig, bI as AgentGenerateOptions, bJ as AgentStreamOptions, bH as DynamicArgument, be as MastraLanguageModel, t as ToolsInput, bG as ToolsetsInput } from '../base-DnvqI7B4.js';
|
|
5
5
|
import '../base-tc5kgDTD.js';
|
|
6
6
|
import '../types-Bo1uigWx.js';
|
|
7
7
|
import '../runtime-context/index.js';
|
|
@@ -21,6 +21,10 @@ import EventEmitter from 'node:events';
|
|
|
21
21
|
import EventEmitter$1 from 'events';
|
|
22
22
|
import { MockLanguageModelV1 } from 'ai/test';
|
|
23
23
|
|
|
24
|
+
type BundlerConfig = {
|
|
25
|
+
externals?: string[];
|
|
26
|
+
};
|
|
27
|
+
|
|
24
28
|
type VercelTool = Tool$1;
|
|
25
29
|
type CoreTool = {
|
|
26
30
|
id?: string;
|
|
@@ -2668,6 +2672,7 @@ interface Config<TAgents extends Record<string, Agent<any>> = Record<string, Age
|
|
|
2668
2672
|
deployer?: MastraDeployer;
|
|
2669
2673
|
server?: ServerConfig;
|
|
2670
2674
|
mcpServers?: TMCPServers;
|
|
2675
|
+
bundler?: BundlerConfig;
|
|
2671
2676
|
/**
|
|
2672
2677
|
* Server middleware functions to be applied to API routes
|
|
2673
2678
|
* Each middleware can specify a path pattern (defaults to '/api/*')
|
|
@@ -2727,6 +2732,7 @@ declare class Mastra<TAgents extends Record<string, Agent<any>> = Record<string,
|
|
|
2727
2732
|
}[];
|
|
2728
2733
|
getNetworks(): AgentNetwork[];
|
|
2729
2734
|
getServer(): ServerConfig | undefined;
|
|
2735
|
+
getBundlerConfig(): BundlerConfig | undefined;
|
|
2730
2736
|
/**
|
|
2731
2737
|
* Get a specific network by ID
|
|
2732
2738
|
* @param networkId - The ID of the network to retrieve
|
|
@@ -21,6 +21,10 @@ import EventEmitter from 'node:events';
|
|
|
21
21
|
import EventEmitter$1 from 'events';
|
|
22
22
|
import { MockLanguageModelV1 } from 'ai/test';
|
|
23
23
|
|
|
24
|
+
type BundlerConfig = {
|
|
25
|
+
externals?: string[];
|
|
26
|
+
};
|
|
27
|
+
|
|
24
28
|
type VercelTool = Tool$1;
|
|
25
29
|
type CoreTool = {
|
|
26
30
|
id?: string;
|
|
@@ -2668,6 +2672,7 @@ interface Config<TAgents extends Record<string, Agent<any>> = Record<string, Age
|
|
|
2668
2672
|
deployer?: MastraDeployer;
|
|
2669
2673
|
server?: ServerConfig;
|
|
2670
2674
|
mcpServers?: TMCPServers;
|
|
2675
|
+
bundler?: BundlerConfig;
|
|
2671
2676
|
/**
|
|
2672
2677
|
* Server middleware functions to be applied to API routes
|
|
2673
2678
|
* Each middleware can specify a path pattern (defaults to '/api/*')
|
|
@@ -2727,6 +2732,7 @@ declare class Mastra<TAgents extends Record<string, Agent<any>> = Record<string,
|
|
|
2727
2732
|
}[];
|
|
2728
2733
|
getNetworks(): AgentNetwork[];
|
|
2729
2734
|
getServer(): ServerConfig | undefined;
|
|
2735
|
+
getBundlerConfig(): BundlerConfig | undefined;
|
|
2730
2736
|
/**
|
|
2731
2737
|
* Get a specific network by ID
|
|
2732
2738
|
* @param networkId - The ID of the network to retrieve
|
|
@@ -25,6 +25,7 @@ var Mastra = class {
|
|
|
25
25
|
#networks;
|
|
26
26
|
#server;
|
|
27
27
|
#mcpServers;
|
|
28
|
+
#bundler;
|
|
28
29
|
/**
|
|
29
30
|
* @deprecated use getTelemetry() instead
|
|
30
31
|
*/
|
|
@@ -394,6 +395,9 @@ do:
|
|
|
394
395
|
getServer() {
|
|
395
396
|
return this.#server;
|
|
396
397
|
}
|
|
398
|
+
getBundlerConfig() {
|
|
399
|
+
return this.#bundler;
|
|
400
|
+
}
|
|
397
401
|
/**
|
|
398
402
|
* Get a specific network by ID
|
|
399
403
|
* @param networkId - The ID of the network to retrieve
|
|
@@ -1226,11 +1226,11 @@ var Run = class {
|
|
|
1226
1226
|
delete this.state.currentStep;
|
|
1227
1227
|
}
|
|
1228
1228
|
if (state.workflowState) {
|
|
1229
|
-
this.state.workflowState =
|
|
1229
|
+
this.state.workflowState = deepMergeWorkflowState(this.state.workflowState ?? {}, state.workflowState ?? {});
|
|
1230
1230
|
}
|
|
1231
1231
|
}
|
|
1232
1232
|
};
|
|
1233
|
-
function
|
|
1233
|
+
function deepMergeWorkflowState(a, b) {
|
|
1234
1234
|
if (!a || typeof a !== "object") return b;
|
|
1235
1235
|
if (!b || typeof b !== "object") return a;
|
|
1236
1236
|
const result = { ...a };
|
|
@@ -1240,9 +1240,9 @@ function deepMerge(a, b) {
|
|
|
1240
1240
|
const aVal = result[key];
|
|
1241
1241
|
const bVal = b[key];
|
|
1242
1242
|
if (Array.isArray(bVal)) {
|
|
1243
|
-
result[key] =
|
|
1243
|
+
result[key] = bVal.filter((item) => item !== void 0);
|
|
1244
1244
|
} else if (typeof aVal === "object" && aVal !== null) {
|
|
1245
|
-
result[key] =
|
|
1245
|
+
result[key] = deepMergeWorkflowState(aVal, bVal);
|
|
1246
1246
|
} else {
|
|
1247
1247
|
result[key] = bVal;
|
|
1248
1248
|
}
|
|
@@ -1232,11 +1232,11 @@ var Run = class {
|
|
|
1232
1232
|
delete this.state.currentStep;
|
|
1233
1233
|
}
|
|
1234
1234
|
if (state.workflowState) {
|
|
1235
|
-
this.state.workflowState =
|
|
1235
|
+
this.state.workflowState = deepMergeWorkflowState(this.state.workflowState ?? {}, state.workflowState ?? {});
|
|
1236
1236
|
}
|
|
1237
1237
|
}
|
|
1238
1238
|
};
|
|
1239
|
-
function
|
|
1239
|
+
function deepMergeWorkflowState(a, b) {
|
|
1240
1240
|
if (!a || typeof a !== "object") return b;
|
|
1241
1241
|
if (!b || typeof b !== "object") return a;
|
|
1242
1242
|
const result = { ...a };
|
|
@@ -1246,9 +1246,9 @@ function deepMerge(a, b) {
|
|
|
1246
1246
|
const aVal = result[key];
|
|
1247
1247
|
const bVal = b[key];
|
|
1248
1248
|
if (Array.isArray(bVal)) {
|
|
1249
|
-
result[key] =
|
|
1249
|
+
result[key] = bVal.filter((item) => item !== void 0);
|
|
1250
1250
|
} else if (typeof aVal === "object" && aVal !== null) {
|
|
1251
|
-
result[key] =
|
|
1251
|
+
result[key] = deepMergeWorkflowState(aVal, bVal);
|
|
1252
1252
|
} else {
|
|
1253
1253
|
result[key] = bVal;
|
|
1254
1254
|
}
|
|
@@ -27,6 +27,7 @@ exports.Mastra = class Mastra {
|
|
|
27
27
|
#networks;
|
|
28
28
|
#server;
|
|
29
29
|
#mcpServers;
|
|
30
|
+
#bundler;
|
|
30
31
|
/**
|
|
31
32
|
* @deprecated use getTelemetry() instead
|
|
32
33
|
*/
|
|
@@ -396,6 +397,9 @@ do:
|
|
|
396
397
|
getServer() {
|
|
397
398
|
return this.#server;
|
|
398
399
|
}
|
|
400
|
+
getBundlerConfig() {
|
|
401
|
+
return this.#bundler;
|
|
402
|
+
}
|
|
399
403
|
/**
|
|
400
404
|
* Get a specific network by ID
|
|
401
405
|
* @param networkId - The ID of the network to retrieve
|
package/dist/eval/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { M as Metric, T as TestInfo, E as EvaluationResult } from '../types-Bo1uigWx.cjs';
|
|
2
2
|
export { a as MetricResult } from '../types-Bo1uigWx.cjs';
|
|
3
|
-
import { r as Agent } from '../base-
|
|
3
|
+
import { r as Agent } from '../base-B2MYHwYO.cjs';
|
|
4
4
|
import 'ai';
|
|
5
5
|
import '../base-aPYtPBT2.cjs';
|
|
6
6
|
import '@opentelemetry/api';
|
package/dist/eval/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { M as Metric, T as TestInfo, E as EvaluationResult } from '../types-Bo1uigWx.js';
|
|
2
2
|
export { a as MetricResult } from '../types-Bo1uigWx.js';
|
|
3
|
-
import { r as Agent } from '../base-
|
|
3
|
+
import { r as Agent } from '../base-DnvqI7B4.js';
|
|
4
4
|
import 'ai';
|
|
5
5
|
import '../base-tc5kgDTD.js';
|
|
6
6
|
import '@opentelemetry/api';
|
package/dist/index.cjs
CHANGED
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
var chunkKSPHQSZX_cjs = require('./chunk-KSPHQSZX.cjs');
|
|
4
4
|
var chunkPIZM25KI_cjs = require('./chunk-PIZM25KI.cjs');
|
|
5
|
-
var
|
|
5
|
+
var chunkS4PNVSS6_cjs = require('./chunk-S4PNVSS6.cjs');
|
|
6
6
|
var chunk2U7ZZUFO_cjs = require('./chunk-2U7ZZUFO.cjs');
|
|
7
|
+
var chunkZZDAC5KD_cjs = require('./chunk-ZZDAC5KD.cjs');
|
|
7
8
|
var chunkP7BGXOQV_cjs = require('./chunk-P7BGXOQV.cjs');
|
|
8
9
|
var chunk3C6V2FEP_cjs = require('./chunk-3C6V2FEP.cjs');
|
|
9
10
|
var chunkSKG2NIZW_cjs = require('./chunk-SKG2NIZW.cjs');
|
|
10
11
|
var chunkMUNFCOMB_cjs = require('./chunk-MUNFCOMB.cjs');
|
|
11
|
-
var
|
|
12
|
-
var chunkZZDAC5KD_cjs = require('./chunk-ZZDAC5KD.cjs');
|
|
12
|
+
var chunkZWZCNV53_cjs = require('./chunk-ZWZCNV53.cjs');
|
|
13
13
|
var chunkAOGUTJUO_cjs = require('./chunk-AOGUTJUO.cjs');
|
|
14
14
|
var chunkST5RMVLG_cjs = require('./chunk-ST5RMVLG.cjs');
|
|
15
15
|
var chunkUVRGQEMD_cjs = require('./chunk-UVRGQEMD.cjs');
|
|
@@ -100,7 +100,7 @@ var MastraVector2 = class extends chunkPIZM25KI_cjs.MastraVector {
|
|
|
100
100
|
};
|
|
101
101
|
|
|
102
102
|
// src/workflows/workflow.warning.ts
|
|
103
|
-
var Workflow2 = class extends
|
|
103
|
+
var Workflow2 = class extends chunkS4PNVSS6_cjs.Workflow {
|
|
104
104
|
constructor(args) {
|
|
105
105
|
super(args);
|
|
106
106
|
this.logger.warn('Please import "Workflow" from "@mastra/core/workflows" instead of "@mastra/core"');
|
|
@@ -109,31 +109,31 @@ var Workflow2 = class extends chunkTTKQ37ZZ_cjs.Workflow {
|
|
|
109
109
|
|
|
110
110
|
Object.defineProperty(exports, "DefaultExecutionEngine", {
|
|
111
111
|
enumerable: true,
|
|
112
|
-
get: function () { return
|
|
112
|
+
get: function () { return chunkS4PNVSS6_cjs.DefaultExecutionEngine; }
|
|
113
113
|
});
|
|
114
114
|
Object.defineProperty(exports, "ExecutionEngine", {
|
|
115
115
|
enumerable: true,
|
|
116
|
-
get: function () { return
|
|
116
|
+
get: function () { return chunkS4PNVSS6_cjs.ExecutionEngine; }
|
|
117
117
|
});
|
|
118
118
|
Object.defineProperty(exports, "Run", {
|
|
119
119
|
enumerable: true,
|
|
120
|
-
get: function () { return
|
|
120
|
+
get: function () { return chunkS4PNVSS6_cjs.Run; }
|
|
121
121
|
});
|
|
122
122
|
Object.defineProperty(exports, "cloneStep", {
|
|
123
123
|
enumerable: true,
|
|
124
|
-
get: function () { return
|
|
124
|
+
get: function () { return chunkS4PNVSS6_cjs.cloneStep; }
|
|
125
125
|
});
|
|
126
126
|
Object.defineProperty(exports, "cloneWorkflow", {
|
|
127
127
|
enumerable: true,
|
|
128
|
-
get: function () { return
|
|
128
|
+
get: function () { return chunkS4PNVSS6_cjs.cloneWorkflow; }
|
|
129
129
|
});
|
|
130
130
|
Object.defineProperty(exports, "createStep", {
|
|
131
131
|
enumerable: true,
|
|
132
|
-
get: function () { return
|
|
132
|
+
get: function () { return chunkS4PNVSS6_cjs.createStep; }
|
|
133
133
|
});
|
|
134
134
|
Object.defineProperty(exports, "createWorkflow", {
|
|
135
135
|
enumerable: true,
|
|
136
|
-
get: function () { return
|
|
136
|
+
get: function () { return chunkS4PNVSS6_cjs.createWorkflow; }
|
|
137
137
|
});
|
|
138
138
|
Object.defineProperty(exports, "CohereRelevanceScorer", {
|
|
139
139
|
enumerable: true,
|
|
@@ -147,6 +147,14 @@ Object.defineProperty(exports, "createSimilarityPrompt", {
|
|
|
147
147
|
enumerable: true,
|
|
148
148
|
get: function () { return chunk2U7ZZUFO_cjs.createSimilarityPrompt; }
|
|
149
149
|
});
|
|
150
|
+
Object.defineProperty(exports, "MemoryProcessor", {
|
|
151
|
+
enumerable: true,
|
|
152
|
+
get: function () { return chunkZZDAC5KD_cjs.MemoryProcessor; }
|
|
153
|
+
});
|
|
154
|
+
Object.defineProperty(exports, "memoryDefaultOptions", {
|
|
155
|
+
enumerable: true,
|
|
156
|
+
get: function () { return chunkZZDAC5KD_cjs.memoryDefaultOptions; }
|
|
157
|
+
});
|
|
150
158
|
Object.defineProperty(exports, "Metric", {
|
|
151
159
|
enumerable: true,
|
|
152
160
|
get: function () { return chunk3C6V2FEP_cjs.Metric; }
|
|
@@ -161,15 +169,7 @@ Object.defineProperty(exports, "createMockModel", {
|
|
|
161
169
|
});
|
|
162
170
|
Object.defineProperty(exports, "Mastra", {
|
|
163
171
|
enumerable: true,
|
|
164
|
-
get: function () { return
|
|
165
|
-
});
|
|
166
|
-
Object.defineProperty(exports, "MemoryProcessor", {
|
|
167
|
-
enumerable: true,
|
|
168
|
-
get: function () { return chunkZZDAC5KD_cjs.MemoryProcessor; }
|
|
169
|
-
});
|
|
170
|
-
Object.defineProperty(exports, "memoryDefaultOptions", {
|
|
171
|
-
enumerable: true,
|
|
172
|
-
get: function () { return chunkZZDAC5KD_cjs.memoryDefaultOptions; }
|
|
172
|
+
get: function () { return chunkZWZCNV53_cjs.Mastra; }
|
|
173
173
|
});
|
|
174
174
|
Object.defineProperty(exports, "AvailableHooks", {
|
|
175
175
|
enumerable: true,
|
package/dist/index.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { M as Metric } from './types-Bo1uigWx.cjs';
|
|
2
2
|
export { E as EvaluationResult, a as MetricResult, T as TestInfo } from './types-Bo1uigWx.cjs';
|
|
3
|
-
import { a9 as ToolAction, r as Agent$1, aa as AgentConfig, c as MastraStorage$1, ab as MastraMemory$1, ac as ToolExecutionContext, ad as Tool$1, ae as Step, af as Workflow$1, ag as WorkflowConfig } from './base-
|
|
4
|
-
export { ap as BaseStructuredOutputType, aG as Config, ak as CoreAssistantMessage, ai as CoreMessage, aj as CoreSystemMessage, aP as CoreTool, am as CoreToolMessage, al as CoreUserMessage, az as DefaultLLMStreamObjectOptions, ay as DefaultLLMStreamOptions, ax as DefaultLLMTextObjectOptions, aw as DefaultLLMTextOptions, b6 as DynamicMapping, ao as EmbedManyResult, an as EmbedResult, E as EvalRow, b0 as ExecuteFunction, a$ as ExecutionEngine, a_ as ExecutionGraph, b9 as ExtractSchemaFromStep, b8 as ExtractSchemaType, at as GenerateReturn, aQ as InternalCoreTool, aD as LLMInnerStreamOptions, aE as LLMStreamObjectOptions, aC as LLMStreamOptions, aB as LLMTextObjectOptions, aA as LLMTextOptions, ah as LanguageModel, h as LegacyWorkflowRun, L as LegacyWorkflowRuns, a as Mastra, aI as MemoryConfig, aL as MemoryProcessor, aK as MemoryProcessorOpts, aH as MessageResponse, e as MessageType, av as OutputType, b7 as PathsToStringProps, aZ as Run, aS as SerializedStep, aT as SerializedStepFlowEntry, aJ as SharedMemoryConfig, b2 as StepFailure, aR as StepFlowEntry, b4 as StepResult, b1 as StepSuccess, b3 as StepSuspended, b5 as StepsRecord, S as StorageColumn, f as StorageGetMessagesArg, d as StorageThreadType, au as StreamReturn, as as StructuredOutput, ar as StructuredOutputArrayItem, aq as StructuredOutputType, ba as VariableReference, aO as VercelTool, bb as WatchEvent, aY as WorkflowResult, g as WorkflowRun, bd as WorkflowRunState, W as WorkflowRuns, bc as ZodPathType, aV as cloneStep, aX as cloneWorkflow, aF as createMockModel, aU as createStep, aN as createTool, aW as createWorkflow, aM as memoryDefaultOptions } from './base-
|
|
3
|
+
import { a9 as ToolAction, r as Agent$1, aa as AgentConfig, c as MastraStorage$1, ab as MastraMemory$1, ac as ToolExecutionContext, ad as Tool$1, ae as Step, af as Workflow$1, ag as WorkflowConfig } from './base-B2MYHwYO.cjs';
|
|
4
|
+
export { ap as BaseStructuredOutputType, aG as Config, ak as CoreAssistantMessage, ai as CoreMessage, aj as CoreSystemMessage, aP as CoreTool, am as CoreToolMessage, al as CoreUserMessage, az as DefaultLLMStreamObjectOptions, ay as DefaultLLMStreamOptions, ax as DefaultLLMTextObjectOptions, aw as DefaultLLMTextOptions, b6 as DynamicMapping, ao as EmbedManyResult, an as EmbedResult, E as EvalRow, b0 as ExecuteFunction, a$ as ExecutionEngine, a_ as ExecutionGraph, b9 as ExtractSchemaFromStep, b8 as ExtractSchemaType, at as GenerateReturn, aQ as InternalCoreTool, aD as LLMInnerStreamOptions, aE as LLMStreamObjectOptions, aC as LLMStreamOptions, aB as LLMTextObjectOptions, aA as LLMTextOptions, ah as LanguageModel, h as LegacyWorkflowRun, L as LegacyWorkflowRuns, a as Mastra, aI as MemoryConfig, aL as MemoryProcessor, aK as MemoryProcessorOpts, aH as MessageResponse, e as MessageType, av as OutputType, b7 as PathsToStringProps, aZ as Run, aS as SerializedStep, aT as SerializedStepFlowEntry, aJ as SharedMemoryConfig, b2 as StepFailure, aR as StepFlowEntry, b4 as StepResult, b1 as StepSuccess, b3 as StepSuspended, b5 as StepsRecord, S as StorageColumn, f as StorageGetMessagesArg, d as StorageThreadType, au as StreamReturn, as as StructuredOutput, ar as StructuredOutputArrayItem, aq as StructuredOutputType, ba as VariableReference, aO as VercelTool, bb as WatchEvent, aY as WorkflowResult, g as WorkflowRun, bd as WorkflowRunState, W as WorkflowRuns, bc as ZodPathType, aV as cloneStep, aX as cloneWorkflow, aF as createMockModel, aU as createStep, aN as createTool, aW as createWorkflow, aM as memoryDefaultOptions } from './base-B2MYHwYO.cjs';
|
|
5
5
|
import { M as MastraBase$1 } from './base-aPYtPBT2.cjs';
|
|
6
6
|
export { O as OtelConfig, S as SamplingStrategy, T as Telemetry } from './base-aPYtPBT2.cjs';
|
|
7
7
|
import { R as RegisteredLogger } from './logger-EhZkzZOr.cjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { M as Metric } from './types-Bo1uigWx.js';
|
|
2
2
|
export { E as EvaluationResult, a as MetricResult, T as TestInfo } from './types-Bo1uigWx.js';
|
|
3
|
-
import { a9 as ToolAction, r as Agent$1, aa as AgentConfig, c as MastraStorage$1, ab as MastraMemory$1, ac as ToolExecutionContext, ad as Tool$1, ae as Step, af as Workflow$1, ag as WorkflowConfig } from './base-
|
|
4
|
-
export { ap as BaseStructuredOutputType, aG as Config, ak as CoreAssistantMessage, ai as CoreMessage, aj as CoreSystemMessage, aP as CoreTool, am as CoreToolMessage, al as CoreUserMessage, az as DefaultLLMStreamObjectOptions, ay as DefaultLLMStreamOptions, ax as DefaultLLMTextObjectOptions, aw as DefaultLLMTextOptions, b6 as DynamicMapping, ao as EmbedManyResult, an as EmbedResult, E as EvalRow, b0 as ExecuteFunction, a$ as ExecutionEngine, a_ as ExecutionGraph, b9 as ExtractSchemaFromStep, b8 as ExtractSchemaType, at as GenerateReturn, aQ as InternalCoreTool, aD as LLMInnerStreamOptions, aE as LLMStreamObjectOptions, aC as LLMStreamOptions, aB as LLMTextObjectOptions, aA as LLMTextOptions, ah as LanguageModel, h as LegacyWorkflowRun, L as LegacyWorkflowRuns, a as Mastra, aI as MemoryConfig, aL as MemoryProcessor, aK as MemoryProcessorOpts, aH as MessageResponse, e as MessageType, av as OutputType, b7 as PathsToStringProps, aZ as Run, aS as SerializedStep, aT as SerializedStepFlowEntry, aJ as SharedMemoryConfig, b2 as StepFailure, aR as StepFlowEntry, b4 as StepResult, b1 as StepSuccess, b3 as StepSuspended, b5 as StepsRecord, S as StorageColumn, f as StorageGetMessagesArg, d as StorageThreadType, au as StreamReturn, as as StructuredOutput, ar as StructuredOutputArrayItem, aq as StructuredOutputType, ba as VariableReference, aO as VercelTool, bb as WatchEvent, aY as WorkflowResult, g as WorkflowRun, bd as WorkflowRunState, W as WorkflowRuns, bc as ZodPathType, aV as cloneStep, aX as cloneWorkflow, aF as createMockModel, aU as createStep, aN as createTool, aW as createWorkflow, aM as memoryDefaultOptions } from './base-
|
|
3
|
+
import { a9 as ToolAction, r as Agent$1, aa as AgentConfig, c as MastraStorage$1, ab as MastraMemory$1, ac as ToolExecutionContext, ad as Tool$1, ae as Step, af as Workflow$1, ag as WorkflowConfig } from './base-DnvqI7B4.js';
|
|
4
|
+
export { ap as BaseStructuredOutputType, aG as Config, ak as CoreAssistantMessage, ai as CoreMessage, aj as CoreSystemMessage, aP as CoreTool, am as CoreToolMessage, al as CoreUserMessage, az as DefaultLLMStreamObjectOptions, ay as DefaultLLMStreamOptions, ax as DefaultLLMTextObjectOptions, aw as DefaultLLMTextOptions, b6 as DynamicMapping, ao as EmbedManyResult, an as EmbedResult, E as EvalRow, b0 as ExecuteFunction, a$ as ExecutionEngine, a_ as ExecutionGraph, b9 as ExtractSchemaFromStep, b8 as ExtractSchemaType, at as GenerateReturn, aQ as InternalCoreTool, aD as LLMInnerStreamOptions, aE as LLMStreamObjectOptions, aC as LLMStreamOptions, aB as LLMTextObjectOptions, aA as LLMTextOptions, ah as LanguageModel, h as LegacyWorkflowRun, L as LegacyWorkflowRuns, a as Mastra, aI as MemoryConfig, aL as MemoryProcessor, aK as MemoryProcessorOpts, aH as MessageResponse, e as MessageType, av as OutputType, b7 as PathsToStringProps, aZ as Run, aS as SerializedStep, aT as SerializedStepFlowEntry, aJ as SharedMemoryConfig, b2 as StepFailure, aR as StepFlowEntry, b4 as StepResult, b1 as StepSuccess, b3 as StepSuspended, b5 as StepsRecord, S as StorageColumn, f as StorageGetMessagesArg, d as StorageThreadType, au as StreamReturn, as as StructuredOutput, ar as StructuredOutputArrayItem, aq as StructuredOutputType, ba as VariableReference, aO as VercelTool, bb as WatchEvent, aY as WorkflowResult, g as WorkflowRun, bd as WorkflowRunState, W as WorkflowRuns, bc as ZodPathType, aV as cloneStep, aX as cloneWorkflow, aF as createMockModel, aU as createStep, aN as createTool, aW as createWorkflow, aM as memoryDefaultOptions } from './base-DnvqI7B4.js';
|
|
5
5
|
import { M as MastraBase$1 } from './base-tc5kgDTD.js';
|
|
6
6
|
export { O as OtelConfig, S as SamplingStrategy, T as Telemetry } from './base-tc5kgDTD.js';
|
|
7
7
|
import { R as RegisteredLogger } from './logger-EhZkzZOr.js';
|
package/dist/index.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { MastraTTS } from './chunk-C3ICEF6E.js';
|
|
2
2
|
import { MastraVector } from './chunk-LHRZV5VG.js';
|
|
3
|
-
import { Workflow } from './chunk-
|
|
4
|
-
export { DefaultExecutionEngine, ExecutionEngine, Run, cloneStep, cloneWorkflow, createStep, createWorkflow } from './chunk-
|
|
3
|
+
import { Workflow } from './chunk-J3C45WHN.js';
|
|
4
|
+
export { DefaultExecutionEngine, ExecutionEngine, Run, cloneStep, cloneWorkflow, createStep, createWorkflow } from './chunk-J3C45WHN.js';
|
|
5
5
|
export { CohereRelevanceScorer, MastraAgentRelevanceScorer, createSimilarityPrompt } from './chunk-J7GDGV6F.js';
|
|
6
|
+
import { MastraMemory } from './chunk-GQ2XQ4UN.js';
|
|
7
|
+
export { MemoryProcessor, memoryDefaultOptions } from './chunk-GQ2XQ4UN.js';
|
|
6
8
|
import { MastraStorage } from './chunk-ZKN6HYYQ.js';
|
|
7
9
|
export { Metric, evaluate } from './chunk-PK5QRKSG.js';
|
|
8
10
|
import { Integration, OpenAPIToolset } from './chunk-OCT2762Q.js';
|
|
9
11
|
export { createMockModel } from './chunk-HNEE7IF4.js';
|
|
10
|
-
export { Mastra } from './chunk-
|
|
11
|
-
import { MastraMemory } from './chunk-GQ2XQ4UN.js';
|
|
12
|
-
export { MemoryProcessor, memoryDefaultOptions } from './chunk-GQ2XQ4UN.js';
|
|
12
|
+
export { Mastra } from './chunk-ITDMARYE.js';
|
|
13
13
|
import { Agent } from './chunk-E7CLY6SK.js';
|
|
14
14
|
export { AvailableHooks, executeHook, registerHook } from './chunk-BB4KXGBU.js';
|
|
15
15
|
export { InstrumentClass, OTLPTraceExporter as OTLPStorageExporter, Telemetry, getBaggageValues, hasActiveTelemetry, withSpan } from './chunk-BFNYQFG2.js';
|
package/dist/llm/index.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import 'ai';
|
|
2
2
|
import 'json-schema';
|
|
3
3
|
import 'zod';
|
|
4
|
-
export { ap as BaseStructuredOutputType, ak as CoreAssistantMessage, ai as CoreMessage, aj as CoreSystemMessage, am as CoreToolMessage, al as CoreUserMessage, az as DefaultLLMStreamObjectOptions, ay as DefaultLLMStreamOptions, ax as DefaultLLMTextObjectOptions, aw as DefaultLLMTextOptions, ao as EmbedManyResult, an as EmbedResult, at as GenerateReturn, aD as LLMInnerStreamOptions, aE as LLMStreamObjectOptions, aC as LLMStreamOptions, aB as LLMTextObjectOptions, aA as LLMTextOptions, ah as LanguageModel, av as OutputType, au as StreamReturn, as as StructuredOutput, ar as StructuredOutputArrayItem, aq as StructuredOutputType, aF as createMockModel } from '../base-
|
|
4
|
+
export { ap as BaseStructuredOutputType, ak as CoreAssistantMessage, ai as CoreMessage, aj as CoreSystemMessage, am as CoreToolMessage, al as CoreUserMessage, az as DefaultLLMStreamObjectOptions, ay as DefaultLLMStreamOptions, ax as DefaultLLMTextObjectOptions, aw as DefaultLLMTextOptions, ao as EmbedManyResult, an as EmbedResult, at as GenerateReturn, aD as LLMInnerStreamOptions, aE as LLMStreamObjectOptions, aC as LLMStreamOptions, aB as LLMTextObjectOptions, aA as LLMTextOptions, ah as LanguageModel, av as OutputType, au as StreamReturn, as as StructuredOutput, ar as StructuredOutputArrayItem, aq as StructuredOutputType, aF as createMockModel } from '../base-B2MYHwYO.cjs';
|
|
5
5
|
import '../runtime-context/index.cjs';
|
|
6
6
|
import '../base-aPYtPBT2.cjs';
|
|
7
7
|
import '@opentelemetry/api';
|
package/dist/llm/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import 'ai';
|
|
2
2
|
import 'json-schema';
|
|
3
3
|
import 'zod';
|
|
4
|
-
export { ap as BaseStructuredOutputType, ak as CoreAssistantMessage, ai as CoreMessage, aj as CoreSystemMessage, am as CoreToolMessage, al as CoreUserMessage, az as DefaultLLMStreamObjectOptions, ay as DefaultLLMStreamOptions, ax as DefaultLLMTextObjectOptions, aw as DefaultLLMTextOptions, ao as EmbedManyResult, an as EmbedResult, at as GenerateReturn, aD as LLMInnerStreamOptions, aE as LLMStreamObjectOptions, aC as LLMStreamOptions, aB as LLMTextObjectOptions, aA as LLMTextOptions, ah as LanguageModel, av as OutputType, au as StreamReturn, as as StructuredOutput, ar as StructuredOutputArrayItem, aq as StructuredOutputType, aF as createMockModel } from '../base-
|
|
4
|
+
export { ap as BaseStructuredOutputType, ak as CoreAssistantMessage, ai as CoreMessage, aj as CoreSystemMessage, am as CoreToolMessage, al as CoreUserMessage, az as DefaultLLMStreamObjectOptions, ay as DefaultLLMStreamOptions, ax as DefaultLLMTextObjectOptions, aw as DefaultLLMTextOptions, ao as EmbedManyResult, an as EmbedResult, at as GenerateReturn, aD as LLMInnerStreamOptions, aE as LLMStreamObjectOptions, aC as LLMStreamOptions, aB as LLMTextObjectOptions, aA as LLMTextOptions, ah as LanguageModel, av as OutputType, au as StreamReturn, as as StructuredOutput, ar as StructuredOutputArrayItem, aq as StructuredOutputType, aF as createMockModel } from '../base-DnvqI7B4.js';
|
|
5
5
|
import '../runtime-context/index.js';
|
|
6
6
|
import '../base-tc5kgDTD.js';
|
|
7
7
|
import '@opentelemetry/api';
|
package/dist/mastra/index.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkZWZCNV53_cjs = require('../chunk-ZWZCNV53.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "Mastra", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkZWZCNV53_cjs.Mastra; }
|
|
10
10
|
});
|
package/dist/mastra/index.d.cts
CHANGED
package/dist/mastra/index.d.ts
CHANGED
package/dist/mastra/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Mastra } from '../chunk-
|
|
1
|
+
export { Mastra } from '../chunk-ITDMARYE.js';
|
package/dist/mcp/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { bv as ArgumentInfo, bz as CommandInfo, bp as ConvertedTool, bA as EnvironmentVariableInfo, bh as MCPServerBase, bD as MCPServerConfig, bs as MCPServerHTTPOptions, br as MCPServerHonoSSEOptions, bq as MCPServerSSEOptions, bx as NamedArgumentInfo, bB as PackageInfo, bw as PositionalArgumentInfo, bC as RemoteInfo, bt as Repository, bF as ServerDetailInfo, bE as ServerInfo, by as SubcommandInfo, bu as VersionDetail } from '../base-
|
|
1
|
+
export { bv as ArgumentInfo, bz as CommandInfo, bp as ConvertedTool, bA as EnvironmentVariableInfo, bh as MCPServerBase, bD as MCPServerConfig, bs as MCPServerHTTPOptions, br as MCPServerHonoSSEOptions, bq as MCPServerSSEOptions, bx as NamedArgumentInfo, bB as PackageInfo, bw as PositionalArgumentInfo, bC as RemoteInfo, bt as Repository, bF as ServerDetailInfo, bE as ServerInfo, by as SubcommandInfo, bu as VersionDetail } from '../base-B2MYHwYO.cjs';
|
|
2
2
|
import '../base-aPYtPBT2.cjs';
|
|
3
3
|
import 'ai';
|
|
4
4
|
import '../types-Bo1uigWx.cjs';
|
package/dist/mcp/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { bv as ArgumentInfo, bz as CommandInfo, bp as ConvertedTool, bA as EnvironmentVariableInfo, bh as MCPServerBase, bD as MCPServerConfig, bs as MCPServerHTTPOptions, br as MCPServerHonoSSEOptions, bq as MCPServerSSEOptions, bx as NamedArgumentInfo, bB as PackageInfo, bw as PositionalArgumentInfo, bC as RemoteInfo, bt as Repository, bF as ServerDetailInfo, bE as ServerInfo, by as SubcommandInfo, bu as VersionDetail } from '../base-
|
|
1
|
+
export { bv as ArgumentInfo, bz as CommandInfo, bp as ConvertedTool, bA as EnvironmentVariableInfo, bh as MCPServerBase, bD as MCPServerConfig, bs as MCPServerHTTPOptions, br as MCPServerHonoSSEOptions, bq as MCPServerSSEOptions, bx as NamedArgumentInfo, bB as PackageInfo, bw as PositionalArgumentInfo, bC as RemoteInfo, bt as Repository, bF as ServerDetailInfo, bE as ServerInfo, by as SubcommandInfo, bu as VersionDetail } from '../base-DnvqI7B4.js';
|
|
2
2
|
import '../base-tc5kgDTD.js';
|
|
3
3
|
import 'ai';
|
|
4
4
|
import '../types-Bo1uigWx.js';
|
package/dist/memory/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { ab as MastraMemory, aI as MemoryConfig, aL as MemoryProcessor, aK as MemoryProcessorOpts, aH as MessageResponse, e as MessageType, aJ as SharedMemoryConfig, d as StorageThreadType, aM as memoryDefaultOptions } from '../base-
|
|
1
|
+
export { ab as MastraMemory, aI as MemoryConfig, aL as MemoryProcessor, aK as MemoryProcessorOpts, aH as MessageResponse, e as MessageType, aJ as SharedMemoryConfig, d as StorageThreadType, aM as memoryDefaultOptions } from '../base-B2MYHwYO.cjs';
|
|
2
2
|
export { Message as AiMessageType } from 'ai';
|
|
3
3
|
import '../base-aPYtPBT2.cjs';
|
|
4
4
|
import '@opentelemetry/api';
|
package/dist/memory/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { ab as MastraMemory, aI as MemoryConfig, aL as MemoryProcessor, aK as MemoryProcessorOpts, aH as MessageResponse, e as MessageType, aJ as SharedMemoryConfig, d as StorageThreadType, aM as memoryDefaultOptions } from '../base-
|
|
1
|
+
export { ab as MastraMemory, aI as MemoryConfig, aL as MemoryProcessor, aK as MemoryProcessorOpts, aH as MessageResponse, e as MessageType, aJ as SharedMemoryConfig, d as StorageThreadType, aM as memoryDefaultOptions } from '../base-DnvqI7B4.js';
|
|
2
2
|
export { Message as AiMessageType } from 'ai';
|
|
3
3
|
import '../base-tc5kgDTD.js';
|
|
4
4
|
import '@opentelemetry/api';
|
package/dist/network/index.d.cts
CHANGED
package/dist/network/index.d.ts
CHANGED
package/dist/server/index.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Handler, Context, MiddlewareHandler } from 'hono';
|
|
2
2
|
import { DescribeRouteOptions } from 'hono-openapi';
|
|
3
|
-
import { M as Methods, a as Mastra, A as ApiRoute, b as MastraAuthConfig } from '../base-
|
|
4
|
-
export { C as ContextWithMastra } from '../base-
|
|
3
|
+
import { M as Methods, a as Mastra, A as ApiRoute, b as MastraAuthConfig } from '../base-B2MYHwYO.cjs';
|
|
4
|
+
export { C as ContextWithMastra } from '../base-B2MYHwYO.cjs';
|
|
5
5
|
import 'ai';
|
|
6
6
|
import '../base-aPYtPBT2.cjs';
|
|
7
7
|
import '@opentelemetry/api';
|
package/dist/server/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Handler, Context, MiddlewareHandler } from 'hono';
|
|
2
2
|
import { DescribeRouteOptions } from 'hono-openapi';
|
|
3
|
-
import { M as Methods, a as Mastra, A as ApiRoute, b as MastraAuthConfig } from '../base-
|
|
4
|
-
export { C as ContextWithMastra } from '../base-
|
|
3
|
+
import { M as Methods, a as Mastra, A as ApiRoute, b as MastraAuthConfig } from '../base-DnvqI7B4.js';
|
|
4
|
+
export { C as ContextWithMastra } from '../base-DnvqI7B4.js';
|
|
5
5
|
import 'ai';
|
|
6
6
|
import '../base-tc5kgDTD.js';
|
|
7
7
|
import '@opentelemetry/api';
|
package/dist/storage/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as MastraStorage, T as TABLE_NAMES, S as StorageColumn, d as StorageThreadType, e as MessageType, f as StorageGetMessagesArg, E as EvalRow, W as WorkflowRuns, g as WorkflowRun } from '../base-
|
|
2
|
-
export { h as LegacyWorkflowRun, L as LegacyWorkflowRuns, j as TABLE_EVALS, k as TABLE_MESSAGES, n as TABLE_SCHEMAS, l as TABLE_THREADS, m as TABLE_TRACES, i as TABLE_WORKFLOW_SNAPSHOT } from '../base-
|
|
1
|
+
import { c as MastraStorage, T as TABLE_NAMES, S as StorageColumn, d as StorageThreadType, e as MessageType, f as StorageGetMessagesArg, E as EvalRow, W as WorkflowRuns, g as WorkflowRun } from '../base-B2MYHwYO.cjs';
|
|
2
|
+
export { h as LegacyWorkflowRun, L as LegacyWorkflowRuns, j as TABLE_EVALS, k as TABLE_MESSAGES, n as TABLE_SCHEMAS, l as TABLE_THREADS, m as TABLE_TRACES, i as TABLE_WORKFLOW_SNAPSHOT } from '../base-B2MYHwYO.cjs';
|
|
3
3
|
import 'ai';
|
|
4
4
|
import '../base-aPYtPBT2.cjs';
|
|
5
5
|
import '@opentelemetry/api';
|
package/dist/storage/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as MastraStorage, T as TABLE_NAMES, S as StorageColumn, d as StorageThreadType, e as MessageType, f as StorageGetMessagesArg, E as EvalRow, W as WorkflowRuns, g as WorkflowRun } from '../base-
|
|
2
|
-
export { h as LegacyWorkflowRun, L as LegacyWorkflowRuns, j as TABLE_EVALS, k as TABLE_MESSAGES, n as TABLE_SCHEMAS, l as TABLE_THREADS, m as TABLE_TRACES, i as TABLE_WORKFLOW_SNAPSHOT } from '../base-
|
|
1
|
+
import { c as MastraStorage, T as TABLE_NAMES, S as StorageColumn, d as StorageThreadType, e as MessageType, f as StorageGetMessagesArg, E as EvalRow, W as WorkflowRuns, g as WorkflowRun } from '../base-DnvqI7B4.js';
|
|
2
|
+
export { h as LegacyWorkflowRun, L as LegacyWorkflowRuns, j as TABLE_EVALS, k as TABLE_MESSAGES, n as TABLE_SCHEMAS, l as TABLE_THREADS, m as TABLE_TRACES, i as TABLE_WORKFLOW_SNAPSHOT } from '../base-DnvqI7B4.js';
|
|
3
3
|
import 'ai';
|
|
4
4
|
import '../base-tc5kgDTD.js';
|
|
5
5
|
import '@opentelemetry/api';
|
|
@@ -3,7 +3,7 @@ import { SpanKind, Context } from '@opentelemetry/api';
|
|
|
3
3
|
import { ExportResult } from '@opentelemetry/core';
|
|
4
4
|
import { SpanExporter, ReadableSpan } from '@opentelemetry/sdk-trace-base';
|
|
5
5
|
import { I as IMastraLogger } from '../logger-EhZkzZOr.cjs';
|
|
6
|
-
import { c as MastraStorage } from '../base-
|
|
6
|
+
import { c as MastraStorage } from '../base-B2MYHwYO.cjs';
|
|
7
7
|
import 'stream';
|
|
8
8
|
import 'ai';
|
|
9
9
|
import '../types-Bo1uigWx.cjs';
|
|
@@ -3,7 +3,7 @@ import { SpanKind, Context } from '@opentelemetry/api';
|
|
|
3
3
|
import { ExportResult } from '@opentelemetry/core';
|
|
4
4
|
import { SpanExporter, ReadableSpan } from '@opentelemetry/sdk-trace-base';
|
|
5
5
|
import { I as IMastraLogger } from '../logger-EhZkzZOr.js';
|
|
6
|
-
import { c as MastraStorage } from '../base-
|
|
6
|
+
import { c as MastraStorage } from '../base-DnvqI7B4.js';
|
|
7
7
|
import 'stream';
|
|
8
8
|
import 'ai';
|
|
9
9
|
import '../types-Bo1uigWx.js';
|
package/dist/tools/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { aP as CoreTool, aQ as InternalCoreTool, ad as Tool, a9 as ToolAction, ac as ToolExecutionContext, aO as VercelTool, aN as createTool } from '../base-
|
|
1
|
+
export { aP as CoreTool, aQ as InternalCoreTool, ad as Tool, a9 as ToolAction, ac as ToolExecutionContext, aO as VercelTool, aN as createTool } from '../base-B2MYHwYO.cjs';
|
|
2
2
|
export { isVercelTool } from '../utils.cjs';
|
|
3
3
|
import 'ai';
|
|
4
4
|
import '../base-aPYtPBT2.cjs';
|
package/dist/tools/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { aP as CoreTool, aQ as InternalCoreTool, ad as Tool, a9 as ToolAction, ac as ToolExecutionContext, aO as VercelTool, aN as createTool } from '../base-
|
|
1
|
+
export { aP as CoreTool, aQ as InternalCoreTool, ad as Tool, a9 as ToolAction, ac as ToolExecutionContext, aO as VercelTool, aN as createTool } from '../base-DnvqI7B4.js';
|
|
2
2
|
export { isVercelTool } from '../utils.js';
|
|
3
3
|
import 'ai';
|
|
4
4
|
import '../base-tc5kgDTD.js';
|
package/dist/utils.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { aO as VercelTool, a9 as ToolAction, a as Mastra, bf as MastraPrimitives, ab as MastraMemory, t as ToolsInput, aP as CoreTool, r as Agent, q as LegacyWorkflow, p as LegacyStep, x as StepExecutionContext, s as WorkflowContext, af as Workflow, ae as Step, bg as AgentNetwork, bh as MCPServerBase } from './base-
|
|
1
|
+
import { aO as VercelTool, a9 as ToolAction, a as Mastra, bf as MastraPrimitives, ab as MastraMemory, t as ToolsInput, aP as CoreTool, r as Agent, q as LegacyWorkflow, p as LegacyStep, x as StepExecutionContext, s as WorkflowContext, af as Workflow, ae as Step, bg as AgentNetwork, bh as MCPServerBase } from './base-B2MYHwYO.cjs';
|
|
2
2
|
import { LanguageModelV1, CoreMessage, Message } from 'ai';
|
|
3
3
|
import { MastraTTS } from './tts/index.cjs';
|
|
4
4
|
import { MastraVector } from './vector/index.cjs';
|
package/dist/utils.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { aO as VercelTool, a9 as ToolAction, a as Mastra, bf as MastraPrimitives, ab as MastraMemory, t as ToolsInput, aP as CoreTool, r as Agent, q as LegacyWorkflow, p as LegacyStep, x as StepExecutionContext, s as WorkflowContext, af as Workflow, ae as Step, bg as AgentNetwork, bh as MCPServerBase } from './base-
|
|
1
|
+
import { aO as VercelTool, a9 as ToolAction, a as Mastra, bf as MastraPrimitives, ab as MastraMemory, t as ToolsInput, aP as CoreTool, r as Agent, q as LegacyWorkflow, p as LegacyStep, x as StepExecutionContext, s as WorkflowContext, af as Workflow, ae as Step, bg as AgentNetwork, bh as MCPServerBase } from './base-DnvqI7B4.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';
|
package/dist/voice/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { bm as CompositeVoice, bn as DefaultVoice, bl as MastraVoice, bk as VoiceConfig, bj as VoiceEventMap, bi as VoiceEventType } from '../base-
|
|
1
|
+
export { bm as CompositeVoice, bn as DefaultVoice, bl as MastraVoice, bk as VoiceConfig, bj as VoiceEventMap, bi as VoiceEventType } from '../base-B2MYHwYO.cjs';
|
|
2
2
|
import 'ai';
|
|
3
3
|
import '../base-aPYtPBT2.cjs';
|
|
4
4
|
import '@opentelemetry/api';
|
package/dist/voice/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { bm as CompositeVoice, bn as DefaultVoice, bl as MastraVoice, bk as VoiceConfig, bj as VoiceEventMap, bi as VoiceEventType } from '../base-
|
|
1
|
+
export { bm as CompositeVoice, bn as DefaultVoice, bl as MastraVoice, bk as VoiceConfig, bj as VoiceEventMap, bi as VoiceEventType } from '../base-DnvqI7B4.js';
|
|
2
2
|
import 'ai';
|
|
3
3
|
import '../base-tc5kgDTD.js';
|
|
4
4
|
import '@opentelemetry/api';
|
package/dist/workflows/index.cjs
CHANGED
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkS4PNVSS6_cjs = require('../chunk-S4PNVSS6.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "DefaultExecutionEngine", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkS4PNVSS6_cjs.DefaultExecutionEngine; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "ExecutionEngine", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkS4PNVSS6_cjs.ExecutionEngine; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "Run", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkS4PNVSS6_cjs.Run; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "Workflow", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkS4PNVSS6_cjs.Workflow; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "cloneStep", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkS4PNVSS6_cjs.cloneStep; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "cloneWorkflow", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkS4PNVSS6_cjs.cloneWorkflow; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "createStep", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkS4PNVSS6_cjs.createStep; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "createWorkflow", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkS4PNVSS6_cjs.createWorkflow; }
|
|
38
38
|
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a$ as ExecutionEngine, b4 as StepResult, a_ as ExecutionGraph, aR as StepFlowEntry, ae as Step, b0 as ExecuteFunction } from '../base-
|
|
2
|
-
export { b6 as DynamicMapping, b9 as ExtractSchemaFromStep, b8 as ExtractSchemaType, b7 as PathsToStringProps, aZ as Run, aS as SerializedStep, aT as SerializedStepFlowEntry, b2 as StepFailure, b1 as StepSuccess, b3 as StepSuspended, b5 as StepsRecord, ba as VariableReference, bb as WatchEvent, af as Workflow, ag as WorkflowConfig, aY as WorkflowResult, bd as WorkflowRunState, bc as ZodPathType, aV as cloneStep, aX as cloneWorkflow, aU as createStep, aW as createWorkflow } from '../base-
|
|
1
|
+
import { a$ as ExecutionEngine, b4 as StepResult, a_ as ExecutionGraph, aR as StepFlowEntry, ae as Step, b0 as ExecuteFunction } from '../base-B2MYHwYO.cjs';
|
|
2
|
+
export { b6 as DynamicMapping, b9 as ExtractSchemaFromStep, b8 as ExtractSchemaType, b7 as PathsToStringProps, aZ as Run, aS as SerializedStep, aT as SerializedStepFlowEntry, b2 as StepFailure, b1 as StepSuccess, b3 as StepSuspended, b5 as StepsRecord, ba as VariableReference, bb as WatchEvent, af as Workflow, ag as WorkflowConfig, aY as WorkflowResult, bd as WorkflowRunState, bc as ZodPathType, aV as cloneStep, aX as cloneWorkflow, aU as createStep, aW as createWorkflow } from '../base-B2MYHwYO.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 { a$ as ExecutionEngine, b4 as StepResult, a_ as ExecutionGraph, aR as StepFlowEntry, ae as Step, b0 as ExecuteFunction } from '../base-
|
|
2
|
-
export { b6 as DynamicMapping, b9 as ExtractSchemaFromStep, b8 as ExtractSchemaType, b7 as PathsToStringProps, aZ as Run, aS as SerializedStep, aT as SerializedStepFlowEntry, b2 as StepFailure, b1 as StepSuccess, b3 as StepSuspended, b5 as StepsRecord, ba as VariableReference, bb as WatchEvent, af as Workflow, ag as WorkflowConfig, aY as WorkflowResult, bd as WorkflowRunState, bc as ZodPathType, aV as cloneStep, aX as cloneWorkflow, aU as createStep, aW as createWorkflow } from '../base-
|
|
1
|
+
import { a$ as ExecutionEngine, b4 as StepResult, a_ as ExecutionGraph, aR as StepFlowEntry, ae as Step, b0 as ExecuteFunction } from '../base-DnvqI7B4.js';
|
|
2
|
+
export { b6 as DynamicMapping, b9 as ExtractSchemaFromStep, b8 as ExtractSchemaType, b7 as PathsToStringProps, aZ as Run, aS as SerializedStep, aT as SerializedStepFlowEntry, b2 as StepFailure, b1 as StepSuccess, b3 as StepSuspended, b5 as StepsRecord, ba as VariableReference, bb as WatchEvent, af as Workflow, ag as WorkflowConfig, aY as WorkflowResult, bd as WorkflowRunState, bc as ZodPathType, aV as cloneStep, aX as cloneWorkflow, aU as createStep, aW as createWorkflow } from '../base-DnvqI7B4.js';
|
|
3
3
|
import { Span } from '@opentelemetry/api';
|
|
4
4
|
import { RuntimeContext } from '../runtime-context/index.js';
|
|
5
5
|
import 'ai';
|
package/dist/workflows/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { DefaultExecutionEngine, ExecutionEngine, Run, Workflow, cloneStep, cloneWorkflow, createStep, createWorkflow } from '../chunk-
|
|
1
|
+
export { DefaultExecutionEngine, ExecutionEngine, Run, Workflow, cloneStep, cloneWorkflow, createStep, createWorkflow } from '../chunk-J3C45WHN.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { V as VariableReference, o as StepResult, p as LegacyStep, q as LegacyWorkflow, r as Agent, s as WorkflowContext, t as ToolsInput, a as Mastra, u as StepAction, v as LegacyWorkflowRunResult } from '../../base-
|
|
2
|
-
export { F as ActionContext, D as BaseCondition, X as DependencyCheckOutput, a2 as ExtractSchemaFromStep, a5 as ExtractSchemaType, a3 as ExtractStepResult, a7 as LegacyWorkflowRunState, a0 as LegacyWorkflowState, a6 as PathsToStringProps, P as ResolverFunctionInput, Q as ResolverFunctionOutput, R as RetryConfig, I as StepCondition, J as StepConfig, H as StepDef, x as StepExecutionContext, B as StepGraph, a1 as StepId, a4 as StepInputType, z as StepNode, Y as StepResolverOutput, y as StepVariableType, K as StepsRecord, U as SubscriberFunctionOutput, G as WhenConditionReturnValue, _ as WorkflowActionParams, $ as WorkflowActions, Z as WorkflowActors, O as WorkflowEvent, N as WorkflowLogMessage, w as WorkflowOptions, a8 as WorkflowResumeResult } from '../../base-
|
|
1
|
+
import { V as VariableReference, o as StepResult, p as LegacyStep, q as LegacyWorkflow, r as Agent, s as WorkflowContext, t as ToolsInput, a as Mastra, u as StepAction, v as LegacyWorkflowRunResult } from '../../base-B2MYHwYO.cjs';
|
|
2
|
+
export { F as ActionContext, D as BaseCondition, X as DependencyCheckOutput, a2 as ExtractSchemaFromStep, a5 as ExtractSchemaType, a3 as ExtractStepResult, a7 as LegacyWorkflowRunState, a0 as LegacyWorkflowState, a6 as PathsToStringProps, P as ResolverFunctionInput, Q as ResolverFunctionOutput, R as RetryConfig, I as StepCondition, J as StepConfig, H as StepDef, x as StepExecutionContext, B as StepGraph, a1 as StepId, a4 as StepInputType, z as StepNode, Y as StepResolverOutput, y as StepVariableType, K as StepsRecord, U as SubscriberFunctionOutput, G as WhenConditionReturnValue, _ as WorkflowActionParams, $ as WorkflowActions, Z as WorkflowActors, O as WorkflowEvent, N as WorkflowLogMessage, w as WorkflowOptions, a8 as WorkflowResumeResult } from '../../base-B2MYHwYO.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-EhZkzZOr.cjs';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { V as VariableReference, o as StepResult, p as LegacyStep, q as LegacyWorkflow, r as Agent, s as WorkflowContext, t as ToolsInput, a as Mastra, u as StepAction, v as LegacyWorkflowRunResult } from '../../base-
|
|
2
|
-
export { F as ActionContext, D as BaseCondition, X as DependencyCheckOutput, a2 as ExtractSchemaFromStep, a5 as ExtractSchemaType, a3 as ExtractStepResult, a7 as LegacyWorkflowRunState, a0 as LegacyWorkflowState, a6 as PathsToStringProps, P as ResolverFunctionInput, Q as ResolverFunctionOutput, R as RetryConfig, I as StepCondition, J as StepConfig, H as StepDef, x as StepExecutionContext, B as StepGraph, a1 as StepId, a4 as StepInputType, z as StepNode, Y as StepResolverOutput, y as StepVariableType, K as StepsRecord, U as SubscriberFunctionOutput, G as WhenConditionReturnValue, _ as WorkflowActionParams, $ as WorkflowActions, Z as WorkflowActors, O as WorkflowEvent, N as WorkflowLogMessage, w as WorkflowOptions, a8 as WorkflowResumeResult } from '../../base-
|
|
1
|
+
import { V as VariableReference, o as StepResult, p as LegacyStep, q as LegacyWorkflow, r as Agent, s as WorkflowContext, t as ToolsInput, a as Mastra, u as StepAction, v as LegacyWorkflowRunResult } from '../../base-DnvqI7B4.js';
|
|
2
|
+
export { F as ActionContext, D as BaseCondition, X as DependencyCheckOutput, a2 as ExtractSchemaFromStep, a5 as ExtractSchemaType, a3 as ExtractStepResult, a7 as LegacyWorkflowRunState, a0 as LegacyWorkflowState, a6 as PathsToStringProps, P as ResolverFunctionInput, Q as ResolverFunctionOutput, R as RetryConfig, I as StepCondition, J as StepConfig, H as StepDef, x as StepExecutionContext, B as StepGraph, a1 as StepId, a4 as StepInputType, z as StepNode, Y as StepResolverOutput, y as StepVariableType, K as StepsRecord, U as SubscriberFunctionOutput, G as WhenConditionReturnValue, _ as WorkflowActionParams, $ as WorkflowActions, Z as WorkflowActors, O as WorkflowEvent, N as WorkflowLogMessage, w as WorkflowOptions, a8 as WorkflowResumeResult } from '../../base-DnvqI7B4.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-EhZkzZOr.js';
|