@mastra/core 0.10.2 → 0.10.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (65) hide show
  1. package/dist/agent/index.cjs +4 -4
  2. package/dist/agent/index.d.cts +1 -1
  3. package/dist/agent/index.d.ts +1 -1
  4. package/dist/agent/index.js +2 -2
  5. package/dist/{base-BEjkhvZ_.d.ts → base-Bdo-CPMn.d.ts} +2 -1
  6. package/dist/{base-BJBoI-g2.d.cts → base-Dmg7H-Iz.d.cts} +2 -1
  7. package/dist/{chunk-B2RDYK2X.js → chunk-4TEWSQS5.js} +1 -1
  8. package/dist/{chunk-7AWGDSGR.js → chunk-5EB62G6T.js} +1 -1
  9. package/dist/{chunk-JAVP6ACT.js → chunk-677GIYFF.js} +3 -0
  10. package/dist/{chunk-JBTXWDNO.js → chunk-B4TMM6NT.js} +3 -3
  11. package/dist/{chunk-5G3XWKIU.cjs → chunk-ERUGEZPR.cjs} +2 -2
  12. package/dist/{chunk-KUJQVCEL.cjs → chunk-FHLDRRKJ.cjs} +3 -0
  13. package/dist/{chunk-SKYO5NFQ.cjs → chunk-IBIGJYTD.cjs} +2 -2
  14. package/dist/{chunk-WE5ABCZN.js → chunk-K7BZ4VXX.js} +1 -1
  15. package/dist/{chunk-S4TS74VT.cjs → chunk-LMTSGD2E.cjs} +2 -2
  16. package/dist/{chunk-TO5645ZP.cjs → chunk-MVXVUMLA.cjs} +6 -6
  17. package/dist/eval/index.d.cts +1 -1
  18. package/dist/eval/index.d.ts +1 -1
  19. package/dist/index.cjs +25 -25
  20. package/dist/index.d.cts +2 -2
  21. package/dist/index.d.ts +2 -2
  22. package/dist/index.js +6 -6
  23. package/dist/integration/index.d.cts +1 -1
  24. package/dist/integration/index.d.ts +1 -1
  25. package/dist/llm/index.d.cts +1 -1
  26. package/dist/llm/index.d.ts +1 -1
  27. package/dist/mastra/index.d.cts +1 -1
  28. package/dist/mastra/index.d.ts +1 -1
  29. package/dist/mcp/index.d.cts +1 -1
  30. package/dist/mcp/index.d.ts +1 -1
  31. package/dist/memory/index.cjs +4 -4
  32. package/dist/memory/index.d.cts +1 -1
  33. package/dist/memory/index.d.ts +1 -1
  34. package/dist/memory/index.js +1 -1
  35. package/dist/network/index.cjs +2 -2
  36. package/dist/network/index.d.cts +1 -1
  37. package/dist/network/index.d.ts +1 -1
  38. package/dist/network/index.js +1 -1
  39. package/dist/relevance/index.cjs +4 -4
  40. package/dist/relevance/index.d.cts +1 -1
  41. package/dist/relevance/index.d.ts +1 -1
  42. package/dist/relevance/index.js +1 -1
  43. package/dist/server/index.d.cts +2 -2
  44. package/dist/server/index.d.ts +2 -2
  45. package/dist/storage/index.cjs +2 -2
  46. package/dist/storage/index.d.cts +2 -2
  47. package/dist/storage/index.d.ts +2 -2
  48. package/dist/storage/index.js +1 -1
  49. package/dist/telemetry/index.d.cts +1 -1
  50. package/dist/telemetry/index.d.ts +1 -1
  51. package/dist/tools/index.d.cts +2 -2
  52. package/dist/tools/index.d.ts +2 -2
  53. package/dist/utils.d.cts +1 -1
  54. package/dist/utils.d.ts +1 -1
  55. package/dist/voice/index.d.cts +1 -1
  56. package/dist/voice/index.d.ts +1 -1
  57. package/dist/workflows/index.cjs +9 -9
  58. package/dist/workflows/index.d.cts +2 -2
  59. package/dist/workflows/index.d.ts +2 -2
  60. package/dist/workflows/index.js +1 -1
  61. package/dist/workflows/legacy/index.cjs +22 -22
  62. package/dist/workflows/legacy/index.d.cts +2 -2
  63. package/dist/workflows/legacy/index.d.ts +2 -2
  64. package/dist/workflows/legacy/index.js +1 -1
  65. package/package.json +2 -2
@@ -1,15 +1,15 @@
1
1
  'use strict';
2
2
 
3
- var chunkTO5645ZP_cjs = require('../chunk-TO5645ZP.cjs');
4
- var chunkKUJQVCEL_cjs = require('../chunk-KUJQVCEL.cjs');
3
+ var chunkMVXVUMLA_cjs = require('../chunk-MVXVUMLA.cjs');
4
+ var chunkFHLDRRKJ_cjs = require('../chunk-FHLDRRKJ.cjs');
5
5
 
6
6
 
7
7
 
8
8
  Object.defineProperty(exports, "Agent", {
9
9
  enumerable: true,
10
- get: function () { return chunkTO5645ZP_cjs.Agent; }
10
+ get: function () { return chunkMVXVUMLA_cjs.Agent; }
11
11
  });
12
12
  Object.defineProperty(exports, "MessageList", {
13
13
  enumerable: true,
14
- get: function () { return chunkKUJQVCEL_cjs.MessageList; }
14
+ get: function () { return chunkFHLDRRKJ_cjs.MessageList; }
15
15
  });
@@ -1,7 +1,7 @@
1
1
  export { Message as AiMessageType } from 'ai';
2
2
  import 'json-schema';
3
3
  import 'zod';
4
- export { A as Agent, ap as AgentConfig, bQ as AgentGenerateOptions, bR as AgentStreamOptions, bP as DynamicArgument, bn as MastraLanguageModel, bS as MastraMessageContentV2, s as MastraMessageV2, bN as MessageList, T as ToolsInput, bO as ToolsetsInput } from '../base-BJBoI-g2.cjs';
4
+ export { A as Agent, ap as AgentConfig, bQ as AgentGenerateOptions, bR as AgentStreamOptions, bP as DynamicArgument, bn as MastraLanguageModel, bS as MastraMessageContentV2, s as MastraMessageV2, bN as MessageList, T as ToolsInput, bO as ToolsetsInput } from '../base-Dmg7H-Iz.cjs';
5
5
  import '../base-BY9WFI65.cjs';
6
6
  import '../types-Bo1uigWx.cjs';
7
7
  import '../runtime-context/index.cjs';
@@ -1,7 +1,7 @@
1
1
  export { Message as AiMessageType } from 'ai';
2
2
  import 'json-schema';
3
3
  import 'zod';
4
- export { A as Agent, ap as AgentConfig, bQ as AgentGenerateOptions, bR as AgentStreamOptions, bP as DynamicArgument, bn as MastraLanguageModel, bS as MastraMessageContentV2, s as MastraMessageV2, bN as MessageList, T as ToolsInput, bO as ToolsetsInput } from '../base-BEjkhvZ_.js';
4
+ export { A as Agent, ap as AgentConfig, bQ as AgentGenerateOptions, bR as AgentStreamOptions, bP as DynamicArgument, bn as MastraLanguageModel, bS as MastraMessageContentV2, s as MastraMessageV2, bN as MessageList, T as ToolsInput, bO as ToolsetsInput } from '../base-Bdo-CPMn.js';
5
5
  import '../base-C0yUw8BC.js';
6
6
  import '../types-Bo1uigWx.js';
7
7
  import '../runtime-context/index.js';
@@ -1,2 +1,2 @@
1
- export { Agent } from '../chunk-JBTXWDNO.js';
2
- export { MessageList } from '../chunk-JAVP6ACT.js';
1
+ export { Agent } from '../chunk-B4TMM6NT.js';
2
+ export { MessageList } from '../chunk-677GIYFF.js';
@@ -1680,7 +1680,7 @@ type MastraMessageV2 = {
1680
1680
  type?: string;
1681
1681
  };
1682
1682
  type MessageInput = UIMessage | Message | MastraMessageV1 | CoreMessage$1 | MastraMessageV2;
