@mastra/core 0.8.2 → 0.8.3-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/README.md +4 -4
- package/dist/agent/index.d.cts +1 -1
- package/dist/agent/index.d.ts +1 -1
- package/dist/{base-D0afZZ9D.d.ts → base-BZEw2nXJ.d.ts} +3 -3
- package/dist/{base-CRsNpPj6.d.cts → base-VLg7uRIB.d.cts} +3 -3
- package/dist/{chunk-IUU6FRPI.cjs → chunk-OSY64FYD.cjs} +31 -12
- package/dist/{chunk-Q5Q3V2SQ.js → chunk-Z7SWEXRF.js} +31 -12
- package/dist/eval/index.d.cts +1 -1
- package/dist/eval/index.d.ts +1 -1
- package/dist/index.cjs +3 -3
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- 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.d.cts +1 -1
- package/dist/mastra/index.d.ts +1 -1
- package/dist/memory/index.cjs +3 -3
- package/dist/memory/index.d.cts +1 -1
- package/dist/memory/index.d.ts +1 -1
- package/dist/memory/index.js +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 +1 -1
- package/dist/server/index.d.ts +1 -1
- package/dist/storage/index.d.cts +1 -1
- package/dist/storage/index.d.ts +1 -1
- package/dist/storage/libsql/index.d.cts +1 -1
- package/dist/storage/libsql/index.d.ts +1 -1
- 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 +2 -2
- package/dist/voice/index.d.ts +2 -2
- package/dist/workflows/index.d.cts +2 -2
- package/dist/workflows/index.d.ts +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -84,7 +84,7 @@ const agent = new Agent({
|
|
|
84
84
|
});
|
|
85
85
|
```
|
|
86
86
|
|
|
87
|
-
[Memory documentation →](https://mastra.ai/
|
|
87
|
+
[Memory documentation →](https://mastra.ai/reference/memory/Memory)
|
|
88
88
|
|
|
89
89
|
### Tools (`/tools`)
|
|
90
90
|
|
|
@@ -147,7 +147,7 @@ const logger = createLogger({
|
|
|
147
147
|
});
|
|
148
148
|
```
|
|
149
149
|
|
|
150
|
-
[More logging documentation →](https://mastra.ai/
|
|
150
|
+
[More logging documentation →](https://mastra.ai/reference/observability/logging)
|
|
151
151
|
|
|
152
152
|
### Telemetry (`/telemetry`)
|
|
153
153
|
|
|
@@ -172,11 +172,11 @@ const mastra = new Mastra({
|
|
|
172
172
|
});
|
|
173
173
|
```
|
|
174
174
|
|
|
175
|
-
[More Telemetry documentation →](https://mastra.ai/
|
|
175
|
+
[More Telemetry documentation →](https://mastra.ai/reference/observability/telemetry)
|
|
176
176
|
|
|
177
177
|
## Additional Resources
|
|
178
178
|
|
|
179
179
|
- [Getting Started Guide](https://mastra.ai/docs/getting-started/installation)
|
|
180
|
-
- [API Reference](https://mastra.ai/
|
|
180
|
+
- [API Reference](https://mastra.ai/reference)
|
|
181
181
|
- [Examples](https://mastra.ai/docs/examples)
|
|
182
182
|
- [Deployment Guide](https://mastra.ai/docs/deployment/overview)
|
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 { j as Agent, k as AgentConfig, aM as AgentGenerateOptions, aN as AgentStreamOptions, aG as MastraLanguageModel, aH as ToolsInput, aL as ToolsetsInput } from '../base-
|
|
4
|
+
export { j as Agent, k as AgentConfig, aM as AgentGenerateOptions, aN as AgentStreamOptions, aG as MastraLanguageModel, aH as ToolsInput, aL as ToolsetsInput } from '../base-VLg7uRIB.cjs';
|
|
5
5
|
import '../base-BihKcqDY.cjs';
|
|
6
6
|
import '../types-BtMyV38I.cjs';
|
|
7
7
|
import 'sift';
|
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 { j as Agent, k as AgentConfig, aM as AgentGenerateOptions, aN as AgentStreamOptions, aG as MastraLanguageModel, aH as ToolsInput, aL as ToolsetsInput } from '../base-
|
|
4
|
+
export { j as Agent, k as AgentConfig, aM as AgentGenerateOptions, aN as AgentStreamOptions, aG as MastraLanguageModel, aH as ToolsInput, aL as ToolsetsInput } from '../base-BZEw2nXJ.js';
|
|
5
5
|
import '../base-DT2poiVK.js';
|
|
6
6
|
import '../types-BtMyV38I.js';
|
|
7
7
|
import 'sift';
|
|
@@ -1124,8 +1124,8 @@ declare abstract class MemoryProcessor extends MastraBase {
|
|
|
1124
1124
|
declare abstract class MastraMemory extends MastraBase {
|
|
1125
1125
|
MAX_CONTEXT_TOKENS?: number;
|
|
1126
1126
|
storage: MastraStorage;
|
|
1127
|
-
vector
|
|
1128
|
-
embedder
|
|
1127
|
+
vector?: MastraVector;
|
|
1128
|
+
embedder?: EmbeddingModel<string>;
|
|
1129
1129
|
private processors;
|
|
1130
1130
|
protected threadConfig: MemoryConfig;
|
|
1131
1131
|
constructor(config: {
|
|
@@ -2021,7 +2021,7 @@ type MemoryConfig = {
|
|
|
2021
2021
|
type SharedMemoryConfig = {
|
|
2022
2022
|
storage?: MastraStorage;
|
|
2023
2023
|
options?: MemoryConfig;
|
|
2024
|
-
vector?: MastraVector;
|
|
2024
|
+
vector?: MastraVector | false;
|
|
2025
2025
|
embedder?: EmbeddingModel<string>;
|
|
2026
2026
|
processors?: MemoryProcessor[];
|
|
2027
2027
|
};
|
|
@@ -1124,8 +1124,8 @@ declare abstract class MemoryProcessor extends MastraBase {
|
|
|
1124
1124
|
declare abstract class MastraMemory extends MastraBase {
|
|
1125
1125
|
MAX_CONTEXT_TOKENS?: number;
|
|
1126
1126
|
storage: MastraStorage;
|
|
1127
|
-
vector
|
|
1128
|
-
embedder
|
|
1127
|
+
vector?: MastraVector;
|
|
1128
|
+
embedder?: EmbeddingModel<string>;
|
|
1129
1129
|
private processors;
|
|
1130
1130
|
protected threadConfig: MemoryConfig;
|
|
1131
1131
|
constructor(config: {
|
|
@@ -2021,7 +2021,7 @@ type MemoryConfig = {
|
|
|
2021
2021
|
type SharedMemoryConfig = {
|
|
2022
2022
|
storage?: MastraStorage;
|
|
2023
2023
|
options?: MemoryConfig;
|
|
2024
|
-
vector?: MastraVector;
|
|
2024
|
+
vector?: MastraVector | false;
|
|
2025
2025
|
embedder?: EmbeddingModel<string>;
|
|
2026
2026
|
processors?: MemoryProcessor[];
|
|
2027
2027
|
};
|
|
@@ -139,14 +139,27 @@ var MastraMemory = class extends chunkD63P5O4Q_cjs.MastraBase {
|
|
|
139
139
|
};
|
|
140
140
|
constructor(config) {
|
|
141
141
|
super({ component: "MEMORY", name: config.name });
|
|
142
|
-
|
|
143
|
-
config
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
if (config.vector) {
|
|
148
|
-
this.vector = config.vector;
|
|
142
|
+
if (config.options) {
|
|
143
|
+
this.threadConfig = this.getMergedThreadConfig(config.options);
|
|
144
|
+
}
|
|
145
|
+
if (config.storage) {
|
|
146
|
+
this.storage = config.storage;
|
|
149
147
|
} else {
|
|
148
|
+
this.storage = new chunk2LIFCMY6_cjs.DefaultProxyStorage({
|
|
149
|
+
config: {
|
|
150
|
+
url: "file:memory.db"
|
|
151
|
+
}
|
|
152
|
+
});
|
|
153
|
+
}
|
|
154
|
+
const semanticRecallIsEnabled = this.threadConfig.semanticRecall !== false;
|
|
155
|
+
if (config.vector && semanticRecallIsEnabled) {
|
|
156
|
+
this.vector = config.vector;
|
|
157
|
+
} else if (
|
|
158
|
+
// if there's no configured vector store
|
|
159
|
+
// and the vector store hasn't been explicitly disabled with vector: false
|
|
160
|
+
config.vector !== false && // and semanticRecall is enabled
|
|
161
|
+
semanticRecallIsEnabled
|
|
162
|
+
) {
|
|
150
163
|
const oldDb = "memory-vector.db";
|
|
151
164
|
const hasOldDb = fs.existsSync(path.join(process.cwd(), oldDb)) || fs.existsSync(path.join(process.cwd(), ".mastra", oldDb));
|
|
152
165
|
const newDb = "memory.db";
|
|
@@ -161,12 +174,14 @@ var MastraMemory = class extends chunkD63P5O4Q_cjs.MastraBase {
|
|
|
161
174
|
}
|
|
162
175
|
if (config.embedder) {
|
|
163
176
|
this.embedder = config.embedder;
|
|
164
|
-
} else
|
|
177
|
+
} else if (
|
|
178
|
+
// if there's no configured embedder
|
|
179
|
+
// and there's a vector store
|
|
180
|
+
typeof this.vector !== `undefined` && // and semanticRecall is enabled
|
|
181
|
+
semanticRecallIsEnabled
|
|
182
|
+
) {
|
|
165
183
|
this.embedder = defaultEmbedder("bge-small-en-v1.5");
|
|
166
184
|
}
|
|
167
|
-
if (config.options) {
|
|
168
|
-
this.threadConfig = this.getMergedThreadConfig(config.options);
|
|
169
|
-
}
|
|
170
185
|
if (config.processors) {
|
|
171
186
|
this.processors = config.processors;
|
|
172
187
|
}
|
|
@@ -201,6 +216,9 @@ var MastraMemory = class extends chunkD63P5O4Q_cjs.MastraBase {
|
|
|
201
216
|
const isDefault = dimensions === defaultDimensions;
|
|
202
217
|
const usedDimensions = dimensions ?? defaultDimensions;
|
|
203
218
|
const indexName = isDefault ? "memory_messages" : `memory_messages_${usedDimensions}`;
|
|
219
|
+
if (typeof this.vector === `undefined`) {
|
|
220
|
+
throw new Error(`Tried to create embedding index but no vector db is attached to this Memory instance.`);
|
|
221
|
+
}
|
|
204
222
|
await this.vector.createIndex({
|
|
205
223
|
indexName,
|
|
206
224
|
dimension: usedDimensions
|
|
@@ -320,7 +338,8 @@ var MastraMemory = class extends chunkD63P5O4Q_cjs.MastraBase {
|
|
|
320
338
|
id: message.id,
|
|
321
339
|
role: message.role,
|
|
322
340
|
content: textContent,
|
|
323
|
-
toolInvocations
|
|
341
|
+
toolInvocations,
|
|
342
|
+
createdAt: message.createdAt
|
|
324
343
|
});
|
|
325
344
|
return obj;
|
|
326
345
|
},
|
|
@@ -132,14 +132,27 @@ var MastraMemory = class extends MastraBase {
|
|
|
132
132
|
};
|
|
133
133
|
constructor(config) {
|
|
134
134
|
super({ component: "MEMORY", name: config.name });
|
|
135
|
-
|
|
136
|
-
config
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
if (config.vector) {
|
|
141
|
-
this.vector = config.vector;
|
|
135
|
+
if (config.options) {
|
|
136
|
+
this.threadConfig = this.getMergedThreadConfig(config.options);
|
|
137
|
+
}
|
|
138
|
+
if (config.storage) {
|
|
139
|
+
this.storage = config.storage;
|
|
142
140
|
} else {
|
|
141
|
+
this.storage = new DefaultProxyStorage({
|
|
142
|
+
config: {
|
|
143
|
+
url: "file:memory.db"
|
|
144
|
+
}
|
|
145
|
+
});
|
|
146
|
+
}
|
|
147
|
+
const semanticRecallIsEnabled = this.threadConfig.semanticRecall !== false;
|
|
148
|
+
if (config.vector && semanticRecallIsEnabled) {
|
|
149
|
+
this.vector = config.vector;
|
|
150
|
+
} else if (
|
|
151
|
+
// if there's no configured vector store
|
|
152
|
+
// and the vector store hasn't been explicitly disabled with vector: false
|
|
153
|
+
config.vector !== false && // and semanticRecall is enabled
|
|
154
|
+
semanticRecallIsEnabled
|
|
155
|
+
) {
|
|
143
156
|
const oldDb = "memory-vector.db";
|
|
144
157
|
const hasOldDb = existsSync(join(process.cwd(), oldDb)) || existsSync(join(process.cwd(), ".mastra", oldDb));
|
|
145
158
|
const newDb = "memory.db";
|
|
@@ -154,12 +167,14 @@ var MastraMemory = class extends MastraBase {
|
|
|
154
167
|
}
|
|
155
168
|
if (config.embedder) {
|
|
156
169
|
this.embedder = config.embedder;
|
|
157
|
-
} else
|
|
170
|
+
} else if (
|
|
171
|
+
// if there's no configured embedder
|
|
172
|
+
// and there's a vector store
|
|
173
|
+
typeof this.vector !== `undefined` && // and semanticRecall is enabled
|
|
174
|
+
semanticRecallIsEnabled
|
|
175
|
+
) {
|
|
158
176
|
this.embedder = defaultEmbedder("bge-small-en-v1.5");
|
|
159
177
|
}
|
|
160
|
-
if (config.options) {
|
|
161
|
-
this.threadConfig = this.getMergedThreadConfig(config.options);
|
|
162
|
-
}
|
|
163
178
|
if (config.processors) {
|
|
164
179
|
this.processors = config.processors;
|
|
165
180
|
}
|
|
@@ -194,6 +209,9 @@ var MastraMemory = class extends MastraBase {
|
|
|
194
209
|
const isDefault = dimensions === defaultDimensions;
|
|
195
210
|
const usedDimensions = dimensions ?? defaultDimensions;
|
|
196
211
|
const indexName = isDefault ? "memory_messages" : `memory_messages_${usedDimensions}`;
|
|
212
|
+
if (typeof this.vector === `undefined`) {
|
|
213
|
+
throw new Error(`Tried to create embedding index but no vector db is attached to this Memory instance.`);
|
|
214
|
+
}
|
|
197
215
|
await this.vector.createIndex({
|
|
198
216
|
indexName,
|
|
199
217
|
dimension: usedDimensions
|
|
@@ -313,7 +331,8 @@ var MastraMemory = class extends MastraBase {
|
|
|
313
331
|
id: message.id,
|
|
314
332
|
role: message.role,
|
|
315
333
|
content: textContent,
|
|
316
|
-
toolInvocations
|
|
334
|
+
toolInvocations,
|
|
335
|
+
createdAt: message.createdAt
|
|
317
336
|
});
|
|
318
337
|
return obj;
|
|
319
338
|
},
|
package/dist/eval/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as Metric, T as TestInfo, E as EvaluationResult } from '../types-BtMyV38I.cjs';
|
|
2
2
|
export { M as MetricResult } from '../types-BtMyV38I.cjs';
|
|
3
|
-
import { j as Agent } from '../base-
|
|
3
|
+
import { j as Agent } from '../base-VLg7uRIB.cjs';
|
|
4
4
|
import 'ai';
|
|
5
5
|
import '../base-BihKcqDY.cjs';
|
|
6
6
|
import '@opentelemetry/api';
|
package/dist/eval/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as Metric, T as TestInfo, E as EvaluationResult } from '../types-BtMyV38I.js';
|
|
2
2
|
export { M as MetricResult } from '../types-BtMyV38I.js';
|
|
3
|
-
import { j as Agent } from '../base-
|
|
3
|
+
import { j as Agent } from '../base-BZEw2nXJ.js';
|
|
4
4
|
import 'ai';
|
|
5
5
|
import '../base-DT2poiVK.js';
|
|
6
6
|
import '@opentelemetry/api';
|
package/dist/index.cjs
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var chunk4RSVKCI7_cjs = require('./chunk-4RSVKCI7.cjs');
|
|
4
4
|
var chunk7I7AKQH3_cjs = require('./chunk-7I7AKQH3.cjs');
|
|
5
5
|
var chunkFGPCJCMB_cjs = require('./chunk-FGPCJCMB.cjs');
|
|
6
|
-
var
|
|
6
|
+
var chunkOSY64FYD_cjs = require('./chunk-OSY64FYD.cjs');
|
|
7
7
|
var chunk7JBINHJX_cjs = require('./chunk-7JBINHJX.cjs');
|
|
8
8
|
var chunkJJ5OT2JE_cjs = require('./chunk-JJ5OT2JE.cjs');
|
|
9
9
|
var chunk6BT5XRRD_cjs = require('./chunk-6BT5XRRD.cjs');
|
|
@@ -73,7 +73,7 @@ function createLogger2(options) {
|
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
// src/memory/index.warning.ts
|
|
76
|
-
var MastraMemory2 = class extends
|
|
76
|
+
var MastraMemory2 = class extends chunkOSY64FYD_cjs.MastraMemory {
|
|
77
77
|
constructor(_arg) {
|
|
78
78
|
super({ name: `Deprecated memory` });
|
|
79
79
|
this.logger.warn('Please import "MastraMemory" from "@mastra/core/memory" instead of "@mastra/core"');
|
|
@@ -118,7 +118,7 @@ Object.defineProperty(exports, "Mastra", {
|
|
|
118
118
|
});
|
|
119
119
|
Object.defineProperty(exports, "MemoryProcessor", {
|
|
120
120
|
enumerable: true,
|
|
121
|
-
get: function () { return
|
|
121
|
+
get: function () { return chunkOSY64FYD_cjs.MemoryProcessor; }
|
|
122
122
|
});
|
|
123
123
|
Object.defineProperty(exports, "CohereRelevanceScorer", {
|
|
124
124
|
enumerable: true,
|
package/dist/index.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as Metric } from './types-BtMyV38I.cjs';
|
|
2
2
|
export { E as EvaluationResult, M as MetricResult, T as TestInfo } from './types-BtMyV38I.cjs';
|
|
3
|
-
import { i as ToolAction, j as Agent$1, k as AgentConfig, e as MastraStorage$1, l as MastraMemory$1, m as ToolExecutionContext, n as Tool$1, o as Step, p as Workflow$1, q as WorkflowOptions } from './base-
|
|
4
|
-
export { ae as ActionContext, ad as BaseCondition, B as BaseStructuredOutputType, Z as Config, v as CoreAssistantMessage, t as CoreMessage, u as CoreSystemMessage, a5 as CoreTool, x as CoreToolMessage, w as CoreUserMessage, P as DefaultLLMStreamObjectOptions, N as DefaultLLMStreamOptions, K as DefaultLLMTextObjectOptions, J as DefaultLLMTextOptions, as as DependencyCheckOutput, z as EmbedManyResult, y as EmbedResult, E as EvalRow, az as ExtractSchemaFromStep, aC as ExtractSchemaType, aA as ExtractStepResult, H as GenerateReturn, X as LLMInnerStreamOptions, Y as LLMStreamObjectOptions, U as LLMStreamOptions, R as LLMTextObjectOptions, Q as LLMTextOptions, L as LanguageModel, a as Mastra, $ as MemoryConfig, a2 as MemoryProcessor, a1 as MemoryProcessorOpts, _ as MessageResponse, g as MessageType, O as OutputType, aD as PathsToStringProps, ap as ResolverFunctionInput, aq as ResolverFunctionOutput, ab as RetryConfig, a0 as SharedMemoryConfig, a7 as StepAction, ah as StepCondition, ai as StepConfig, ag as StepDef, a6 as StepExecutionContext, aa as StepGraph, ay as StepId, aB as StepInputType, a9 as StepNode, at as StepResolverOutput, aj as StepResult, a8 as StepVariableType, ak as StepsRecord, S as StorageColumn, h as StorageGetMessagesArg, f as StorageThreadType, I as StreamReturn, G as StructuredOutput, F as StructuredOutputArrayItem, D as StructuredOutputType, ar as SubscriberFunctionOutput, ac as VariableReference, a4 as VercelTool, af as WhenConditionReturnValue, av as WorkflowActionParams, aw as WorkflowActions, au as WorkflowActors, am as WorkflowContext, ao as WorkflowEvent, an as WorkflowLogMessage, aE as WorkflowResumeResult, r as WorkflowRow, al as WorkflowRunResult, W as WorkflowRunState, s as WorkflowRuns, ax as WorkflowState, aF as createStep, a3 as createTool } from './base-
|
|
3
|
+
import { i as ToolAction, j as Agent$1, k as AgentConfig, e as MastraStorage$1, l as MastraMemory$1, m as ToolExecutionContext, n as Tool$1, o as Step, p as Workflow$1, q as WorkflowOptions } from './base-VLg7uRIB.cjs';
|
|
4
|
+
export { ae as ActionContext, ad as BaseCondition, B as BaseStructuredOutputType, Z as Config, v as CoreAssistantMessage, t as CoreMessage, u as CoreSystemMessage, a5 as CoreTool, x as CoreToolMessage, w as CoreUserMessage, P as DefaultLLMStreamObjectOptions, N as DefaultLLMStreamOptions, K as DefaultLLMTextObjectOptions, J as DefaultLLMTextOptions, as as DependencyCheckOutput, z as EmbedManyResult, y as EmbedResult, E as EvalRow, az as ExtractSchemaFromStep, aC as ExtractSchemaType, aA as ExtractStepResult, H as GenerateReturn, X as LLMInnerStreamOptions, Y as LLMStreamObjectOptions, U as LLMStreamOptions, R as LLMTextObjectOptions, Q as LLMTextOptions, L as LanguageModel, a as Mastra, $ as MemoryConfig, a2 as MemoryProcessor, a1 as MemoryProcessorOpts, _ as MessageResponse, g as MessageType, O as OutputType, aD as PathsToStringProps, ap as ResolverFunctionInput, aq as ResolverFunctionOutput, ab as RetryConfig, a0 as SharedMemoryConfig, a7 as StepAction, ah as StepCondition, ai as StepConfig, ag as StepDef, a6 as StepExecutionContext, aa as StepGraph, ay as StepId, aB as StepInputType, a9 as StepNode, at as StepResolverOutput, aj as StepResult, a8 as StepVariableType, ak as StepsRecord, S as StorageColumn, h as StorageGetMessagesArg, f as StorageThreadType, I as StreamReturn, G as StructuredOutput, F as StructuredOutputArrayItem, D as StructuredOutputType, ar as SubscriberFunctionOutput, ac as VariableReference, a4 as VercelTool, af as WhenConditionReturnValue, av as WorkflowActionParams, aw as WorkflowActions, au as WorkflowActors, am as WorkflowContext, ao as WorkflowEvent, an as WorkflowLogMessage, aE as WorkflowResumeResult, r as WorkflowRow, al as WorkflowRunResult, W as WorkflowRunState, s as WorkflowRuns, ax as WorkflowState, aF as createStep, a3 as createTool } from './base-VLg7uRIB.cjs';
|
|
5
5
|
import { M as MastraBase$1 } from './base-BihKcqDY.cjs';
|
|
6
6
|
export { O as OtelConfig, S as SamplingStrategy, T as Telemetry } from './base-BihKcqDY.cjs';
|
|
7
7
|
import { R as RegisteredLogger, a as LogLevel, T as TransportMap, L as Logger } from './index-CquI0inB.cjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as Metric } from './types-BtMyV38I.js';
|
|
2
2
|
export { E as EvaluationResult, M as MetricResult, T as TestInfo } from './types-BtMyV38I.js';
|
|
3
|
-
import { i as ToolAction, j as Agent$1, k as AgentConfig, e as MastraStorage$1, l as MastraMemory$1, m as ToolExecutionContext, n as Tool$1, o as Step, p as Workflow$1, q as WorkflowOptions } from './base-
|
|
4
|
-
export { ae as ActionContext, ad as BaseCondition, B as BaseStructuredOutputType, Z as Config, v as CoreAssistantMessage, t as CoreMessage, u as CoreSystemMessage, a5 as CoreTool, x as CoreToolMessage, w as CoreUserMessage, P as DefaultLLMStreamObjectOptions, N as DefaultLLMStreamOptions, K as DefaultLLMTextObjectOptions, J as DefaultLLMTextOptions, as as DependencyCheckOutput, z as EmbedManyResult, y as EmbedResult, E as EvalRow, az as ExtractSchemaFromStep, aC as ExtractSchemaType, aA as ExtractStepResult, H as GenerateReturn, X as LLMInnerStreamOptions, Y as LLMStreamObjectOptions, U as LLMStreamOptions, R as LLMTextObjectOptions, Q as LLMTextOptions, L as LanguageModel, a as Mastra, $ as MemoryConfig, a2 as MemoryProcessor, a1 as MemoryProcessorOpts, _ as MessageResponse, g as MessageType, O as OutputType, aD as PathsToStringProps, ap as ResolverFunctionInput, aq as ResolverFunctionOutput, ab as RetryConfig, a0 as SharedMemoryConfig, a7 as StepAction, ah as StepCondition, ai as StepConfig, ag as StepDef, a6 as StepExecutionContext, aa as StepGraph, ay as StepId, aB as StepInputType, a9 as StepNode, at as StepResolverOutput, aj as StepResult, a8 as StepVariableType, ak as StepsRecord, S as StorageColumn, h as StorageGetMessagesArg, f as StorageThreadType, I as StreamReturn, G as StructuredOutput, F as StructuredOutputArrayItem, D as StructuredOutputType, ar as SubscriberFunctionOutput, ac as VariableReference, a4 as VercelTool, af as WhenConditionReturnValue, av as WorkflowActionParams, aw as WorkflowActions, au as WorkflowActors, am as WorkflowContext, ao as WorkflowEvent, an as WorkflowLogMessage, aE as WorkflowResumeResult, r as WorkflowRow, al as WorkflowRunResult, W as WorkflowRunState, s as WorkflowRuns, ax as WorkflowState, aF as createStep, a3 as createTool } from './base-
|
|
3
|
+
import { i as ToolAction, j as Agent$1, k as AgentConfig, e as MastraStorage$1, l as MastraMemory$1, m as ToolExecutionContext, n as Tool$1, o as Step, p as Workflow$1, q as WorkflowOptions } from './base-BZEw2nXJ.js';
|
|
4
|
+
export { ae as ActionContext, ad as BaseCondition, B as BaseStructuredOutputType, Z as Config, v as CoreAssistantMessage, t as CoreMessage, u as CoreSystemMessage, a5 as CoreTool, x as CoreToolMessage, w as CoreUserMessage, P as DefaultLLMStreamObjectOptions, N as DefaultLLMStreamOptions, K as DefaultLLMTextObjectOptions, J as DefaultLLMTextOptions, as as DependencyCheckOutput, z as EmbedManyResult, y as EmbedResult, E as EvalRow, az as ExtractSchemaFromStep, aC as ExtractSchemaType, aA as ExtractStepResult, H as GenerateReturn, X as LLMInnerStreamOptions, Y as LLMStreamObjectOptions, U as LLMStreamOptions, R as LLMTextObjectOptions, Q as LLMTextOptions, L as LanguageModel, a as Mastra, $ as MemoryConfig, a2 as MemoryProcessor, a1 as MemoryProcessorOpts, _ as MessageResponse, g as MessageType, O as OutputType, aD as PathsToStringProps, ap as ResolverFunctionInput, aq as ResolverFunctionOutput, ab as RetryConfig, a0 as SharedMemoryConfig, a7 as StepAction, ah as StepCondition, ai as StepConfig, ag as StepDef, a6 as StepExecutionContext, aa as StepGraph, ay as StepId, aB as StepInputType, a9 as StepNode, at as StepResolverOutput, aj as StepResult, a8 as StepVariableType, ak as StepsRecord, S as StorageColumn, h as StorageGetMessagesArg, f as StorageThreadType, I as StreamReturn, G as StructuredOutput, F as StructuredOutputArrayItem, D as StructuredOutputType, ar as SubscriberFunctionOutput, ac as VariableReference, a4 as VercelTool, af as WhenConditionReturnValue, av as WorkflowActionParams, aw as WorkflowActions, au as WorkflowActors, am as WorkflowContext, ao as WorkflowEvent, an as WorkflowLogMessage, aE as WorkflowResumeResult, r as WorkflowRow, al as WorkflowRunResult, W as WorkflowRunState, s as WorkflowRuns, ax as WorkflowState, aF as createStep, a3 as createTool } from './base-BZEw2nXJ.js';
|
|
5
5
|
import { M as MastraBase$1 } from './base-DT2poiVK.js';
|
|
6
6
|
export { O as OtelConfig, S as SamplingStrategy, T as Telemetry } from './base-DT2poiVK.js';
|
|
7
7
|
import { R as RegisteredLogger, a as LogLevel, T as TransportMap, L as Logger } from './index-CquI0inB.js';
|
package/dist/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { MastraTTS } from './chunk-7QGBEEXJ.js';
|
|
2
2
|
import { Integration, OpenAPIToolset } from './chunk-4RMSGSQN.js';
|
|
3
3
|
export { Mastra } from './chunk-2ZHFDR35.js';
|
|
4
|
-
import { MastraMemory } from './chunk-
|
|
5
|
-
export { MemoryProcessor } from './chunk-
|
|
4
|
+
import { MastraMemory } from './chunk-Z7SWEXRF.js';
|
|
5
|
+
export { MemoryProcessor } from './chunk-Z7SWEXRF.js';
|
|
6
6
|
import { MastraVector } from './chunk-FY57LEMC.js';
|
|
7
7
|
import { MastraStorage } from './chunk-ZKVHS4RY.js';
|
|
8
8
|
export { CohereRelevanceScorer, MastraAgentRelevanceScorer, createSimilarityPrompt } from './chunk-26NMSLXS.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 { B as BaseStructuredOutputType, v as CoreAssistantMessage, t as CoreMessage, u as CoreSystemMessage, x as CoreToolMessage, w as CoreUserMessage, P as DefaultLLMStreamObjectOptions, N as DefaultLLMStreamOptions, K as DefaultLLMTextObjectOptions, J as DefaultLLMTextOptions, z as EmbedManyResult, y as EmbedResult, H as GenerateReturn, X as LLMInnerStreamOptions, Y as LLMStreamObjectOptions, U as LLMStreamOptions, R as LLMTextObjectOptions, Q as LLMTextOptions, L as LanguageModel, O as OutputType, I as StreamReturn, G as StructuredOutput, F as StructuredOutputArrayItem, D as StructuredOutputType } from '../base-
|
|
4
|
+
export { B as BaseStructuredOutputType, v as CoreAssistantMessage, t as CoreMessage, u as CoreSystemMessage, x as CoreToolMessage, w as CoreUserMessage, P as DefaultLLMStreamObjectOptions, N as DefaultLLMStreamOptions, K as DefaultLLMTextObjectOptions, J as DefaultLLMTextOptions, z as EmbedManyResult, y as EmbedResult, H as GenerateReturn, X as LLMInnerStreamOptions, Y as LLMStreamObjectOptions, U as LLMStreamOptions, R as LLMTextObjectOptions, Q as LLMTextOptions, L as LanguageModel, O as OutputType, I as StreamReturn, G as StructuredOutput, F as StructuredOutputArrayItem, D as StructuredOutputType } from '../base-VLg7uRIB.cjs';
|
|
5
5
|
import '../index-CquI0inB.cjs';
|
|
6
6
|
import '../base-BihKcqDY.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 { B as BaseStructuredOutputType, v as CoreAssistantMessage, t as CoreMessage, u as CoreSystemMessage, x as CoreToolMessage, w as CoreUserMessage, P as DefaultLLMStreamObjectOptions, N as DefaultLLMStreamOptions, K as DefaultLLMTextObjectOptions, J as DefaultLLMTextOptions, z as EmbedManyResult, y as EmbedResult, H as GenerateReturn, X as LLMInnerStreamOptions, Y as LLMStreamObjectOptions, U as LLMStreamOptions, R as LLMTextObjectOptions, Q as LLMTextOptions, L as LanguageModel, O as OutputType, I as StreamReturn, G as StructuredOutput, F as StructuredOutputArrayItem, D as StructuredOutputType } from '../base-
|
|
4
|
+
export { B as BaseStructuredOutputType, v as CoreAssistantMessage, t as CoreMessage, u as CoreSystemMessage, x as CoreToolMessage, w as CoreUserMessage, P as DefaultLLMStreamObjectOptions, N as DefaultLLMStreamOptions, K as DefaultLLMTextObjectOptions, J as DefaultLLMTextOptions, z as EmbedManyResult, y as EmbedResult, H as GenerateReturn, X as LLMInnerStreamOptions, Y as LLMStreamObjectOptions, U as LLMStreamOptions, R as LLMTextObjectOptions, Q as LLMTextOptions, L as LanguageModel, O as OutputType, I as StreamReturn, G as StructuredOutput, F as StructuredOutputArrayItem, D as StructuredOutputType } from '../base-BZEw2nXJ.js';
|
|
5
5
|
import '../index-CquI0inB.js';
|
|
6
6
|
import '../base-DT2poiVK.js';
|
|
7
7
|
import '@opentelemetry/api';
|
package/dist/mastra/index.d.cts
CHANGED
package/dist/mastra/index.d.ts
CHANGED
package/dist/memory/index.cjs
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkOSY64FYD_cjs = require('../chunk-OSY64FYD.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "MastraMemory", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkOSY64FYD_cjs.MastraMemory; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "MemoryProcessor", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkOSY64FYD_cjs.MemoryProcessor; }
|
|
14
14
|
});
|
package/dist/memory/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { l as MastraMemory, $ as MemoryConfig, a2 as MemoryProcessor, a1 as MemoryProcessorOpts, _ as MessageResponse, g as MessageType, a0 as SharedMemoryConfig, f as StorageThreadType } from '../base-
|
|
1
|
+
export { l as MastraMemory, $ as MemoryConfig, a2 as MemoryProcessor, a1 as MemoryProcessorOpts, _ as MessageResponse, g as MessageType, a0 as SharedMemoryConfig, f as StorageThreadType } from '../base-VLg7uRIB.cjs';
|
|
2
2
|
export { Message as AiMessageType } from 'ai';
|
|
3
3
|
import '../base-BihKcqDY.cjs';
|
|
4
4
|
import '@opentelemetry/api';
|
package/dist/memory/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { l as MastraMemory, $ as MemoryConfig, a2 as MemoryProcessor, a1 as MemoryProcessorOpts, _ as MessageResponse, g as MessageType, a0 as SharedMemoryConfig, f as StorageThreadType } from '../base-
|
|
1
|
+
export { l as MastraMemory, $ as MemoryConfig, a2 as MemoryProcessor, a1 as MemoryProcessorOpts, _ as MessageResponse, g as MessageType, a0 as SharedMemoryConfig, f as StorageThreadType } from '../base-BZEw2nXJ.js';
|
|
2
2
|
export { Message as AiMessageType } from 'ai';
|
|
3
3
|
import '../base-DT2poiVK.js';
|
|
4
4
|
import '@opentelemetry/api';
|
package/dist/memory/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { MastraMemory, MemoryProcessor } from '../chunk-
|
|
1
|
+
export { MastraMemory, MemoryProcessor } from '../chunk-Z7SWEXRF.js';
|
package/dist/network/index.d.cts
CHANGED
package/dist/network/index.d.ts
CHANGED
package/dist/server/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Handler, MiddlewareHandler } from 'hono';
|
|
2
2
|
import { DescribeRouteOptions } from 'hono-openapi';
|
|
3
|
-
import { M as Methods, a as Mastra, A as ApiRoute } from '../base-
|
|
3
|
+
import { M as Methods, a as Mastra, A as ApiRoute } from '../base-VLg7uRIB.cjs';
|
|
4
4
|
import 'ai';
|
|
5
5
|
import '../base-BihKcqDY.cjs';
|
|
6
6
|
import '@opentelemetry/api';
|
package/dist/server/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Handler, MiddlewareHandler } from 'hono';
|
|
2
2
|
import { DescribeRouteOptions } from 'hono-openapi';
|
|
3
|
-
import { M as Methods, a as Mastra, A as ApiRoute } from '../base-
|
|
3
|
+
import { M as Methods, a as Mastra, A as ApiRoute } from '../base-BZEw2nXJ.js';
|
|
4
4
|
import 'ai';
|
|
5
5
|
import '../base-DT2poiVK.js';
|
|
6
6
|
import '@opentelemetry/api';
|
package/dist/storage/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { E as EvalRow, e as MastraStorage, S as StorageColumn, h as StorageGetMessagesArg, aP as TABLE_EVALS, aQ as TABLE_MESSAGES, T as TABLE_NAMES, aT as TABLE_SCHEMAS, aR as TABLE_THREADS, aS as TABLE_TRACES, aO as TABLE_WORKFLOW_SNAPSHOT, r as WorkflowRow, s as WorkflowRuns } from '../base-
|
|
1
|
+
export { E as EvalRow, e as MastraStorage, S as StorageColumn, h as StorageGetMessagesArg, aP as TABLE_EVALS, aQ as TABLE_MESSAGES, T as TABLE_NAMES, aT as TABLE_SCHEMAS, aR as TABLE_THREADS, aS as TABLE_TRACES, aO as TABLE_WORKFLOW_SNAPSHOT, r as WorkflowRow, s as WorkflowRuns } from '../base-VLg7uRIB.cjs';
|
|
2
2
|
import 'ai';
|
|
3
3
|
import '../base-BihKcqDY.cjs';
|
|
4
4
|
import '@opentelemetry/api';
|
package/dist/storage/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { E as EvalRow, e as MastraStorage, S as StorageColumn, h as StorageGetMessagesArg, aP as TABLE_EVALS, aQ as TABLE_MESSAGES, T as TABLE_NAMES, aT as TABLE_SCHEMAS, aR as TABLE_THREADS, aS as TABLE_TRACES, aO as TABLE_WORKFLOW_SNAPSHOT, r as WorkflowRow, s as WorkflowRuns } from '../base-
|
|
1
|
+
export { E as EvalRow, e as MastraStorage, S as StorageColumn, h as StorageGetMessagesArg, aP as TABLE_EVALS, aQ as TABLE_MESSAGES, T as TABLE_NAMES, aT as TABLE_SCHEMAS, aR as TABLE_THREADS, aS as TABLE_TRACES, aO as TABLE_WORKFLOW_SNAPSHOT, r as WorkflowRow, s as WorkflowRuns } from '../base-BZEw2nXJ.js';
|
|
2
2
|
import 'ai';
|
|
3
3
|
import '../base-DT2poiVK.js';
|
|
4
4
|
import '@opentelemetry/api';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { e as MastraStorage, T as TABLE_NAMES, S as StorageColumn, f as StorageThreadType, g as MessageType, h as StorageGetMessagesArg, E as EvalRow, W as WorkflowRunState } from '../../base-
|
|
1
|
+
import { e as MastraStorage, T as TABLE_NAMES, S as StorageColumn, f as StorageThreadType, g as MessageType, h as StorageGetMessagesArg, E as EvalRow, W as WorkflowRunState } from '../../base-VLg7uRIB.cjs';
|
|
2
2
|
import '../../base-BihKcqDY.cjs';
|
|
3
3
|
import 'ai';
|
|
4
4
|
import '../../types-BtMyV38I.cjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { e as MastraStorage, T as TABLE_NAMES, S as StorageColumn, f as StorageThreadType, g as MessageType, h as StorageGetMessagesArg, E as EvalRow, W as WorkflowRunState } from '../../base-
|
|
1
|
+
import { e as MastraStorage, T as TABLE_NAMES, S as StorageColumn, f as StorageThreadType, g as MessageType, h as StorageGetMessagesArg, E as EvalRow, W as WorkflowRunState } from '../../base-BZEw2nXJ.js';
|
|
2
2
|
import '../../base-DT2poiVK.js';
|
|
3
3
|
import 'ai';
|
|
4
4
|
import '../../types-BtMyV38I.js';
|
|
@@ -3,7 +3,7 @@ import { SpanKind } from '@opentelemetry/api';
|
|
|
3
3
|
import { ExportResult } from '@opentelemetry/core';
|
|
4
4
|
import { SpanExporter, ReadableSpan } from '@opentelemetry/sdk-trace-base';
|
|
5
5
|
import { L as Logger } from '../index-CquI0inB.cjs';
|
|
6
|
-
import { e as MastraStorage } from '../base-
|
|
6
|
+
import { e as MastraStorage } from '../base-VLg7uRIB.cjs';
|
|
7
7
|
import 'stream';
|
|
8
8
|
import 'pino';
|
|
9
9
|
import 'ai';
|
|
@@ -3,7 +3,7 @@ import { SpanKind } from '@opentelemetry/api';
|
|
|
3
3
|
import { ExportResult } from '@opentelemetry/core';
|
|
4
4
|
import { SpanExporter, ReadableSpan } from '@opentelemetry/sdk-trace-base';
|
|
5
5
|
import { L as Logger } from '../index-CquI0inB.js';
|
|
6
|
-
import { e as MastraStorage } from '../base-
|
|
6
|
+
import { e as MastraStorage } from '../base-BZEw2nXJ.js';
|
|
7
7
|
import 'stream';
|
|
8
8
|
import 'pino';
|
|
9
9
|
import 'ai';
|
package/dist/tools/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { a5 as CoreTool, n as Tool, i as ToolAction, m as ToolExecutionContext, a4 as VercelTool, a3 as createTool } from '../base-
|
|
1
|
+
export { a5 as CoreTool, n as Tool, i as ToolAction, m as ToolExecutionContext, a4 as VercelTool, a3 as createTool } from '../base-VLg7uRIB.cjs';
|
|
2
2
|
export { isVercelTool } from '../utils.cjs';
|
|
3
3
|
import 'ai';
|
|
4
4
|
import '../base-BihKcqDY.cjs';
|
package/dist/tools/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { a5 as CoreTool, n as Tool, i as ToolAction, m as ToolExecutionContext, a4 as VercelTool, a3 as createTool } from '../base-
|
|
1
|
+
export { a5 as CoreTool, n as Tool, i as ToolAction, m as ToolExecutionContext, a4 as VercelTool, a3 as createTool } from '../base-BZEw2nXJ.js';
|
|
2
2
|
export { isVercelTool } from '../utils.js';
|
|
3
3
|
import 'ai';
|
|
4
4
|
import '../base-DT2poiVK.js';
|
package/dist/utils.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a4 as VercelTool, i as ToolAction, aH as ToolsInput, a as Mastra, aI as MastraPrimitives, l as MastraMemory, a5 as CoreTool, j as Agent, p as Workflow, o as Step, a6 as StepExecutionContext, am as WorkflowContext, aJ as AgentNetwork } from './base-
|
|
1
|
+
import { a4 as VercelTool, i as ToolAction, aH as ToolsInput, a as Mastra, aI as MastraPrimitives, l as MastraMemory, a5 as CoreTool, j as Agent, p as Workflow, o as Step, a6 as StepExecutionContext, am as WorkflowContext, aJ as AgentNetwork } from './base-VLg7uRIB.cjs';
|
|
2
2
|
import { 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 { a4 as VercelTool, i as ToolAction, aH as ToolsInput, a as Mastra, aI as MastraPrimitives, l as MastraMemory, a5 as CoreTool, j as Agent, p as Workflow, o as Step, a6 as StepExecutionContext, am as WorkflowContext, aJ as AgentNetwork } from './base-
|
|
1
|
+
import { a4 as VercelTool, i as ToolAction, aH as ToolsInput, a as Mastra, aI as MastraPrimitives, l as MastraMemory, a5 as CoreTool, j as Agent, p as Workflow, o as Step, a6 as StepExecutionContext, am as WorkflowContext, aJ as AgentNetwork } from './base-BZEw2nXJ.js';
|
|
2
2
|
import { 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,5 +1,5 @@
|
|
|
1
|
-
import { b as MastraVoice } from '../base-
|
|
2
|
-
export { C as CompositeVoice, d as VoiceConfig, c as VoiceEventMap, V as VoiceEventType } from '../base-
|
|
1
|
+
import { b as MastraVoice } from '../base-VLg7uRIB.cjs';
|
|
2
|
+
export { C as CompositeVoice, d as VoiceConfig, c as VoiceEventMap, V as VoiceEventType } from '../base-VLg7uRIB.cjs';
|
|
3
3
|
import '../base-BihKcqDY.cjs';
|
|
4
4
|
import 'ai';
|
|
5
5
|
import '../types-BtMyV38I.cjs';
|
package/dist/voice/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b as MastraVoice } from '../base-
|
|
2
|
-
export { C as CompositeVoice, d as VoiceConfig, c as VoiceEventMap, V as VoiceEventType } from '../base-
|
|
1
|
+
import { b as MastraVoice } from '../base-BZEw2nXJ.js';
|
|
2
|
+
export { C as CompositeVoice, d as VoiceConfig, c as VoiceEventMap, V as VoiceEventType } from '../base-BZEw2nXJ.js';
|
|
3
3
|
import '../base-DT2poiVK.js';
|
|
4
4
|
import 'ai';
|
|
5
5
|
import '../types-BtMyV38I.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ac as VariableReference, aj as StepResult, o as Step, p as Workflow, j as Agent, am as WorkflowContext, aH as ToolsInput, a as Mastra, a7 as StepAction, al as WorkflowRunResult } from '../base-
|
|
2
|
-
export { ae as ActionContext, ad as BaseCondition, as as DependencyCheckOutput, az as ExtractSchemaFromStep, aC as ExtractSchemaType, aA as ExtractStepResult, aD as PathsToStringProps, ap as ResolverFunctionInput, aq as ResolverFunctionOutput, ab as RetryConfig, ah as StepCondition, ai as StepConfig, ag as StepDef, a6 as StepExecutionContext, aa as StepGraph, ay as StepId, aB as StepInputType, a9 as StepNode, at as StepResolverOutput, a8 as StepVariableType, ak as StepsRecord, ar as SubscriberFunctionOutput, af as WhenConditionReturnValue, av as WorkflowActionParams, aw as WorkflowActions, au as WorkflowActors, ao as WorkflowEvent, an as WorkflowLogMessage, q as WorkflowOptions, aE as WorkflowResumeResult, W as WorkflowRunState, ax as WorkflowState, aF as createStep } from '../base-
|
|
1
|
+
import { ac as VariableReference, aj as StepResult, o as Step, p as Workflow, j as Agent, am as WorkflowContext, aH as ToolsInput, a as Mastra, a7 as StepAction, al as WorkflowRunResult } from '../base-VLg7uRIB.cjs';
|
|
2
|
+
export { ae as ActionContext, ad as BaseCondition, as as DependencyCheckOutput, az as ExtractSchemaFromStep, aC as ExtractSchemaType, aA as ExtractStepResult, aD as PathsToStringProps, ap as ResolverFunctionInput, aq as ResolverFunctionOutput, ab as RetryConfig, ah as StepCondition, ai as StepConfig, ag as StepDef, a6 as StepExecutionContext, aa as StepGraph, ay as StepId, aB as StepInputType, a9 as StepNode, at as StepResolverOutput, a8 as StepVariableType, ak as StepsRecord, ar as SubscriberFunctionOutput, af as WhenConditionReturnValue, av as WorkflowActionParams, aw as WorkflowActions, au as WorkflowActors, ao as WorkflowEvent, an as WorkflowLogMessage, q as WorkflowOptions, aE as WorkflowResumeResult, W as WorkflowRunState, ax as WorkflowState, aF as createStep } from '../base-VLg7uRIB.cjs';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import { a as Metric } from '../types-BtMyV38I.cjs';
|
|
5
5
|
import { L as Logger } from '../index-CquI0inB.cjs';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ac as VariableReference, aj as StepResult, o as Step, p as Workflow, j as Agent, am as WorkflowContext, aH as ToolsInput, a as Mastra, a7 as StepAction, al as WorkflowRunResult } from '../base-
|
|
2
|
-
export { ae as ActionContext, ad as BaseCondition, as as DependencyCheckOutput, az as ExtractSchemaFromStep, aC as ExtractSchemaType, aA as ExtractStepResult, aD as PathsToStringProps, ap as ResolverFunctionInput, aq as ResolverFunctionOutput, ab as RetryConfig, ah as StepCondition, ai as StepConfig, ag as StepDef, a6 as StepExecutionContext, aa as StepGraph, ay as StepId, aB as StepInputType, a9 as StepNode, at as StepResolverOutput, a8 as StepVariableType, ak as StepsRecord, ar as SubscriberFunctionOutput, af as WhenConditionReturnValue, av as WorkflowActionParams, aw as WorkflowActions, au as WorkflowActors, ao as WorkflowEvent, an as WorkflowLogMessage, q as WorkflowOptions, aE as WorkflowResumeResult, W as WorkflowRunState, ax as WorkflowState, aF as createStep } from '../base-
|
|
1
|
+
import { ac as VariableReference, aj as StepResult, o as Step, p as Workflow, j as Agent, am as WorkflowContext, aH as ToolsInput, a as Mastra, a7 as StepAction, al as WorkflowRunResult } from '../base-BZEw2nXJ.js';
|
|
2
|
+
export { ae as ActionContext, ad as BaseCondition, as as DependencyCheckOutput, az as ExtractSchemaFromStep, aC as ExtractSchemaType, aA as ExtractStepResult, aD as PathsToStringProps, ap as ResolverFunctionInput, aq as ResolverFunctionOutput, ab as RetryConfig, ah as StepCondition, ai as StepConfig, ag as StepDef, a6 as StepExecutionContext, aa as StepGraph, ay as StepId, aB as StepInputType, a9 as StepNode, at as StepResolverOutput, a8 as StepVariableType, ak as StepsRecord, ar as SubscriberFunctionOutput, af as WhenConditionReturnValue, av as WorkflowActionParams, aw as WorkflowActions, au as WorkflowActors, ao as WorkflowEvent, an as WorkflowLogMessage, q as WorkflowOptions, aE as WorkflowResumeResult, W as WorkflowRunState, ax as WorkflowState, aF as createStep } from '../base-BZEw2nXJ.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import { a as Metric } from '../types-BtMyV38I.js';
|
|
5
5
|
import { L as Logger } from '../index-CquI0inB.js';
|