1683
- type MessageSource = 'memory' | 'response' | 'user' | 'system';
1683
+ type MessageSource = 'memory' | 'response' | 'user' | 'system' | 'context';
1684
1684
  declare class MessageList {
1685
1685
  private messages;
1686
1686
  private systemMessages;
@@ -1689,6 +1689,7 @@ declare class MessageList {
1689
1689
  private memoryMessages;
1690
1690
  private newUserMessages;
1691
1691
  private newResponseMessages;
1692
+ private userContextMessages;
1692
1693
  private generateMessageId?;
1693
1694
  constructor({ threadId, resourceId, generateMessageId, }?: {
1694
1695
  threadId?: string;
@@ -1680,7 +1680,7 @@ type MastraMessageV2 = {
1680
1680
  type?: string;
1681
1681
  };
1682
1682
  type MessageInput = UIMessage | Message | MastraMessageV1 | CoreMessage$1 | MastraMessageV2;
1683
- type MessageSource = 'memory' | 'response' | 'user' | 'system';
1683
+ type MessageSource = 'memory' | 'response' | 'user' | 'system' | 'context';
1684
1684
  declare class MessageList {
1685
1685
  private messages;
1686
1686
  private systemMessages;
@@ -1689,6 +1689,7 @@ declare class MessageList {
1689
1689
  private memoryMessages;
1690
1690
  private newUserMessages;
1691
1691
  private newResponseMessages;
1692
+ private userContextMessages;
1692
1693
  private generateMessageId?;
1693
1694
  constructor({ threadId, resourceId, generateMessageId, }?: {
1694
1695
  threadId?: string;
@@ -1,4 +1,4 @@
1
- import { Agent } from './chunk-JBTXWDNO.js';
1
+ import { Agent } from './chunk-B4TMM6NT.js';
2
2
  import { CohereClient } from 'cohere-ai';
3
3
 
4
4
  var CohereRelevanceScorer = class {
@@ -1,5 +1,5 @@
1
1
  import { augmentWithInit } from './chunk-YOQP5T77.js';
2
- import { MessageList } from './chunk-JAVP6ACT.js';
2
+ import { MessageList } from './chunk-677GIYFF.js';
3
3
  import { deepMerge } from './chunk-Y5BGCPNZ.js';
4
4
  import { MastraBase } from './chunk-JOCKZ2US.js';
5
5
 
@@ -354,6 +354,7 @@ var MessageList = class _MessageList {
354
354
  memoryMessages = /* @__PURE__ */ new Set();
355
355
  newUserMessages = /* @__PURE__ */ new Set();
356
356
  newResponseMessages = /* @__PURE__ */ new Set();
357
+ userContextMessages = /* @__PURE__ */ new Set();
357
358
  generateMessageId;
358
359
  constructor({
359
360
  threadId,
@@ -643,6 +644,8 @@ ${JSON.stringify(message, null, 2)}`
643
644
  this.newResponseMessages.add(messageV2);
644
645
  } else if (messageSource === `user`) {
645
646
  this.newUserMessages.add(messageV2);
647
+ } else if (messageSource === `context`) {
648
+ this.userContextMessages.add(messageV2);
646
649
  } else {
647
650
  throw new Error(`Missing message source for message ${messageV2}`);
648
651
  }
@@ -1,7 +1,7 @@
1
1
  import { DefaultVoice } from './chunk-FLPSXJWQ.js';
2
- import { MessageList } from './chunk-JAVP6ACT.js';
3
2
  import { executeHook } from './chunk-BB4KXGBU.js';
4
3
  import { MastraLLM } from './chunk-FGBS7VRU.js';
4
+ import { MessageList } from './chunk-677GIYFF.js';
5
5
  import { InstrumentClass } from './chunk-EWDGXKOQ.js';
6
6
  import { ensureToolProperties, makeCoreTool, createMastraProxy } from './chunk-Y5BGCPNZ.js';
7
7
  import { MastraBase } from './chunk-JOCKZ2US.js';
@@ -763,7 +763,7 @@ var Agent = class extends (_a = MastraBase) {
763
763
  }).addSystem({
764
764
  role: "system",
765
765
  content: instructions || `${this.instructions}.`
766
- }).add(context || [], "user");
766
+ }).add(context || [], "context");
767
767
  if (!memory || !threadId && !resourceId) {
768
768
  messageList.add(messages, "user");
769
769
  return {
@@ -821,7 +821,7 @@ var Agent = class extends (_a = MastraBase) {
821
821
  const processedList = new MessageList({
822
822
  threadId,
823
823
  resourceId
824
- }).addSystem(instructions || `${this.instructions}.`).addSystem(memorySystemMessage).add(context || [], "user").add(processedMemoryMessages, "memory").add(messageList.get.input.v2(), "user").get.all.prompt();
824
+ }).addSystem(instructions || `${this.instructions}.`).addSystem(memorySystemMessage).add(context || [], "context").add(processedMemoryMessages, "memory").add(messageList.get.input.v2(), "user").get.all.prompt();
825
825
  return {
826
826
  convertedTools,
827
827
  threadId,
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkTO5645ZP_cjs = require('./chunk-TO5645ZP.cjs');
3
+ var chunkMVXVUMLA_cjs = require('./chunk-MVXVUMLA.cjs');
4
4
  var cohereAi = require('cohere-ai');
5
5
 
6
6
  var CohereRelevanceScorer = class {
@@ -38,7 +38,7 @@ Relevance score (0-1):`;
38
38
  var MastraAgentRelevanceScorer = class {
39
39
  agent;
40
40
  constructor(name, model) {
41
- this.agent = new chunkTO5645ZP_cjs.Agent({
41
+ this.agent = new chunkMVXVUMLA_cjs.Agent({
42
42
  name: `Relevance Scorer ${name}`,
43
43
  instructions: `You are a specialized agent for evaluating the relevance of text to queries.
44
44
  Your task is to rate how well a text passage answers a given query.
@@ -356,6 +356,7 @@ var MessageList = class _MessageList {
356
356
  memoryMessages = /* @__PURE__ */ new Set();
357
357
  newUserMessages = /* @__PURE__ */ new Set();
358
358
  newResponseMessages = /* @__PURE__ */ new Set();
359
+ userContextMessages = /* @__PURE__ */ new Set();
359
360
  generateMessageId;
360
361
  constructor({
361
362
  threadId,
@@ -645,6 +646,8 @@ ${JSON.stringify(message, null, 2)}`
645
646
  this.newResponseMessages.add(messageV2);
646
647
  } else if (messageSource === `user`) {
647
648
  this.newUserMessages.add(messageV2);
649
+ } else if (messageSource === `context`) {
650
+ this.userContextMessages.add(messageV2);
648
651
  } else {
649
652
  throw new Error(`Missing message source for message ${messageV2}`);
650
653
  }
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var chunkBB6DPGIV_cjs = require('./chunk-BB6DPGIV.cjs');
4
- var chunkTO5645ZP_cjs = require('./chunk-TO5645ZP.cjs');
4
+ var chunkMVXVUMLA_cjs = require('./chunk-MVXVUMLA.cjs');
5
5
  var chunk4Z3OU5RY_cjs = require('./chunk-4Z3OU5RY.cjs');
6
6
  var chunkVHZPWE5L_cjs = require('./chunk-VHZPWE5L.cjs');
7
7
  var chunkRFAN7FAT_cjs = require('./chunk-RFAN7FAT.cjs');
@@ -720,7 +720,7 @@ var DefaultExecutionEngine = class extends ExecutionEngine {
720
720
 
721
721
  // src/workflows/workflow.ts
722
722
  function createStep(params) {
723
- if (params instanceof chunkTO5645ZP_cjs.Agent) {
723
+ if (params instanceof chunkMVXVUMLA_cjs.Agent) {
724
724
  return {
725
725
  id: params.name,
726
726
  // @ts-ignore
@@ -1,5 +1,5 @@
1
1
  import { EMITTER_SYMBOL } from './chunk-Y7D2JLKS.js';
2
- import { Agent } from './chunk-JBTXWDNO.js';
2
+ import { Agent } from './chunk-B4TMM6NT.js';
3
3
  import { Tool } from './chunk-C4LMN2IR.js';
4
4
  import { MastraBase } from './chunk-JOCKZ2US.js';
5
5
  import { RegisteredLogger } from './chunk-XXVGT7SJ.js';
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var chunkLXFZUKP3_cjs = require('./chunk-LXFZUKP3.cjs');
4
- var chunkKUJQVCEL_cjs = require('./chunk-KUJQVCEL.cjs');
4
+ var chunkFHLDRRKJ_cjs = require('./chunk-FHLDRRKJ.cjs');
5
5
  var chunkWWLMZIHW_cjs = require('./chunk-WWLMZIHW.cjs');
6
6
  var chunkVHZPWE5L_cjs = require('./chunk-VHZPWE5L.cjs');
7
7
 
@@ -221,7 +221,7 @@ https://mastra.ai/en/docs/memory/overview`
221
221
  toolCallIds
222
222
  };
223
223
  const savedMessages = await this.saveMessages({ messages: [message], memoryConfig: config });
224
- const list = new chunkKUJQVCEL_cjs.MessageList({ threadId, resourceId }).add(savedMessages[0], "memory");
224
+ const list = new chunkFHLDRRKJ_cjs.MessageList({ threadId, resourceId }).add(savedMessages[0], "memory");
225
225
  return list.get.all.v1()[0];
226
226
  }
227
227
  /**
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
3
  var chunk3JGO7S6X_cjs = require('./chunk-3JGO7S6X.cjs');
4
- var chunkKUJQVCEL_cjs = require('./chunk-KUJQVCEL.cjs');
5
4
  var chunkST5RMVLG_cjs = require('./chunk-ST5RMVLG.cjs');
6
5
  var chunkVBSKHNCY_cjs = require('./chunk-VBSKHNCY.cjs');
6
+ var chunkFHLDRRKJ_cjs = require('./chunk-FHLDRRKJ.cjs');
7
7
  var chunkTICDQWVJ_cjs = require('./chunk-TICDQWVJ.cjs');
8
8
  var chunkWWLMZIHW_cjs = require('./chunk-WWLMZIHW.cjs');
9
9
  var chunkVHZPWE5L_cjs = require('./chunk-VHZPWE5L.cjs');
@@ -393,7 +393,7 @@ exports.Agent = class Agent extends (_a = chunkVHZPWE5L_cjs.MastraBase) {
393
393
  memoryConfig,
394
394
  resourceId,
395
395
  runId,
396
- messageList = new chunkKUJQVCEL_cjs.MessageList({
396
+ messageList = new chunkFHLDRRKJ_cjs.MessageList({
397
397
  threadId,
398
398
  resourceId
399
399
  })
@@ -763,14 +763,14 @@ exports.Agent = class Agent extends (_a = chunkVHZPWE5L_cjs.MastraBase) {
763
763
  runId,
764
764
  runtimeContext
765
765
  });
766
- const messageList = new chunkKUJQVCEL_cjs.MessageList({
766
+ const messageList = new chunkFHLDRRKJ_cjs.MessageList({
767
767
  threadId,
768
768
  resourceId,
769
769
  generateMessageId
770
770
  }).addSystem({
771
771
  role: "system",
772
772
  content: instructions || `${this.instructions}.`
773
- }).add(context || [], "user");
773
+ }).add(context || [], "context");
774
774
  if (!memory || !threadId && !resourceId) {
775
775
  messageList.add(messages, "user");
776
776
  return {
@@ -825,10 +825,10 @@ exports.Agent = class Agent extends (_a = chunkVHZPWE5L_cjs.MastraBase) {
825
825
  systemMessage,
826
826
  memorySystemMessage: memorySystemMessage || void 0
827
827
  });
828
- const processedList = new chunkKUJQVCEL_cjs.MessageList({
828
+ const processedList = new chunkFHLDRRKJ_cjs.MessageList({
829
829
  threadId,
830
830
  resourceId
831
- }).addSystem(instructions || `${this.instructions}.`).addSystem(memorySystemMessage).add(context || [], "user").add(processedMemoryMessages, "memory").add(messageList.get.input.v2(), "user").get.all.prompt();
831
+ }).addSystem(instructions || `${this.instructions}.`).addSystem(memorySystemMessage).add(context || [], "context").add(processedMemoryMessages, "memory").add(messageList.get.input.v2(), "user").get.all.prompt();
832
832
  return {
833
833
  convertedTools,
834
834
  threadId,
@@ -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 { A as Agent } from '../base-BJBoI-g2.cjs';
3
+ import { A as Agent } from '../base-Dmg7H-Iz.cjs';
4
4
  import 'ai';
5
5
  import '../base-BY9WFI65.cjs';
6
6
  import '@opentelemetry/api';
@@ -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 { A as Agent } from '../base-BEjkhvZ_.js';
3
+ import { A as Agent } from '../base-Bdo-CPMn.js';
4
4
  import 'ai';
5
5
  import '../base-C0yUw8BC.js';
6
6
  import '@opentelemetry/api';
package/dist/index.cjs CHANGED
@@ -2,15 +2,15 @@
2
2
 
3
3
  var chunkHZ7ME4LD_cjs = require('./chunk-HZ7ME4LD.cjs');
4
4
  var chunkTAHSAZUN_cjs = require('./chunk-TAHSAZUN.cjs');
5
- var chunkSKYO5NFQ_cjs = require('./chunk-SKYO5NFQ.cjs');
6
- var chunkS4TS74VT_cjs = require('./chunk-S4TS74VT.cjs');
7
- var chunk5G3XWKIU_cjs = require('./chunk-5G3XWKIU.cjs');
5
+ var chunkIBIGJYTD_cjs = require('./chunk-IBIGJYTD.cjs');
6
+ var chunkERUGEZPR_cjs = require('./chunk-ERUGEZPR.cjs');
8
7
  var chunkX6VHQCYN_cjs = require('./chunk-X6VHQCYN.cjs');
9
8
  var chunk3C6V2FEP_cjs = require('./chunk-3C6V2FEP.cjs');
10
9
  var chunkB7SQOKEC_cjs = require('./chunk-B7SQOKEC.cjs');
11
10
  var chunkMUNFCOMB_cjs = require('./chunk-MUNFCOMB.cjs');
11
+ var chunkLMTSGD2E_cjs = require('./chunk-LMTSGD2E.cjs');
12
12
  var chunkSH2C4VTJ_cjs = require('./chunk-SH2C4VTJ.cjs');
13
- var chunkTO5645ZP_cjs = require('./chunk-TO5645ZP.cjs');
13
+ var chunkMVXVUMLA_cjs = require('./chunk-MVXVUMLA.cjs');
14
14
  var chunkST5RMVLG_cjs = require('./chunk-ST5RMVLG.cjs');
15
15
  var chunkTICDQWVJ_cjs = require('./chunk-TICDQWVJ.cjs');
16
16
  var chunkWWLMZIHW_cjs = require('./chunk-WWLMZIHW.cjs');
@@ -19,7 +19,7 @@ var chunkPKYG5CWB_cjs = require('./chunk-PKYG5CWB.cjs');
19
19
  var chunkVHZPWE5L_cjs = require('./chunk-VHZPWE5L.cjs');
20
20
 
21
21
  // src/agent/index.warning.ts
22
- var Agent2 = class extends chunkTO5645ZP_cjs.Agent {
22
+ var Agent2 = class extends chunkMVXVUMLA_cjs.Agent {
23
23
  constructor(config) {
24
24
  super(config);
25
25
  this.logger.warn('Please import "Agent from "@mastra/core/agent" instead of "@mastra/core"');
@@ -69,7 +69,7 @@ var OpenAPIToolset2 = class extends chunkB7SQOKEC_cjs.OpenAPIToolset {
69
69
  };
70
70
 
71
71
  // src/memory/index.warning.ts
72
- var MastraMemory2 = class extends chunkS4TS74VT_cjs.MastraMemory {
72
+ var MastraMemory2 = class extends chunkLMTSGD2E_cjs.MastraMemory {
73
73
  constructor(_arg) {
74
74
  super({ name: `Deprecated memory` });
75
75
  this.logger.warn('Please import "MastraMemory" from "@mastra/core/memory" instead of "@mastra/core"');
@@ -101,7 +101,7 @@ var MastraVector2 = class extends chunkTAHSAZUN_cjs.MastraVector {
101
101
  };
102
102
 
103
103
  // src/workflows/workflow.warning.ts
104
- var Workflow2 = class extends chunkSKYO5NFQ_cjs.Workflow {
104
+ var Workflow2 = class extends chunkIBIGJYTD_cjs.Workflow {
105
105
  constructor(args) {
106
106
  super(args);
107
107
  this.logger.warn('Please import "Workflow" from "@mastra/core/workflows" instead of "@mastra/core"');
@@ -110,51 +110,43 @@ var Workflow2 = class extends chunkSKYO5NFQ_cjs.Workflow {
110
110
 
111
111
  Object.defineProperty(exports, "DefaultExecutionEngine", {
112
112
  enumerable: true,
113
- get: function () { return chunkSKYO5NFQ_cjs.DefaultExecutionEngine; }
113
+ get: function () { return chunkIBIGJYTD_cjs.DefaultExecutionEngine; }
114
114
  });
115
115
  Object.defineProperty(exports, "ExecutionEngine", {
116
116
  enumerable: true,
117
- get: function () { return chunkSKYO5NFQ_cjs.ExecutionEngine; }
117
+ get: function () { return chunkIBIGJYTD_cjs.ExecutionEngine; }
118
118
  });
119
119
  Object.defineProperty(exports, "Run", {
120
120
  enumerable: true,
121
- get: function () { return chunkSKYO5NFQ_cjs.Run; }
121
+ get: function () { return chunkIBIGJYTD_cjs.Run; }
122
122
  });
123
123
  Object.defineProperty(exports, "cloneStep", {
124
124
  enumerable: true,
125
- get: function () { return chunkSKYO5NFQ_cjs.cloneStep; }
125
+ get: function () { return chunkIBIGJYTD_cjs.cloneStep; }
126
126
  });
127
127
  Object.defineProperty(exports, "cloneWorkflow", {
128
128
  enumerable: true,
129
- get: function () { return chunkSKYO5NFQ_cjs.cloneWorkflow; }
129
+ get: function () { return chunkIBIGJYTD_cjs.cloneWorkflow; }
130
130
  });
131
131
  Object.defineProperty(exports, "createStep", {
132
132
  enumerable: true,
133
- get: function () { return chunkSKYO5NFQ_cjs.createStep; }
133
+ get: function () { return chunkIBIGJYTD_cjs.createStep; }
134
134
  });
135
135
  Object.defineProperty(exports, "createWorkflow", {
136
136
  enumerable: true,
137
- get: function () { return chunkSKYO5NFQ_cjs.createWorkflow; }
138
- });
139
- Object.defineProperty(exports, "MemoryProcessor", {
140
- enumerable: true,
141
- get: function () { return chunkS4TS74VT_cjs.MemoryProcessor; }
142
- });
143
- Object.defineProperty(exports, "memoryDefaultOptions", {
144
- enumerable: true,
145
- get: function () { return chunkS4TS74VT_cjs.memoryDefaultOptions; }
137
+ get: function () { return chunkIBIGJYTD_cjs.createWorkflow; }
146
138
  });
147
139
  Object.defineProperty(exports, "CohereRelevanceScorer", {
148
140
  enumerable: true,
149
- get: function () { return chunk5G3XWKIU_cjs.CohereRelevanceScorer; }
141
+ get: function () { return chunkERUGEZPR_cjs.CohereRelevanceScorer; }
150
142
  });
151
143
  Object.defineProperty(exports, "MastraAgentRelevanceScorer", {
152
144
  enumerable: true,
153
- get: function () { return chunk5G3XWKIU_cjs.MastraAgentRelevanceScorer; }
145
+ get: function () { return chunkERUGEZPR_cjs.MastraAgentRelevanceScorer; }
154
146
  });
155
147
  Object.defineProperty(exports, "createSimilarityPrompt", {
156
148
  enumerable: true,
157
- get: function () { return chunk5G3XWKIU_cjs.createSimilarityPrompt; }
149
+ get: function () { return chunkERUGEZPR_cjs.createSimilarityPrompt; }
158
150
  });
159
151
  Object.defineProperty(exports, "Metric", {
160
152
  enumerable: true,
@@ -168,6 +160,14 @@ Object.defineProperty(exports, "createMockModel", {
168
160
  enumerable: true,
169
161
  get: function () { return chunkMUNFCOMB_cjs.createMockModel; }
170
162
  });
163
+ Object.defineProperty(exports, "MemoryProcessor", {
164
+ enumerable: true,
165
+ get: function () { return chunkLMTSGD2E_cjs.MemoryProcessor; }
166
+ });
167
+ Object.defineProperty(exports, "memoryDefaultOptions", {
168
+ enumerable: true,
169
+ get: function () { return chunkLMTSGD2E_cjs.memoryDefaultOptions; }
170
+ });
171
171
  Object.defineProperty(exports, "Mastra", {
172
172
  enumerable: true,
173
173
  get: function () { return chunkSH2C4VTJ_cjs.Mastra; }
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 { c as ToolAction, A as Agent$1, ap as AgentConfig, o as MastraStorage$1, b as MastraMemory$1, ao as ToolExecutionContext, al as Tool$1, f as Step, e as Workflow$1, aq as WorkflowConfig } from './base-BJBoI-g2.cjs';
4
- export { az as BaseStructuredOutputType, aQ as Config, au as CoreAssistantMessage, as as CoreMessage, at as CoreSystemMessage, C as CoreTool, aw as CoreToolMessage, av as CoreUserMessage, aJ as DefaultLLMStreamObjectOptions, aI as DefaultLLMStreamOptions, aH as DefaultLLMTextObjectOptions, aG as DefaultLLMTextOptions, be as DynamicMapping, ay as EmbedManyResult, ax as EmbedResult, E as EvalRow, b7 as ExecuteFunction, b6 as ExecutionEngine, b5 as ExecutionGraph, bh as ExtractSchemaFromStep, bg as ExtractSchemaType, aD as GenerateReturn, an as InternalCoreTool, aN as LLMInnerStreamOptions, aO as LLMStreamObjectOptions, aM as LLMStreamOptions, aL as LLMTextObjectOptions, aK as LLMTextOptions, ar as LanguageModel, y as LegacyWorkflowRun, x as LegacyWorkflowRuns, M as Mastra, u as MastraMessageV1, s as MastraMessageV2, aT as MemoryConfig, aW as MemoryProcessor, aV as MemoryProcessorOpts, aS as MessageResponse, aR as MessageType, aF as OutputType, bf as PathsToStringProps, b4 as Run, aZ as SerializedStep, a_ as SerializedStepFlowEntry, aU as SharedMemoryConfig, b9 as StepFailure, aY as StepFlowEntry, bc as StepResult, bb as StepRunning, b8 as StepSuccess, ba as StepSuspended, bd as StepsRecord, q as StorageColumn, t as StorageGetMessagesArg, r as StorageThreadType, bj as StreamEvent, aE as StreamReturn, aC as StructuredOutput, aB as StructuredOutputArrayItem, aA as StructuredOutputType, bi as VariableReference, V as VercelTool, bk as WatchEvent, b3 as WorkflowResult, w as WorkflowRun, bm as WorkflowRunState, v as WorkflowRuns, bl as ZodPathType, b0 as cloneStep, b2 as cloneWorkflow, aP as createMockModel, a$ as createStep, am as createTool, b1 as createWorkflow, aX as memoryDefaultOptions } from './base-BJBoI-g2.cjs';
3
+ import { c as ToolAction, A as Agent$1, ap as AgentConfig, o as MastraStorage$1, b as MastraMemory$1, ao as ToolExecutionContext, al as Tool$1, f as Step, e as Workflow$1, aq as WorkflowConfig } from './base-Dmg7H-Iz.cjs';
4
+ export { az as BaseStructuredOutputType, aQ as Config, au as CoreAssistantMessage, as as CoreMessage, at as CoreSystemMessage, C as CoreTool, aw as CoreToolMessage, av as CoreUserMessage, aJ as DefaultLLMStreamObjectOptions, aI as DefaultLLMStreamOptions, aH as DefaultLLMTextObjectOptions, aG as DefaultLLMTextOptions, be as DynamicMapping, ay as EmbedManyResult, ax as EmbedResult, E as EvalRow, b7 as ExecuteFunction, b6 as ExecutionEngine, b5 as ExecutionGraph, bh as ExtractSchemaFromStep, bg as ExtractSchemaType, aD as GenerateReturn, an as InternalCoreTool, aN as LLMInnerStreamOptions, aO as LLMStreamObjectOptions, aM as LLMStreamOptions, aL as LLMTextObjectOptions, aK as LLMTextOptions, ar as LanguageModel, y as LegacyWorkflowRun, x as LegacyWorkflowRuns, M as Mastra, u as MastraMessageV1, s as MastraMessageV2, aT as MemoryConfig, aW as MemoryProcessor, aV as MemoryProcessorOpts, aS as MessageResponse, aR as MessageType, aF as OutputType, bf as PathsToStringProps, b4 as Run, aZ as SerializedStep, a_ as SerializedStepFlowEntry, aU as SharedMemoryConfig, b9 as StepFailure, aY as StepFlowEntry, bc as StepResult, bb as StepRunning, b8 as StepSuccess, ba as StepSuspended, bd as StepsRecord, q as StorageColumn, t as StorageGetMessagesArg, r as StorageThreadType, bj as StreamEvent, aE as StreamReturn, aC as StructuredOutput, aB as StructuredOutputArrayItem, aA as StructuredOutputType, bi as VariableReference, V as VercelTool, bk as WatchEvent, b3 as WorkflowResult, w as WorkflowRun, bm as WorkflowRunState, v as WorkflowRuns, bl as ZodPathType, b0 as cloneStep, b2 as cloneWorkflow, aP as createMockModel, a$ as createStep, am as createTool, b1 as createWorkflow, aX as memoryDefaultOptions } from './base-Dmg7H-Iz.cjs';
5
5
  import { M as MastraBase$1 } from './base-BY9WFI65.cjs';
6
6
  export { O as OtelConfig, S as SamplingStrategy, T as Telemetry } from './base-BY9WFI65.cjs';
7
7
  import { R as RegisteredLogger } from './logger-BF2Sn7JX.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 { c as ToolAction, A as Agent$1, ap as AgentConfig, o as MastraStorage$1, b as MastraMemory$1, ao as ToolExecutionContext, al as Tool$1, f as Step, e as Workflow$1, aq as WorkflowConfig } from './base-BEjkhvZ_.js';
4
- export { az as BaseStructuredOutputType, aQ as Config, au as CoreAssistantMessage, as as CoreMessage, at as CoreSystemMessage, C as CoreTool, aw as CoreToolMessage, av as CoreUserMessage, aJ as DefaultLLMStreamObjectOptions, aI as DefaultLLMStreamOptions, aH as DefaultLLMTextObjectOptions, aG as DefaultLLMTextOptions, be as DynamicMapping, ay as EmbedManyResult, ax as EmbedResult, E as EvalRow, b7 as ExecuteFunction, b6 as ExecutionEngine, b5 as ExecutionGraph, bh as ExtractSchemaFromStep, bg as ExtractSchemaType, aD as GenerateReturn, an as InternalCoreTool, aN as LLMInnerStreamOptions, aO as LLMStreamObjectOptions, aM as LLMStreamOptions, aL as LLMTextObjectOptions, aK as LLMTextOptions, ar as LanguageModel, y as LegacyWorkflowRun, x as LegacyWorkflowRuns, M as Mastra, u as MastraMessageV1, s as MastraMessageV2, aT as MemoryConfig, aW as MemoryProcessor, aV as MemoryProcessorOpts, aS as MessageResponse, aR as MessageType, aF as OutputType, bf as PathsToStringProps, b4 as Run, aZ as SerializedStep, a_ as SerializedStepFlowEntry, aU as SharedMemoryConfig, b9 as StepFailure, aY as StepFlowEntry, bc as StepResult, bb as StepRunning, b8 as StepSuccess, ba as StepSuspended, bd as StepsRecord, q as StorageColumn, t as StorageGetMessagesArg, r as StorageThreadType, bj as StreamEvent, aE as StreamReturn, aC as StructuredOutput, aB as StructuredOutputArrayItem, aA as StructuredOutputType, bi as VariableReference, V as VercelTool, bk as WatchEvent, b3 as WorkflowResult, w as WorkflowRun, bm as WorkflowRunState, v as WorkflowRuns, bl as ZodPathType, b0 as cloneStep, b2 as cloneWorkflow, aP as createMockModel, a$ as createStep, am as createTool, b1 as createWorkflow, aX as memoryDefaultOptions } from './base-BEjkhvZ_.js';
3
+ import { c as ToolAction, A as Agent$1, ap as AgentConfig, o as MastraStorage$1, b as MastraMemory$1, ao as ToolExecutionContext, al as Tool$1, f as Step, e as Workflow$1, aq as WorkflowConfig } from './base-Bdo-CPMn.js';
4
+ export { az as BaseStructuredOutputType, aQ as Config, au as CoreAssistantMessage, as as CoreMessage, at as CoreSystemMessage, C as CoreTool, aw as CoreToolMessage, av as CoreUserMessage, aJ as DefaultLLMStreamObjectOptions, aI as DefaultLLMStreamOptions, aH as DefaultLLMTextObjectOptions, aG as DefaultLLMTextOptions, be as DynamicMapping, ay as EmbedManyResult, ax as EmbedResult, E as EvalRow, b7 as ExecuteFunction, b6 as ExecutionEngine, b5 as ExecutionGraph, bh as ExtractSchemaFromStep, bg as ExtractSchemaType, aD as GenerateReturn, an as InternalCoreTool, aN as LLMInnerStreamOptions, aO as LLMStreamObjectOptions, aM as LLMStreamOptions, aL as LLMTextObjectOptions, aK as LLMTextOptions, ar as LanguageModel, y as LegacyWorkflowRun, x as LegacyWorkflowRuns, M as Mastra, u as MastraMessageV1, s as MastraMessageV2, aT as MemoryConfig, aW as MemoryProcessor, aV as MemoryProcessorOpts, aS as MessageResponse, aR as MessageType, aF as OutputType, bf as PathsToStringProps, b4 as Run, aZ as SerializedStep, a_ as SerializedStepFlowEntry, aU as SharedMemoryConfig, b9 as StepFailure, aY as StepFlowEntry, bc as StepResult, bb as StepRunning, b8 as StepSuccess, ba as StepSuspended, bd as StepsRecord, q as StorageColumn, t as StorageGetMessagesArg, r as StorageThreadType, bj as StreamEvent, aE as StreamReturn, aC as StructuredOutput, aB as StructuredOutputArrayItem, aA as StructuredOutputType, bi as VariableReference, V as VercelTool, bk as WatchEvent, b3 as WorkflowResult, w as WorkflowRun, bm as WorkflowRunState, v as WorkflowRuns, bl as ZodPathType, b0 as cloneStep, b2 as cloneWorkflow, aP as createMockModel, a$ as createStep, am as createTool, b1 as createWorkflow, aX as memoryDefaultOptions } from './base-Bdo-CPMn.js';
5
5
  import { M as MastraBase$1 } from './base-C0yUw8BC.js';
6
6
  export { O as OtelConfig, S as SamplingStrategy, T as Telemetry } from './base-C0yUw8BC.js';
7
7
  import { R as RegisteredLogger } from './logger-BF2Sn7JX.js';
package/dist/index.js CHANGED
@@ -1,16 +1,16 @@
1
1
  import { MastraTTS } from './chunk-ZPOETARN.js';
2
2
  import { MastraVector } from './chunk-PMAVDBJY.js';
3
- import { Workflow } from './chunk-WE5ABCZN.js';
4
- export { DefaultExecutionEngine, ExecutionEngine, Run, cloneStep, cloneWorkflow, createStep, createWorkflow } from './chunk-WE5ABCZN.js';
5
- import { MastraMemory } from './chunk-7AWGDSGR.js';
6
- export { MemoryProcessor, memoryDefaultOptions } from './chunk-7AWGDSGR.js';
7
- export { CohereRelevanceScorer, MastraAgentRelevanceScorer, createSimilarityPrompt } from './chunk-B2RDYK2X.js';
3
+ import { Workflow } from './chunk-K7BZ4VXX.js';
4
+ export { DefaultExecutionEngine, ExecutionEngine, Run, cloneStep, cloneWorkflow, createStep, createWorkflow } from './chunk-K7BZ4VXX.js';
5
+ export { CohereRelevanceScorer, MastraAgentRelevanceScorer, createSimilarityPrompt } from './chunk-4TEWSQS5.js';
8
6
  import { MastraStorage } from './chunk-7MWWPVCE.js';
9
7
  export { Metric, evaluate } from './chunk-PK5QRKSG.js';
10
8
  import { Integration, OpenAPIToolset } from './chunk-4UWPFBC6.js';
11
9
  export { createMockModel } from './chunk-HNEE7IF4.js';
10
+ import { MastraMemory } from './chunk-5EB62G6T.js';
11
+ export { MemoryProcessor, memoryDefaultOptions } from './chunk-5EB62G6T.js';
12
12
  export { Mastra } from './chunk-TIPFGQCO.js';
13
- import { Agent } from './chunk-JBTXWDNO.js';
13
+ import { Agent } from './chunk-B4TMM6NT.js';
14
14
  export { AvailableHooks, executeHook, registerHook } from './chunk-BB4KXGBU.js';
15
15
  export { InstrumentClass, OTLPTraceExporter as OTLPStorageExporter, Telemetry, getBaggageValues, hasActiveTelemetry, withSpan } from './chunk-EWDGXKOQ.js';
16
16
  export { checkEvalStorageFields, createMastraProxy, deepMerge, delay, ensureToolProperties, isCoreMessage, isUiMessage, isZodType, makeCoreTool, maskStreamTags, parseFieldKey, parseSqlIdentifier, resolveSerializedZodOutput } from './chunk-Y5BGCPNZ.js';
@@ -1,5 +1,5 @@
1
1
  import '../base-BY9WFI65.cjs';
2
- import { e as Workflow, c as ToolAction } from '../base-BJBoI-g2.cjs';
2
+ import { e as Workflow, c as ToolAction } from '../base-Dmg7H-Iz.cjs';
3
3
  import '@opentelemetry/api';
4
4
  import '../logger-BF2Sn7JX.cjs';
5
5
  import 'stream';
@@ -1,5 +1,5 @@
1
1
  import '../base-C0yUw8BC.js';
2
- import { e as Workflow, c as ToolAction } from '../base-BEjkhvZ_.js';
2
+ import { e as Workflow, c as ToolAction } from '../base-Bdo-CPMn.js';
3
3
  import '@opentelemetry/api';
4
4
  import '../logger-BF2Sn7JX.js';
5
5
  import 'stream';
@@ -1,7 +1,7 @@
1
1
  import 'ai';
2
2
  import 'json-schema';
3
3
  import 'zod';
4
- export { az as BaseStructuredOutputType, au as CoreAssistantMessage, as as CoreMessage, at as CoreSystemMessage, aw as CoreToolMessage, av as CoreUserMessage, aJ as DefaultLLMStreamObjectOptions, aI as DefaultLLMStreamOptions, aH as DefaultLLMTextObjectOptions, aG as DefaultLLMTextOptions, ay as EmbedManyResult, ax as EmbedResult, aD as GenerateReturn, aN as LLMInnerStreamOptions, aO as LLMStreamObjectOptions, aM as LLMStreamOptions, aL as LLMTextObjectOptions, aK as LLMTextOptions, ar as LanguageModel, aF as OutputType, aE as StreamReturn, aC as StructuredOutput, aB as StructuredOutputArrayItem, aA as StructuredOutputType, aP as createMockModel } from '../base-BJBoI-g2.cjs';
4
+ export { az as BaseStructuredOutputType, au as CoreAssistantMessage, as as CoreMessage, at as CoreSystemMessage, aw as CoreToolMessage, av as CoreUserMessage, aJ as DefaultLLMStreamObjectOptions, aI as DefaultLLMStreamOptions, aH as DefaultLLMTextObjectOptions, aG as DefaultLLMTextOptions, ay as EmbedManyResult, ax as EmbedResult, aD as GenerateReturn, aN as LLMInnerStreamOptions, aO as LLMStreamObjectOptions, aM as LLMStreamOptions, aL as LLMTextObjectOptions, aK as LLMTextOptions, ar as LanguageModel, aF as OutputType, aE as StreamReturn, aC as StructuredOutput, aB as StructuredOutputArrayItem, aA as StructuredOutputType, aP as createMockModel } from '../base-Dmg7H-Iz.cjs';
5
5
  import '../runtime-context/index.cjs';
6
6
  import '../base-BY9WFI65.cjs';
7
7
  import '@opentelemetry/api';
@@ -1,7 +1,7 @@
1
1
  import 'ai';
2
2
  import 'json-schema';
3
3
  import 'zod';
4
- export { az as BaseStructuredOutputType, au as CoreAssistantMessage, as as CoreMessage, at as CoreSystemMessage, aw as CoreToolMessage, av as CoreUserMessage, aJ as DefaultLLMStreamObjectOptions, aI as DefaultLLMStreamOptions, aH as DefaultLLMTextObjectOptions, aG as DefaultLLMTextOptions, ay as EmbedManyResult, ax as EmbedResult, aD as GenerateReturn, aN as LLMInnerStreamOptions, aO as LLMStreamObjectOptions, aM as LLMStreamOptions, aL as LLMTextObjectOptions, aK as LLMTextOptions, ar as LanguageModel, aF as OutputType, aE as StreamReturn, aC as StructuredOutput, aB as StructuredOutputArrayItem, aA as StructuredOutputType, aP as createMockModel } from '../base-BEjkhvZ_.js';
4
+ export { az as BaseStructuredOutputType, au as CoreAssistantMessage, as as CoreMessage, at as CoreSystemMessage, aw as CoreToolMessage, av as CoreUserMessage, aJ as DefaultLLMStreamObjectOptions, aI as DefaultLLMStreamOptions, aH as DefaultLLMTextObjectOptions, aG as DefaultLLMTextOptions, ay as EmbedManyResult, ax as EmbedResult, aD as GenerateReturn, aN as LLMInnerStreamOptions, aO as LLMStreamObjectOptions, aM as LLMStreamOptions, aL as LLMTextObjectOptions, aK as LLMTextOptions, ar as LanguageModel, aF as OutputType, aE as StreamReturn, aC as StructuredOutput, aB as StructuredOutputArrayItem, aA as StructuredOutputType, aP as createMockModel } from '../base-Bdo-CPMn.js';
5
5
  import '../runtime-context/index.js';
6
6
  import '../base-C0yUw8BC.js';
7
7
  import '@opentelemetry/api';
@@ -1,4 +1,4 @@
1
- export { aQ as Config, M as Mastra } from '../base-BJBoI-g2.cjs';
1
+ export { aQ as Config, M as Mastra } from '../base-Dmg7H-Iz.cjs';
2
2
  import '../deployer/index.cjs';
3
3
  import '../logger-BF2Sn7JX.cjs';
4
4
  import '../vector/index.cjs';
@@ -1,4 +1,4 @@
1
- export { aQ as Config, M as Mastra } from '../base-BEjkhvZ_.js';
1
+ export { aQ as Config, M as Mastra } from '../base-Bdo-CPMn.js';
2
2
  import '../deployer/index.js';
3
3
  import '../logger-BF2Sn7JX.js';
4
4
  import '../vector/index.js';
@@ -1,4 +1,4 @@
1
- export { bB as ArgumentInfo, bF as CommandInfo, bv as ConvertedTool, bG as EnvironmentVariableInfo, h as MCPServerBase, bJ as MCPServerConfig, by as MCPServerHTTPOptions, bx as MCPServerHonoSSEOptions, bw as MCPServerSSEOptions, bM as MCPToolType, bD as NamedArgumentInfo, bH as PackageInfo, bC as PositionalArgumentInfo, bI as RemoteInfo, bz as Repository, bL as ServerDetailInfo, bK as ServerInfo, bE as SubcommandInfo, bA as VersionDetail } from '../base-BJBoI-g2.cjs';
1
+ export { bB as ArgumentInfo, bF as CommandInfo, bv as ConvertedTool, bG as EnvironmentVariableInfo, h as MCPServerBase, bJ as MCPServerConfig, by as MCPServerHTTPOptions, bx as MCPServerHonoSSEOptions, bw as MCPServerSSEOptions, bM as MCPToolType, bD as NamedArgumentInfo, bH as PackageInfo, bC as PositionalArgumentInfo, bI as RemoteInfo, bz as Repository, bL as ServerDetailInfo, bK as ServerInfo, bE as SubcommandInfo, bA as VersionDetail } from '../base-Dmg7H-Iz.cjs';
2
2
  import '../base-BY9WFI65.cjs';
3
3
  import 'ai';
4
4
  import 'zod';
@@ -1,4 +1,4 @@
1
- export { bB as ArgumentInfo, bF as CommandInfo, bv as ConvertedTool, bG as EnvironmentVariableInfo, h as MCPServerBase, bJ as MCPServerConfig, by as MCPServerHTTPOptions, bx as MCPServerHonoSSEOptions, bw as MCPServerSSEOptions, bM as MCPToolType, bD as NamedArgumentInfo, bH as PackageInfo, bC as PositionalArgumentInfo, bI as RemoteInfo, bz as Repository, bL as ServerDetailInfo, bK as ServerInfo, bE as SubcommandInfo, bA as VersionDetail } from '../base-BEjkhvZ_.js';
1
+ export { bB as ArgumentInfo, bF as CommandInfo, bv as ConvertedTool, bG as EnvironmentVariableInfo, h as MCPServerBase, bJ as MCPServerConfig, by as MCPServerHTTPOptions, bx as MCPServerHonoSSEOptions, bw as MCPServerSSEOptions, bM as MCPToolType, bD as NamedArgumentInfo, bH as PackageInfo, bC as PositionalArgumentInfo, bI as RemoteInfo, bz as Repository, bL as ServerDetailInfo, bK as ServerInfo, bE as SubcommandInfo, bA as VersionDetail } from '../base-Bdo-CPMn.js';
2
2
  import '../base-C0yUw8BC.js';
3
3
  import 'ai';
4
4
  import 'zod';
@@ -1,18 +1,18 @@
1
1
  'use strict';
2
2
 
3
- var chunkS4TS74VT_cjs = require('../chunk-S4TS74VT.cjs');
3
+ var chunkLMTSGD2E_cjs = require('../chunk-LMTSGD2E.cjs');
4
4
 
5
5
 
6
6
 
7
7
  Object.defineProperty(exports, "MastraMemory", {
8
8
  enumerable: true,
9
- get: function () { return chunkS4TS74VT_cjs.MastraMemory; }
9
+ get: function () { return chunkLMTSGD2E_cjs.MastraMemory; }
10
10
  });
11
11
  Object.defineProperty(exports, "MemoryProcessor", {
12
12
  enumerable: true,
13
- get: function () { return chunkS4TS74VT_cjs.MemoryProcessor; }
13
+ get: function () { return chunkLMTSGD2E_cjs.MemoryProcessor; }
14
14
  });
15
15
  Object.defineProperty(exports, "memoryDefaultOptions", {
16
16
  enumerable: true,
17
- get: function () { return chunkS4TS74VT_cjs.memoryDefaultOptions; }
17
+ get: function () { return chunkLMTSGD2E_cjs.memoryDefaultOptions; }
18
18
  });
@@ -1,4 +1,4 @@
1
- export { b as MastraMemory, u as MastraMessageV1, s as MastraMessageV2, aT as MemoryConfig, aW as MemoryProcessor, aV as MemoryProcessorOpts, aS as MessageResponse, aR as MessageType, aU as SharedMemoryConfig, r as StorageThreadType, aX as memoryDefaultOptions } from '../base-BJBoI-g2.cjs';
1
+ export { b as MastraMemory, u as MastraMessageV1, s as MastraMessageV2, aT as MemoryConfig, aW as MemoryProcessor, aV as MemoryProcessorOpts, aS as MessageResponse, aR as MessageType, aU as SharedMemoryConfig, r as StorageThreadType, aX as memoryDefaultOptions } from '../base-Dmg7H-Iz.cjs';
2
2
  export { Message as AiMessageType } from 'ai';
3
3
  import '../base-BY9WFI65.cjs';
4
4
  import '@opentelemetry/api';
@@ -1,4 +1,4 @@
1
- export { b as MastraMemory, u as MastraMessageV1, s as MastraMessageV2, aT as MemoryConfig, aW as MemoryProcessor, aV as MemoryProcessorOpts, aS as MessageResponse, aR as MessageType, aU as SharedMemoryConfig, r as StorageThreadType, aX as memoryDefaultOptions } from '../base-BEjkhvZ_.js';
1
+ export { b as MastraMemory, u as MastraMessageV1, s as MastraMessageV2, aT as MemoryConfig, aW as MemoryProcessor, aV as MemoryProcessorOpts, aS as MessageResponse, aR as MessageType, aU as SharedMemoryConfig, r as StorageThreadType, aX as memoryDefaultOptions } from '../base-Bdo-CPMn.js';
2
2
  export { Message as AiMessageType } from 'ai';
3
3
  import '../base-C0yUw8BC.js';
4
4
  import '@opentelemetry/api';
@@ -1 +1 @@
1
- export { MastraMemory, MemoryProcessor, memoryDefaultOptions } from '../chunk-7AWGDSGR.js';
1
+ export { MastraMemory, MemoryProcessor, memoryDefaultOptions } from '../chunk-5EB62G6T.js';
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkTO5645ZP_cjs = require('../chunk-TO5645ZP.cjs');
3
+ var chunkMVXVUMLA_cjs = require('../chunk-MVXVUMLA.cjs');
4
4
  var chunk4Z3OU5RY_cjs = require('../chunk-4Z3OU5RY.cjs');
5
5
  var chunkVHZPWE5L_cjs = require('../chunk-VHZPWE5L.cjs');
6
6
  var chunkRFAN7FAT_cjs = require('../chunk-RFAN7FAT.cjs');
@@ -17,7 +17,7 @@ var AgentNetwork = class extends chunkVHZPWE5L_cjs.MastraBase {
17
17
  this.#instructions = config.instructions;
18
18
  this.#agents = config.agents;
19
19
  this.#model = config.model;
20
- this.#routingAgent = new chunkTO5645ZP_cjs.Agent({
20
+ this.#routingAgent = new chunkMVXVUMLA_cjs.Agent({
21
21
  name: config.name,
22
22
  instructions: this.getInstructions(),
23
23
  model: this.#model,
@@ -1,4 +1,4 @@
1
- export { g as AgentNetwork, bu as AgentNetworkConfig } from '../base-BJBoI-g2.cjs';
1
+ export { g as AgentNetwork, bu as AgentNetworkConfig } from '../base-Dmg7H-Iz.cjs';
2
2
  import 'ai';
3
3
  import '../base-BY9WFI65.cjs';
4
4
  import '@opentelemetry/api';
@@ -1,4 +1,4 @@
1
- export { g as AgentNetwork, bu as AgentNetworkConfig } from '../base-BEjkhvZ_.js';
1
+ export { g as AgentNetwork, bu as AgentNetworkConfig } from '../base-Bdo-CPMn.js';
2
2
  import 'ai';
3
3
  import '../base-C0yUw8BC.js';
4
4
  import '@opentelemetry/api';
@@ -1,4 +1,4 @@
1
- import { Agent } from '../chunk-JBTXWDNO.js';
1
+ import { Agent } from '../chunk-B4TMM6NT.js';
2
2
  import { createTool } from '../chunk-C4LMN2IR.js';
3
3
  import { MastraBase } from '../chunk-JOCKZ2US.js';
4
4
  import { RegisteredLogger } from '../chunk-XXVGT7SJ.js';
@@ -1,18 +1,18 @@
1
1
  'use strict';
2
2
 
3
- var chunk5G3XWKIU_cjs = require('../chunk-5G3XWKIU.cjs');
3
+ var chunkERUGEZPR_cjs = require('../chunk-ERUGEZPR.cjs');
4
4
 
5
5
 
6
6
 
7
7
  Object.defineProperty(exports, "CohereRelevanceScorer", {
8
8
  enumerable: true,
9
- get: function () { return chunk5G3XWKIU_cjs.CohereRelevanceScorer; }
9
+ get: function () { return chunkERUGEZPR_cjs.CohereRelevanceScorer; }
10
10
  });
11
11
  Object.defineProperty(exports, "MastraAgentRelevanceScorer", {
12
12
  enumerable: true,
13
- get: function () { return chunk5G3XWKIU_cjs.MastraAgentRelevanceScorer; }
13
+ get: function () { return chunkERUGEZPR_cjs.MastraAgentRelevanceScorer; }
14
14
  });
15
15
  Object.defineProperty(exports, "createSimilarityPrompt", {
16
16
  enumerable: true,
17
- get: function () { return chunk5G3XWKIU_cjs.createSimilarityPrompt; }
17
+ get: function () { return chunkERUGEZPR_cjs.createSimilarityPrompt; }
18
18
  });
@@ -1,4 +1,4 @@
1
- import { bn as MastraLanguageModel } from '../base-BJBoI-g2.cjs';
1
+ import { bn as MastraLanguageModel } from '../base-Dmg7H-Iz.cjs';
2
2
  import '../base-BY9WFI65.cjs';
3
3
  import 'ai';
4
4
  import 'zod';
@@ -1,4 +1,4 @@
1
- import { bn as MastraLanguageModel } from '../base-BEjkhvZ_.js';
1
+ import { bn as MastraLanguageModel } from '../base-Bdo-CPMn.js';
2
2
  import '../base-C0yUw8BC.js';
3
3
  import 'ai';
4
4
  import 'zod';
@@ -1 +1 @@
1
- export { CohereRelevanceScorer, MastraAgentRelevanceScorer, createSimilarityPrompt } from '../chunk-B2RDYK2X.js';
1
+ export { CohereRelevanceScorer, MastraAgentRelevanceScorer, createSimilarityPrompt } from '../chunk-4TEWSQS5.js';
@@ -1,7 +1,7 @@
1
1
  import { Handler, Context, MiddlewareHandler } from 'hono';
2
2
  import { DescribeRouteOptions } from 'hono-openapi';
3
- import { i as Methods, M as Mastra, j as ApiRoute, k as MastraAuthConfig } from '../base-BJBoI-g2.cjs';
4
- export { l as ContextWithMastra, m as MastraAuthProvider, n as MastraAuthProviderOptions } from '../base-BJBoI-g2.cjs';
3
+ import { i as Methods, M as Mastra, j as ApiRoute, k as MastraAuthConfig } from '../base-Dmg7H-Iz.cjs';
4
+ export { l as ContextWithMastra, m as MastraAuthProvider, n as MastraAuthProviderOptions } from '../base-Dmg7H-Iz.cjs';
5
5
  import 'ai';
6
6
  import '../base-BY9WFI65.cjs';
7
7
  import '@opentelemetry/api';
@@ -1,7 +1,7 @@
1
1
  import { Handler, Context, MiddlewareHandler } from 'hono';
2
2
  import { DescribeRouteOptions } from 'hono-openapi';
3
- import { i as Methods, M as Mastra, j as ApiRoute, k as MastraAuthConfig } from '../base-BEjkhvZ_.js';
4
- export { l as ContextWithMastra, m as MastraAuthProvider, n as MastraAuthProviderOptions } from '../base-BEjkhvZ_.js';
3
+ import { i as Methods, M as Mastra, j as ApiRoute, k as MastraAuthConfig } from '../base-Bdo-CPMn.js';
4
+ export { l as ContextWithMastra, m as MastraAuthProvider, n as MastraAuthProviderOptions } from '../base-Bdo-CPMn.js';
5
5
  import 'ai';
6
6
  import '../base-C0yUw8BC.js';
7
7
  import '@opentelemetry/api';
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var chunkX6VHQCYN_cjs = require('../chunk-X6VHQCYN.cjs');
4
- var chunkKUJQVCEL_cjs = require('../chunk-KUJQVCEL.cjs');
4
+ var chunkFHLDRRKJ_cjs = require('../chunk-FHLDRRKJ.cjs');
5
5
  var chunkTICDQWVJ_cjs = require('../chunk-TICDQWVJ.cjs');
6
6
 
7
7
  // src/storage/mock.ts
@@ -92,7 +92,7 @@ var MockStore = class extends chunkX6VHQCYN_cjs.MastraStorage {
92
92
  const key = message.id;
93
93
  this.data.mastra_messages[key] = message;
94
94
  }
95
- const list = new chunkKUJQVCEL_cjs.MessageList().add(messages, "memory");
95
+ const list = new chunkFHLDRRKJ_cjs.MessageList().add(messages, "memory");
96
96
  if (format === `v2`) return list.get.all.v2();
97
97
  return list.get.all.v1();
98
98
  }
@@ -1,5 +1,5 @@
1
- import { o as MastraStorage, p as TABLE_NAMES, q as StorageColumn, r as StorageThreadType, s as MastraMessageV2, t as StorageGetMessagesArg, u as MastraMessageV1, E as EvalRow, v as WorkflowRuns, w as WorkflowRun } from '../base-BJBoI-g2.cjs';
2
- export { y as LegacyWorkflowRun, x as LegacyWorkflowRuns, B as TABLE_EVALS, D as TABLE_MESSAGES, H as TABLE_SCHEMAS, F as TABLE_THREADS, G as TABLE_TRACES, z as TABLE_WORKFLOW_SNAPSHOT } from '../base-BJBoI-g2.cjs';
1
+ import { o as MastraStorage, p as TABLE_NAMES, q as StorageColumn, r as StorageThreadType, s as MastraMessageV2, t as StorageGetMessagesArg, u as MastraMessageV1, E as EvalRow, v as WorkflowRuns, w as WorkflowRun } from '../base-Dmg7H-Iz.cjs';
2
+ export { y as LegacyWorkflowRun, x as LegacyWorkflowRuns, B as TABLE_EVALS, D as TABLE_MESSAGES, H as TABLE_SCHEMAS, F as TABLE_THREADS, G as TABLE_TRACES, z as TABLE_WORKFLOW_SNAPSHOT } from '../base-Dmg7H-Iz.cjs';
3
3
  import '../base-BY9WFI65.cjs';
4
4
  import 'ai';
5
5
  import 'zod';
@@ -1,5 +1,5 @@
1
- import { o as MastraStorage, p as TABLE_NAMES, q as StorageColumn, r as StorageThreadType, s as MastraMessageV2, t as StorageGetMessagesArg, u as MastraMessageV1, E as EvalRow, v as WorkflowRuns, w as WorkflowRun } from '../base-BEjkhvZ_.js';
2
- export { y as LegacyWorkflowRun, x as LegacyWorkflowRuns, B as TABLE_EVALS, D as TABLE_MESSAGES, H as TABLE_SCHEMAS, F as TABLE_THREADS, G as TABLE_TRACES, z as TABLE_WORKFLOW_SNAPSHOT } from '../base-BEjkhvZ_.js';
1
+ import { o as MastraStorage, p as TABLE_NAMES, q as StorageColumn, r as StorageThreadType, s as MastraMessageV2, t as StorageGetMessagesArg, u as MastraMessageV1, E as EvalRow, v as WorkflowRuns, w as WorkflowRun } from '../base-Bdo-CPMn.js';
2
+ export { y as LegacyWorkflowRun, x as LegacyWorkflowRuns, B as TABLE_EVALS, D as TABLE_MESSAGES, H as TABLE_SCHEMAS, F as TABLE_THREADS, G as TABLE_TRACES, z as TABLE_WORKFLOW_SNAPSHOT } from '../base-Bdo-CPMn.js';
3
3
  import '../base-C0yUw8BC.js';
4
4
  import 'ai';
5
5
  import 'zod';
@@ -1,6 +1,6 @@
1
1
  import { MastraStorage } from '../chunk-7MWWPVCE.js';
2
2
  export { MastraStorage } from '../chunk-7MWWPVCE.js';
3
- import { MessageList } from '../chunk-JAVP6ACT.js';
3
+ import { MessageList } from '../chunk-677GIYFF.js';
4
4
  export { TABLE_EVALS, TABLE_MESSAGES, TABLE_SCHEMAS, TABLE_THREADS, TABLE_TRACES, TABLE_WORKFLOW_SNAPSHOT } from '../chunk-EWDGXKOQ.js';
5
5
 
6
6
  // src/storage/mock.ts
@@ -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-BF2Sn7JX.cjs';
6
- import { o as MastraStorage } from '../base-BJBoI-g2.cjs';
6
+ import { o as MastraStorage } from '../base-Dmg7H-Iz.cjs';
7
7
  import 'stream';
8
8
  import 'ai';
9
9
  import 'zod';
@@ -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-BF2Sn7JX.js';
6
- import { o as MastraStorage } from '../base-BEjkhvZ_.js';
6
+ import { o as MastraStorage } from '../base-Bdo-CPMn.js';
7
7
  import 'stream';
8
8
  import 'ai';
9
9
  import 'zod';
@@ -1,5 +1,5 @@
1
- import { V as VercelTool, c as ToolAction } from '../base-BJBoI-g2.cjs';
2
- export { C as CoreTool, an as InternalCoreTool, al as Tool, ao as ToolExecutionContext, am as createTool } from '../base-BJBoI-g2.cjs';
1
+ import { V as VercelTool, c as ToolAction } from '../base-Dmg7H-Iz.cjs';
2
+ export { C as CoreTool, an as InternalCoreTool, al as Tool, ao as ToolExecutionContext, am as createTool } from '../base-Dmg7H-Iz.cjs';
3
3
  import '../base-BY9WFI65.cjs';
4
4
  import 'ai';
5
5
  import 'zod';
@@ -1,5 +1,5 @@
1
- import { V as VercelTool, c as ToolAction } from '../base-BEjkhvZ_.js';
2
- export { C as CoreTool, an as InternalCoreTool, al as Tool, ao as ToolExecutionContext, am as createTool } from '../base-BEjkhvZ_.js';
1
+ import { V as VercelTool, c as ToolAction } from '../base-Bdo-CPMn.js';
2
+ export { C as CoreTool, an as InternalCoreTool, al as Tool, ao as ToolExecutionContext, am as createTool } from '../base-Bdo-CPMn.js';
3
3
  import '../base-C0yUw8BC.js';
4
4
  import 'ai';
5
5
  import 'zod';
package/dist/utils.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { M as Mastra, a as MastraPrimitives, b as MastraMemory, T as ToolsInput, V as VercelTool, c as ToolAction, C as CoreTool, A as Agent, L as LegacyWorkflow, d as LegacyStep, S as StepExecutionContext, W as WorkflowContext, e as Workflow, f as Step, g as AgentNetwork, h as MCPServerBase } from './base-BJBoI-g2.cjs';
1
+ import { M as Mastra, a as MastraPrimitives, b as MastraMemory, T as ToolsInput, V as VercelTool, c as ToolAction, C as CoreTool, A as Agent, L as LegacyWorkflow, d as LegacyStep, S as StepExecutionContext, W as WorkflowContext, e as Workflow, f as Step, g as AgentNetwork, h as MCPServerBase } from './base-Dmg7H-Iz.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 { M as Mastra, a as MastraPrimitives, b as MastraMemory, T as ToolsInput, V as VercelTool, c as ToolAction, C as CoreTool, A as Agent, L as LegacyWorkflow, d as LegacyStep, S as StepExecutionContext, W as WorkflowContext, e as Workflow, f as Step, g as AgentNetwork, h as MCPServerBase } from './base-BEjkhvZ_.js';
1
+ import { M as Mastra, a as MastraPrimitives, b as MastraMemory, T as ToolsInput, V as VercelTool, c as ToolAction, C as CoreTool, A as Agent, L as LegacyWorkflow, d as LegacyStep, S as StepExecutionContext, W as WorkflowContext, e as Workflow, f as Step, g as AgentNetwork, h as MCPServerBase } from './base-Bdo-CPMn.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';
@@ -1,4 +1,4 @@
1
- export { bs as CompositeVoice, bt as DefaultVoice, br as MastraVoice, bq as VoiceConfig, bp as VoiceEventMap, bo as VoiceEventType } from '../base-BJBoI-g2.cjs';
1
+ export { bs as CompositeVoice, bt as DefaultVoice, br as MastraVoice, bq as VoiceConfig, bp as VoiceEventMap, bo as VoiceEventType } from '../base-Dmg7H-Iz.cjs';
2
2
  import 'ai';
3
3
  import '../base-BY9WFI65.cjs';
4
4
  import '@opentelemetry/api';
@@ -1,4 +1,4 @@
1
- export { bs as CompositeVoice, bt as DefaultVoice, br as MastraVoice, bq as VoiceConfig, bp as VoiceEventMap, bo as VoiceEventType } from '../base-BEjkhvZ_.js';
1
+ export { bs as CompositeVoice, bt as DefaultVoice, br as MastraVoice, bq as VoiceConfig, bp as VoiceEventMap, bo as VoiceEventType } from '../base-Bdo-CPMn.js';
2
2
  import 'ai';
3
3
  import '../base-C0yUw8BC.js';
4
4
  import '@opentelemetry/api';
@@ -1,38 +1,38 @@
1
1
  'use strict';
2
2
 
3
- var chunkSKYO5NFQ_cjs = require('../chunk-SKYO5NFQ.cjs');
3
+ var chunkIBIGJYTD_cjs = require('../chunk-IBIGJYTD.cjs');
4
4
 
5
5
 
6
6
 
7
7
  Object.defineProperty(exports, "DefaultExecutionEngine", {
8
8
  enumerable: true,
9
- get: function () { return chunkSKYO5NFQ_cjs.DefaultExecutionEngine; }
9
+ get: function () { return chunkIBIGJYTD_cjs.DefaultExecutionEngine; }
10
10
  });
11
11
  Object.defineProperty(exports, "ExecutionEngine", {
12
12
  enumerable: true,
13
- get: function () { return chunkSKYO5NFQ_cjs.ExecutionEngine; }
13
+ get: function () { return chunkIBIGJYTD_cjs.ExecutionEngine; }
14
14
  });
15
15
  Object.defineProperty(exports, "Run", {
16
16
  enumerable: true,
17
- get: function () { return chunkSKYO5NFQ_cjs.Run; }
17
+ get: function () { return chunkIBIGJYTD_cjs.Run; }
18
18
  });
19
19
  Object.defineProperty(exports, "Workflow", {
20
20
  enumerable: true,
21
- get: function () { return chunkSKYO5NFQ_cjs.Workflow; }
21
+ get: function () { return chunkIBIGJYTD_cjs.Workflow; }
22
22
  });
23
23
  Object.defineProperty(exports, "cloneStep", {
24
24
  enumerable: true,
25
- get: function () { return chunkSKYO5NFQ_cjs.cloneStep; }
25
+ get: function () { return chunkIBIGJYTD_cjs.cloneStep; }
26
26
  });
27
27
  Object.defineProperty(exports, "cloneWorkflow", {
28
28
  enumerable: true,
29
- get: function () { return chunkSKYO5NFQ_cjs.cloneWorkflow; }
29
+ get: function () { return chunkIBIGJYTD_cjs.cloneWorkflow; }
30
30
  });
31
31
  Object.defineProperty(exports, "createStep", {
32
32
  enumerable: true,
33
- get: function () { return chunkSKYO5NFQ_cjs.createStep; }
33
+ get: function () { return chunkIBIGJYTD_cjs.createStep; }
34
34
  });
35
35
  Object.defineProperty(exports, "createWorkflow", {
36
36
  enumerable: true,
37
- get: function () { return chunkSKYO5NFQ_cjs.createWorkflow; }
37
+ get: function () { return chunkIBIGJYTD_cjs.createWorkflow; }
38
38
  });
@@ -1,5 +1,5 @@
1
- import { b6 as ExecutionEngine, bc as StepResult, b5 as ExecutionGraph, a_ as SerializedStepFlowEntry, aY as StepFlowEntry, f as Step, b7 as ExecuteFunction } from '../base-BJBoI-g2.cjs';
2
- export { be as DynamicMapping, bh as ExtractSchemaFromStep, bg as ExtractSchemaType, bf as PathsToStringProps, b4 as Run, aZ as SerializedStep, b9 as StepFailure, bb as StepRunning, b8 as StepSuccess, ba as StepSuspended, bd as StepsRecord, bj as StreamEvent, bi as VariableReference, bk as WatchEvent, e as Workflow, aq as WorkflowConfig, b3 as WorkflowResult, bm as WorkflowRunState, bl as ZodPathType, b0 as cloneStep, b2 as cloneWorkflow, a$ as createStep, b1 as createWorkflow } from '../base-BJBoI-g2.cjs';
1
+ import { b6 as ExecutionEngine, bc as StepResult, b5 as ExecutionGraph, a_ as SerializedStepFlowEntry, aY as StepFlowEntry, f as Step, b7 as ExecuteFunction } from '../base-Dmg7H-Iz.cjs';
2
+ export { be as DynamicMapping, bh as ExtractSchemaFromStep, bg as ExtractSchemaType, bf as PathsToStringProps, b4 as Run, aZ as SerializedStep, b9 as StepFailure, bb as StepRunning, b8 as StepSuccess, ba as StepSuspended, bd as StepsRecord, bj as StreamEvent, bi as VariableReference, bk as WatchEvent, e as Workflow, aq as WorkflowConfig, b3 as WorkflowResult, bm as WorkflowRunState, bl as ZodPathType, b0 as cloneStep, b2 as cloneWorkflow, a$ as createStep, b1 as createWorkflow } from '../base-Dmg7H-Iz.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 { b6 as ExecutionEngine, bc as StepResult, b5 as ExecutionGraph, a_ as SerializedStepFlowEntry, aY as StepFlowEntry, f as Step, b7 as ExecuteFunction } from '../base-BEjkhvZ_.js';
2
- export { be as DynamicMapping, bh as ExtractSchemaFromStep, bg as ExtractSchemaType, bf as PathsToStringProps, b4 as Run, aZ as SerializedStep, b9 as StepFailure, bb as StepRunning, b8 as StepSuccess, ba as StepSuspended, bd as StepsRecord, bj as StreamEvent, bi as VariableReference, bk as WatchEvent, e as Workflow, aq as WorkflowConfig, b3 as WorkflowResult, bm as WorkflowRunState, bl as ZodPathType, b0 as cloneStep, b2 as cloneWorkflow, a$ as createStep, b1 as createWorkflow } from '../base-BEjkhvZ_.js';
1
+ import { b6 as ExecutionEngine, bc as StepResult, b5 as ExecutionGraph, a_ as SerializedStepFlowEntry, aY as StepFlowEntry, f as Step, b7 as ExecuteFunction } from '../base-Bdo-CPMn.js';
2
+ export { be as DynamicMapping, bh as ExtractSchemaFromStep, bg as ExtractSchemaType, bf as PathsToStringProps, b4 as Run, aZ as SerializedStep, b9 as StepFailure, bb as StepRunning, b8 as StepSuccess, ba as StepSuspended, bd as StepsRecord, bj as StreamEvent, bi as VariableReference, bk as WatchEvent, e as Workflow, aq as WorkflowConfig, b3 as WorkflowResult, bm as WorkflowRunState, bl as ZodPathType, b0 as cloneStep, b2 as cloneWorkflow, a$ as createStep, b1 as createWorkflow } from '../base-Bdo-CPMn.js';
3
3
  import { Span } from '@opentelemetry/api';
4
4
  import { RuntimeContext } from '../runtime-context/index.js';
5
5
  import 'ai';
@@ -1 +1 @@
1
- export { DefaultExecutionEngine, ExecutionEngine, Run, Workflow, cloneStep, cloneWorkflow, createStep, createWorkflow } from '../chunk-WE5ABCZN.js';
1
+ export { DefaultExecutionEngine, ExecutionEngine, Run, Workflow, cloneStep, cloneWorkflow, createStep, createWorkflow } from '../chunk-K7BZ4VXX.js';
@@ -1,90 +1,90 @@
1
1
  'use strict';
2
2
 
3
- var chunkTO5645ZP_cjs = require('../../chunk-TO5645ZP.cjs');
3
+ var chunkMVXVUMLA_cjs = require('../../chunk-MVXVUMLA.cjs');
4
4
 
5
5
 
6
6
 
7
7
  Object.defineProperty(exports, "LegacyStep", {
8
8
  enumerable: true,
9
- get: function () { return chunkTO5645ZP_cjs.LegacyStep; }
9
+ get: function () { return chunkMVXVUMLA_cjs.LegacyStep; }
10
10
  });
11
11
  Object.defineProperty(exports, "LegacyWorkflow", {
12
12
  enumerable: true,
13
- get: function () { return chunkTO5645ZP_cjs.LegacyWorkflow; }
13
+ get: function () { return chunkMVXVUMLA_cjs.LegacyWorkflow; }
14
14
  });
15
15
  Object.defineProperty(exports, "WhenConditionReturnValue", {
16
16
  enumerable: true,
17
- get: function () { return chunkTO5645ZP_cjs.WhenConditionReturnValue; }
17
+ get: function () { return chunkMVXVUMLA_cjs.WhenConditionReturnValue; }
18
18
  });
19
19
  Object.defineProperty(exports, "agentToStep", {
20
20
  enumerable: true,
21
- get: function () { return chunkTO5645ZP_cjs.agentToStep; }
21
+ get: function () { return chunkMVXVUMLA_cjs.agentToStep; }
22
22
  });
23
23
  Object.defineProperty(exports, "getActivePathsAndStatus", {
24
24
  enumerable: true,
25
- get: function () { return chunkTO5645ZP_cjs.getActivePathsAndStatus; }
25
+ get: function () { return chunkMVXVUMLA_cjs.getActivePathsAndStatus; }
26
26
  });
27
27
  Object.defineProperty(exports, "getResultActivePaths", {
28
28
  enumerable: true,
29
- get: function () { return chunkTO5645ZP_cjs.getResultActivePaths; }
29
+ get: function () { return chunkMVXVUMLA_cjs.getResultActivePaths; }
30
30
  });
31
31
  Object.defineProperty(exports, "getStepResult", {
32
32
  enumerable: true,
33
- get: function () { return chunkTO5645ZP_cjs.getStepResult; }
33
+ get: function () { return chunkMVXVUMLA_cjs.getStepResult; }
34
34
  });
35
35
  Object.defineProperty(exports, "getSuspendedPaths", {
36
36
  enumerable: true,
37
- get: function () { return chunkTO5645ZP_cjs.getSuspendedPaths; }
37
+ get: function () { return chunkMVXVUMLA_cjs.getSuspendedPaths; }
38
38
  });
39
39
  Object.defineProperty(exports, "isAgent", {
40
40
  enumerable: true,
41
- get: function () { return chunkTO5645ZP_cjs.isAgent; }
41
+ get: function () { return chunkMVXVUMLA_cjs.isAgent; }
42
42
  });
43
43
  Object.defineProperty(exports, "isConditionalKey", {
44
44
  enumerable: true,
45
- get: function () { return chunkTO5645ZP_cjs.isConditionalKey; }
45
+ get: function () { return chunkMVXVUMLA_cjs.isConditionalKey; }
46
46
  });
47
47
  Object.defineProperty(exports, "isErrorEvent", {
48
48
  enumerable: true,
49
- get: function () { return chunkTO5645ZP_cjs.isErrorEvent; }
49
+ get: function () { return chunkMVXVUMLA_cjs.isErrorEvent; }
50
50
  });
51
51
  Object.defineProperty(exports, "isFinalState", {
52
52
  enumerable: true,
53
- get: function () { return chunkTO5645ZP_cjs.isFinalState; }
53
+ get: function () { return chunkMVXVUMLA_cjs.isFinalState; }
54
54
  });
55
55
  Object.defineProperty(exports, "isLimboState", {
56
56
  enumerable: true,
57
- get: function () { return chunkTO5645ZP_cjs.isLimboState; }
57
+ get: function () { return chunkMVXVUMLA_cjs.isLimboState; }
58
58
  });
59
59
  Object.defineProperty(exports, "isTransitionEvent", {
60
60
  enumerable: true,
61
- get: function () { return chunkTO5645ZP_cjs.isTransitionEvent; }
61
+ get: function () { return chunkMVXVUMLA_cjs.isTransitionEvent; }
62
62
  });
63
63
  Object.defineProperty(exports, "isVariableReference", {
64
64
  enumerable: true,
65
- get: function () { return chunkTO5645ZP_cjs.isVariableReference; }
65
+ get: function () { return chunkMVXVUMLA_cjs.isVariableReference; }
66
66
  });
67
67
  Object.defineProperty(exports, "isWorkflow", {
68
68
  enumerable: true,
69
- get: function () { return chunkTO5645ZP_cjs.isWorkflow; }
69
+ get: function () { return chunkMVXVUMLA_cjs.isWorkflow; }
70
70
  });
71
71
  Object.defineProperty(exports, "mergeChildValue", {
72
72
  enumerable: true,
73
- get: function () { return chunkTO5645ZP_cjs.mergeChildValue; }
73
+ get: function () { return chunkMVXVUMLA_cjs.mergeChildValue; }
74
74
  });
75
75
  Object.defineProperty(exports, "recursivelyCheckForFinalState", {
76
76
  enumerable: true,
77
- get: function () { return chunkTO5645ZP_cjs.recursivelyCheckForFinalState; }
77
+ get: function () { return chunkMVXVUMLA_cjs.recursivelyCheckForFinalState; }
78
78
  });
79
79
  Object.defineProperty(exports, "resolveVariables", {
80
80
  enumerable: true,
81
- get: function () { return chunkTO5645ZP_cjs.resolveVariables; }
81
+ get: function () { return chunkMVXVUMLA_cjs.resolveVariables; }
82
82
  });
83
83
  Object.defineProperty(exports, "updateStepInHierarchy", {
84
84
  enumerable: true,
85
- get: function () { return chunkTO5645ZP_cjs.updateStepInHierarchy; }
85
+ get: function () { return chunkMVXVUMLA_cjs.updateStepInHierarchy; }
86
86
  });
87
87
  Object.defineProperty(exports, "workflowToStep", {
88
88
  enumerable: true,
89
- get: function () { return chunkTO5645ZP_cjs.workflowToStep; }
89
+ get: function () { return chunkMVXVUMLA_cjs.workflowToStep; }
90
90
  });
@@ -1,5 +1,5 @@
1
- import { I as VariableReference, J as StepResult, d as LegacyStep, L as LegacyWorkflow, A as Agent, W as WorkflowContext, T as ToolsInput, M as Mastra, K as StepAction, N as LegacyWorkflowRunResult } from '../../base-BJBoI-g2.cjs';
2
- export { Y as ActionContext, X as BaseCondition, a7 as DependencyCheckOutput, ae as ExtractSchemaFromStep, ah as ExtractSchemaType, af as ExtractStepResult, aj as LegacyWorkflowRunState, ac as LegacyWorkflowState, ai as PathsToStringProps, a4 as ResolverFunctionInput, a5 as ResolverFunctionOutput, U as RetryConfig, $ as StepCondition, a0 as StepConfig, _ as StepDef, S as StepExecutionContext, R as StepGraph, ad as StepId, ag as StepInputType, Q as StepNode, a8 as StepResolverOutput, P as StepVariableType, a1 as StepsRecord, a6 as SubscriberFunctionOutput, Z as WhenConditionReturnValue, aa as WorkflowActionParams, ab as WorkflowActions, a9 as WorkflowActors, a3 as WorkflowEvent, a2 as WorkflowLogMessage, O as WorkflowOptions, ak as WorkflowResumeResult } from '../../base-BJBoI-g2.cjs';
1
+ import { I as VariableReference, J as StepResult, d as LegacyStep, L as LegacyWorkflow, A as Agent, W as WorkflowContext, T as ToolsInput, M as Mastra, K as StepAction, N as LegacyWorkflowRunResult } from '../../base-Dmg7H-Iz.cjs';
2
+ export { Y as ActionContext, X as BaseCondition, a7 as DependencyCheckOutput, ae as ExtractSchemaFromStep, ah as ExtractSchemaType, af as ExtractStepResult, aj as LegacyWorkflowRunState, ac as LegacyWorkflowState, ai as PathsToStringProps, a4 as ResolverFunctionInput, a5 as ResolverFunctionOutput, U as RetryConfig, $ as StepCondition, a0 as StepConfig, _ as StepDef, S as StepExecutionContext, R as StepGraph, ad as StepId, ag as StepInputType, Q as StepNode, a8 as StepResolverOutput, P as StepVariableType, a1 as StepsRecord, a6 as SubscriberFunctionOutput, Z as WhenConditionReturnValue, aa as WorkflowActionParams, ab as WorkflowActions, a9 as WorkflowActors, a3 as WorkflowEvent, a2 as WorkflowLogMessage, O as WorkflowOptions, ak as WorkflowResumeResult } from '../../base-Dmg7H-Iz.cjs';
3
3
  import { z } from 'zod';
4
4
  import { M as Metric } from '../../types-Bo1uigWx.cjs';
5
5
  import { I as IMastraLogger } from '../../logger-BF2Sn7JX.cjs';
@@ -1,5 +1,5 @@
1
- import { I as VariableReference, J as StepResult, d as LegacyStep, L as LegacyWorkflow, A as Agent, W as WorkflowContext, T as ToolsInput, M as Mastra, K as StepAction, N as LegacyWorkflowRunResult } from '../../base-BEjkhvZ_.js';
2
- export { Y as ActionContext, X as BaseCondition, a7 as DependencyCheckOutput, ae as ExtractSchemaFromStep, ah as ExtractSchemaType, af as ExtractStepResult, aj as LegacyWorkflowRunState, ac as LegacyWorkflowState, ai as PathsToStringProps, a4 as ResolverFunctionInput, a5 as ResolverFunctionOutput, U as RetryConfig, $ as StepCondition, a0 as StepConfig, _ as StepDef, S as StepExecutionContext, R as StepGraph, ad as StepId, ag as StepInputType, Q as StepNode, a8 as StepResolverOutput, P as StepVariableType, a1 as StepsRecord, a6 as SubscriberFunctionOutput, Z as WhenConditionReturnValue, aa as WorkflowActionParams, ab as WorkflowActions, a9 as WorkflowActors, a3 as WorkflowEvent, a2 as WorkflowLogMessage, O as WorkflowOptions, ak as WorkflowResumeResult } from '../../base-BEjkhvZ_.js';
1
+ import { I as VariableReference, J as StepResult, d as LegacyStep, L as LegacyWorkflow, A as Agent, W as WorkflowContext, T as ToolsInput, M as Mastra, K as StepAction, N as LegacyWorkflowRunResult } from '../../base-Bdo-CPMn.js';
2
+ export { Y as ActionContext, X as BaseCondition, a7 as DependencyCheckOutput, ae as ExtractSchemaFromStep, ah as ExtractSchemaType, af as ExtractStepResult, aj as LegacyWorkflowRunState, ac as LegacyWorkflowState, ai as PathsToStringProps, a4 as ResolverFunctionInput, a5 as ResolverFunctionOutput, U as RetryConfig, $ as StepCondition, a0 as StepConfig, _ as StepDef, S as StepExecutionContext, R as StepGraph, ad as StepId, ag as StepInputType, Q as StepNode, a8 as StepResolverOutput, P as StepVariableType, a1 as StepsRecord, a6 as SubscriberFunctionOutput, Z as WhenConditionReturnValue, aa as WorkflowActionParams, ab as WorkflowActions, a9 as WorkflowActors, a3 as WorkflowEvent, a2 as WorkflowLogMessage, O as WorkflowOptions, ak as WorkflowResumeResult } from '../../base-Bdo-CPMn.js';
3
3
  import { z } from 'zod';
4
4
  import { M as Metric } from '../../types-Bo1uigWx.js';
5
5
  import { I as IMastraLogger } from '../../logger-BF2Sn7JX.js';
@@ -1 +1 @@
1
- export { LegacyStep, LegacyWorkflow, WhenConditionReturnValue, agentToStep, getActivePathsAndStatus, getResultActivePaths, getStepResult, getSuspendedPaths, isAgent, isConditionalKey, isErrorEvent, isFinalState, isLimboState, isTransitionEvent, isVariableReference, isWorkflow, mergeChildValue, recursivelyCheckForFinalState, resolveVariables, updateStepInHierarchy, workflowToStep } from '../../chunk-JBTXWDNO.js';
1
+ export { LegacyStep, LegacyWorkflow, WhenConditionReturnValue, agentToStep, getActivePathsAndStatus, getResultActivePaths, getStepResult, getSuspendedPaths, isAgent, isConditionalKey, isErrorEvent, isFinalState, isLimboState, isTransitionEvent, isVariableReference, isWorkflow, mergeChildValue, recursivelyCheckForFinalState, resolveVariables, updateStepInHierarchy, workflowToStep } from '../../chunk-B4TMM6NT.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/core",
3
- "version": "0.10.2",
3
+ "version": "0.10.3",
4
4
  "license": "Elastic-2.0",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -150,7 +150,7 @@
150
150
  "typescript": "^5.8.2",
151
151
  "vitest": "^3.1.2",
152
152
  "zod": "^3.24.3",
153
- "@internal/lint": "0.0.8"
153
+ "@internal/lint": "0.0.10"
154
154
  },
155
155
  "engines": {
156
156
  "node": ">=20"