@mastra/core 1.55.0-alpha.2 → 1.55.0-alpha.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 (140) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/dist/agent/durable/index.cjs +1 -1
  3. package/dist/agent/durable/index.js +1 -1
  4. package/dist/agent/index.cjs +2 -2
  5. package/dist/agent/index.js +2 -2
  6. package/dist/{agent-CwUYflGG.cjs → agent-BzVvDOSz.cjs} +27 -17
  7. package/dist/agent-BzVvDOSz.cjs.map +1 -0
  8. package/dist/{agent-BvRfRKIt.js → agent-C9842hRl.js} +27 -17
  9. package/dist/agent-C9842hRl.js.map +1 -0
  10. package/dist/agent-builder/ee/index.cjs +1 -1
  11. package/dist/agent-builder/ee/index.js +1 -1
  12. package/dist/agent-controller/index.cjs +1 -1
  13. package/dist/agent-controller/index.js +1 -1
  14. package/dist/{agent-controller-CM6tQSMj.js → agent-controller-CBLLAZlq.js} +5 -5
  15. package/dist/{agent-controller-CM6tQSMj.js.map → agent-controller-CBLLAZlq.js.map} +1 -1
  16. package/dist/{agent-controller-C75dc544.cjs → agent-controller-lpNUIizs.cjs} +5 -5
  17. package/dist/{agent-controller-C75dc544.cjs.map → agent-controller-lpNUIizs.cjs.map} +1 -1
  18. package/dist/background-tasks/index.cjs +1 -1
  19. package/dist/background-tasks/index.js +1 -1
  20. package/dist/{background-tasks-AKlv5tIo.js → background-tasks-3hxDTASf.js} +2 -2
  21. package/dist/{background-tasks-AKlv5tIo.js.map → background-tasks-3hxDTASf.js.map} +1 -1
  22. package/dist/{background-tasks-Chpan7PB.cjs → background-tasks-_xUT_Cie.cjs} +2 -2
  23. package/dist/{background-tasks-Chpan7PB.cjs.map → background-tasks-_xUT_Cie.cjs.map} +1 -1
  24. package/dist/browser/index.cjs +1 -1
  25. package/dist/browser/index.js +1 -1
  26. package/dist/channels/index.cjs +2 -2
  27. package/dist/channels/index.js +2 -2
  28. package/dist/{channels-BW52ccH_.cjs → channels-4yJvX5j0.cjs} +2 -2
  29. package/dist/{channels-BW52ccH_.cjs.map → channels-4yJvX5j0.cjs.map} +1 -1
  30. package/dist/{channels-Da9lEAi1.js → channels-PuwenAJM.js} +2 -2
  31. package/dist/{channels-Da9lEAi1.js.map → channels-PuwenAJM.js.map} +1 -1
  32. package/dist/coding-agent/index.cjs +1 -1
  33. package/dist/coding-agent/index.js +1 -1
  34. package/dist/{create-durable-agent-Bd4Bm5FV.js → create-durable-agent-CaCDVdBf.js} +8 -8
  35. package/dist/{create-durable-agent-Bd4Bm5FV.js.map → create-durable-agent-CaCDVdBf.js.map} +1 -1
  36. package/dist/{create-durable-agent-DmTTvoGi.cjs → create-durable-agent-n8DHsn6m.cjs} +8 -8
  37. package/dist/{create-durable-agent-DmTTvoGi.cjs.map → create-durable-agent-n8DHsn6m.cjs.map} +1 -1
  38. package/dist/datasets/index.cjs +1 -1
  39. package/dist/datasets/index.js +1 -1
  40. package/dist/{dist-CsR_D1uk.cjs → dist-BbNmIfmd.cjs} +2 -2
  41. package/dist/{dist-CsR_D1uk.cjs.map → dist-BbNmIfmd.cjs.map} +1 -1
  42. package/dist/{dist-C077BlAN.js → dist-CLddHR_N.js} +2 -2
  43. package/dist/{dist-C077BlAN.js.map → dist-CLddHR_N.js.map} +1 -1
  44. package/dist/docs/SKILL.md +1 -1
  45. package/dist/docs/assets/SOURCE_MAP.json +1 -1
  46. package/dist/evals/index.cjs +1 -1
  47. package/dist/evals/index.js +1 -1
  48. package/dist/evals/scoreTraces/index.cjs +1 -1
  49. package/dist/evals/scoreTraces/index.js +1 -1
  50. package/dist/harness/index.cjs +1 -1
  51. package/dist/harness/index.js +1 -1
  52. package/dist/index.cjs +1 -1
  53. package/dist/index.js +1 -1
  54. package/dist/llm/index.cjs +5 -5
  55. package/dist/llm/index.js +5 -5
  56. package/dist/{llm-DlVyw1cX.js → llm-3cbM--3-.js} +5 -5
  57. package/dist/{llm-DlVyw1cX.js.map → llm-3cbM--3-.js.map} +1 -1
  58. package/dist/{llm-Bjt2hZ3f.cjs → llm-L7vwOFRH.cjs} +5 -5
  59. package/dist/{llm-Bjt2hZ3f.cjs.map → llm-L7vwOFRH.cjs.map} +1 -1
  60. package/dist/loop/index.cjs +1 -1
  61. package/dist/loop/index.js +1 -1
  62. package/dist/{manager-CYGpXJfK.js → manager-DNdaA9tC.js} +3 -3
  63. package/dist/{manager-CYGpXJfK.js.map → manager-DNdaA9tC.js.map} +1 -1
  64. package/dist/{manager-BjrFnt_A.cjs → manager-pXupNDfL.cjs} +3 -3
  65. package/dist/{manager-BjrFnt_A.cjs.map → manager-pXupNDfL.cjs.map} +1 -1
  66. package/dist/mastra/index.cjs +1 -1
  67. package/dist/mastra/index.js +1 -1
  68. package/dist/{mastra-CVLF1dWt.js → mastra-BYPEpMU_.js} +9 -9
  69. package/dist/{mastra-CVLF1dWt.js.map → mastra-BYPEpMU_.js.map} +1 -1
  70. package/dist/{mastra-Bxx9WPf6.cjs → mastra-zOgbgL1s.cjs} +9 -9
  71. package/dist/{mastra-Bxx9WPf6.cjs.map → mastra-zOgbgL1s.cjs.map} +1 -1
  72. package/dist/memory/index.cjs +1 -1
  73. package/dist/memory/index.js +1 -1
  74. package/dist/{model-CA0WLISt.js → model-BUBkXjoI.js} +2 -2
  75. package/dist/{model-CA0WLISt.js.map → model-BUBkXjoI.js.map} +1 -1
  76. package/dist/{model-DMVq6nAS.cjs → model-DboBdeDA.cjs} +2 -2
  77. package/dist/{model-DMVq6nAS.cjs.map → model-DboBdeDA.cjs.map} +1 -1
  78. package/dist/{models-dev-D_X4VMSu.cjs → models-dev-BdGEqZ4v.cjs} +2 -2
  79. package/dist/{models-dev-D_X4VMSu.cjs.map → models-dev-BdGEqZ4v.cjs.map} +1 -1
  80. package/dist/{models-dev-Cbus1Uh2.js → models-dev-D4Ty6pYD.js} +2 -2
  81. package/dist/{models-dev-Cbus1Uh2.js.map → models-dev-D4Ty6pYD.js.map} +1 -1
  82. package/dist/{netlify-C-nnPVSj.js → netlify-AkHN7h2V.js} +2 -2
  83. package/dist/{netlify-C-nnPVSj.js.map → netlify-AkHN7h2V.js.map} +1 -1
  84. package/dist/{netlify-CUuCnmtd.cjs → netlify-CaF00Tpt.cjs} +2 -2
  85. package/dist/{netlify-CUuCnmtd.cjs.map → netlify-CaF00Tpt.cjs.map} +1 -1
  86. package/dist/processor-provider/index.cjs +1 -1
  87. package/dist/processor-provider/index.js +1 -1
  88. package/dist/processors/index.cjs +2 -2
  89. package/dist/processors/index.js +2 -2
  90. package/dist/processors/processors/index.d.ts +1 -1
  91. package/dist/processors/processors/index.d.ts.map +1 -1
  92. package/dist/processors/tool-result-reminder.d.ts +23 -0
  93. package/dist/processors/tool-result-reminder.d.ts.map +1 -1
  94. package/dist/{provider-registry-DIbls44Z.js → provider-registry-CY2JXVmt.js} +6 -6
  95. package/dist/{provider-registry-DIbls44Z.js.map → provider-registry-CY2JXVmt.js.map} +1 -1
  96. package/dist/{provider-registry-BFknh6Fu.cjs → provider-registry-CepgHPVr.cjs} +6 -6
  97. package/dist/{provider-registry-BFknh6Fu.cjs.map → provider-registry-CepgHPVr.cjs.map} +1 -1
  98. package/dist/relevance/index.cjs +2 -2
  99. package/dist/relevance/index.js +2 -2
  100. package/dist/stream/index.cjs +3 -3
  101. package/dist/stream/index.js +3 -3
  102. package/dist/{stream-tlVjYkAO.cjs → stream-DAD2JVzk.cjs} +3 -3
  103. package/dist/{stream-tlVjYkAO.cjs.map → stream-DAD2JVzk.cjs.map} +1 -1
  104. package/dist/{stream-Cd_isEZJ.js → stream-j5vYmru0.js} +3 -3
  105. package/dist/{stream-Cd_isEZJ.js.map → stream-j5vYmru0.js.map} +1 -1
  106. package/dist/test-utils/llm-mock.cjs +1 -1
  107. package/dist/test-utils/llm-mock.js +1 -1
  108. package/dist/tool-loop-agent/index.cjs +1 -1
  109. package/dist/tool-loop-agent/index.js +1 -1
  110. package/dist/{tool-loop-agent-CcT-TTcT.js → tool-loop-agent-CaCoYJCj.js} +4 -4
  111. package/dist/{tool-loop-agent-CcT-TTcT.js.map → tool-loop-agent-CaCoYJCj.js.map} +1 -1
  112. package/dist/{tool-loop-agent-th9L-ls9.cjs → tool-loop-agent-D90wu-qS.cjs} +4 -4
  113. package/dist/{tool-loop-agent-th9L-ls9.cjs.map → tool-loop-agent-D90wu-qS.cjs.map} +1 -1
  114. package/dist/{trip-wire-Cj0cJivR.js → trip-wire-BVg5rmBR.js} +2 -2
  115. package/dist/{trip-wire-Cj0cJivR.js.map → trip-wire-BVg5rmBR.js.map} +1 -1
  116. package/dist/{trip-wire-BNzxirr0.cjs → trip-wire-B_XWSSts.cjs} +2 -2
  117. package/dist/{trip-wire-BNzxirr0.cjs.map → trip-wire-B_XWSSts.cjs.map} +1 -1
  118. package/dist/{utils-DUfAZ4gr.js → utils-D-ilzd6-.js} +2 -2
  119. package/dist/{utils-DUfAZ4gr.js.map → utils-D-ilzd6-.js.map} +1 -1
  120. package/dist/{utils-BoQofieM.cjs → utils-DFyXwV7_.cjs} +2 -2
  121. package/dist/{utils-BoQofieM.cjs.map → utils-DFyXwV7_.cjs.map} +1 -1
  122. package/dist/utils.cjs +1 -1
  123. package/dist/utils.js +1 -1
  124. package/dist/worker/index.cjs +1 -1
  125. package/dist/worker/index.js +1 -1
  126. package/dist/{worker-CsbZPhWb.cjs → worker-4zSNFjYS.cjs} +3 -3
  127. package/dist/{worker-CsbZPhWb.cjs.map → worker-4zSNFjYS.cjs.map} +1 -1
  128. package/dist/{worker-DwlyX5l8.js → worker-Doc6OBYs.js} +3 -3
  129. package/dist/{worker-DwlyX5l8.js.map → worker-Doc6OBYs.js.map} +1 -1
  130. package/dist/{workflow-OjZRiiCG.js → workflow-Bx2FZJ1q.js} +3 -3
  131. package/dist/{workflow-OjZRiiCG.js.map → workflow-Bx2FZJ1q.js.map} +1 -1
  132. package/dist/{workflow-BR5D6ij_.cjs → workflow-Ff4WaZ8i.cjs} +3 -3
  133. package/dist/{workflow-BR5D6ij_.cjs.map → workflow-Ff4WaZ8i.cjs.map} +1 -1
  134. package/dist/workflows/evented/index.cjs +1 -1
  135. package/dist/workflows/evented/index.js +1 -1
  136. package/dist/workflows/index.cjs +1 -1
  137. package/dist/workflows/index.js +1 -1
  138. package/package.json +6 -6
  139. package/dist/agent-BvRfRKIt.js.map +0 -1
  140. package/dist/agent-CwUYflGG.cjs.map +0 -1
@@ -7,25 +7,25 @@ import { a as resolveObservabilityContext, i as createObservabilityContext, r as
7
7
  import { a as getOrCreateSpan, f as EntityType, n as executeWithContextSync, s as getStepAvailableToolNames, t as executeWithContext } from "./utils-dww6a8LC.js";
8
8
  import "./tracing-NiBfLy3R.js";
9
9
  import { a as RequestContext, i as MASTRA_VERSIONS_KEY, n as MASTRA_RESOURCE_ID_KEY, r as MASTRA_THREAD_ID_KEY } from "./request-context-CwUIo4Oj.js";
10
- import { a as ModelRouterLanguageModel, d as readModelStreamTransport, i as resolveModelConfig, n as ModelRouterEmbeddingModel } from "./llm-DlVyw1cX.js";
10
+ import { a as ModelRouterLanguageModel, d as readModelStreamTransport, i as resolveModelConfig, n as ModelRouterEmbeddingModel } from "./llm-3cbM--3-.js";
11
11
  import { isStandardSchemaWithJSON, standardSchemaToJSONSchema, toStandardSchema } from "./schema/index.js";
12
12
  import { n as Tool, r as createTool } from "./tool-B09dFqXW.js";
13
13
  import { i as MastraFGAPermissions } from "./ee-C8o0LZ3r-D8oa_QMo.js";
14
- import { a as createBackgroundTask, i as resolveBackgroundConfig, t as generateBackgroundTaskSystemPrompt } from "./background-tasks-AKlv5tIo.js";
14
+ import { a as createBackgroundTask, i as resolveBackgroundConfig, t as generateBackgroundTaskSystemPrompt } from "./background-tasks-3hxDTASf.js";
15
15
  import { a as isProviderTool, i as isProviderDefinedTool, n as getProviderToolName, r as isMastraTool, t as getNeedsApprovalFn } from "./toolchecks-BiQFgRbo.js";
16
16
  import { n as ToolStream, t as noopObserve } from "./types-C59tsW89.js";
17
- import { _ as removeUndefinedValues, a as ensureToolProperties, d as makeCoreTool, i as delay, n as createMastraProxy, o as generateEmptyFromSchema, r as deepMerge$1, y as selectFields } from "./utils-DUfAZ4gr.js";
17
+ import { _ as removeUndefinedValues, a as ensureToolProperties, d as makeCoreTool, i as delay, n as createMastraProxy, o as generateEmptyFromSchema, r as deepMerge$1, y as selectFields } from "./utils-D-ilzd6-.js";
18
18
  import { t as deepEqual$2 } from "./deep-equal-D_JPy4kj.js";
19
19
  import { ensureSerializable, safeStringify } from "./utils/safe-stringify.js";
20
- import { C as tryGenerateWithJsonFallback, E as isProcessorWorkflow, S as supportedLanguageModelSpecifications, _ as summarizeProcessorToolsForSpan, a as escapeUnescapedControlCharsInJsonStrings, b as isSupportedLanguageModel, c as safeClose, d as ProcessorState, g as summarizeProcessorResultForSpan, h as summarizeProcessorModelForSpan, i as createDestructurableOutput, l as safeEnqueue, m as summarizeActiveToolsForSpan, n as getModelOutputForTripwire, o as getResponseFormat, p as REPROCESS_PART_KEY, r as MastraModelOutput, s as MastraModelInput, t as TripWire, u as ProcessorRunner, v as summarizeToolChoiceForSpan, w as tryStreamWithJsonFallback, x as resolveThreadIdFromArgs, y as createProcessorSendSignal } from "./trip-wire-Cj0cJivR.js";
20
+ import { C as tryGenerateWithJsonFallback, E as isProcessorWorkflow, S as supportedLanguageModelSpecifications, _ as summarizeProcessorToolsForSpan, a as escapeUnescapedControlCharsInJsonStrings, b as isSupportedLanguageModel, c as safeClose, d as ProcessorState, g as summarizeProcessorResultForSpan, h as summarizeProcessorModelForSpan, i as createDestructurableOutput, l as safeEnqueue, m as summarizeActiveToolsForSpan, n as getModelOutputForTripwire, o as getResponseFormat, p as REPROCESS_PART_KEY, r as MastraModelOutput, s as MastraModelInput, t as TripWire, u as ProcessorRunner, v as summarizeToolChoiceForSpan, w as tryStreamWithJsonFallback, x as resolveThreadIdFromArgs, y as createProcessorSendSignal } from "./trip-wire-BVg5rmBR.js";
21
21
  import { a as withToolPayloadTransformMetadata, i as transformToolPayloadForTargets, n as hasTransformedToolPayload, o as withToolPayloadTransformProviderMetadata, r as normalizeToolPayloadTransformPolicy, t as getTransformedToolPayload } from "./payload-transform-C4k4-WlM.js";
22
22
  import { a as isMastraSignalMessage, d as signalToXmlMarkup, o as mastraDBMessageToSignal } from "./signals-vqgKmkJu.js";
23
23
  import { n as MessageList, o as messagesAreEqual, p as sanitizeToolName, u as stableStringify } from "./message-list-D-0IY45i.js";
24
24
  import { c as stepCountIs, h as tool, m as generateId, p as asSchema, s as parsePartialJson, u as APICallError } from "./dist-U7bRIVB-.js";
25
- import { a as convertFullStreamChunkToMastra, c as WorkflowRunOutput, s as MastraAgentNetworkStream } from "./stream-Cd_isEZJ.js";
25
+ import { a as convertFullStreamChunkToMastra, c as WorkflowRunOutput, s as MastraAgentNetworkStream } from "./stream-j5vYmru0.js";
26
26
  import { n as isObservationalMemoryEnabled$1, r as parseMemoryRequestContext } from "./types-C3n49g1N.js";
27
- import { s as modelSupportsStructuredOutput } from "./provider-registry-DIbls44Z.js";
28
- import { t as MastraLLMV1 } from "./model-CA0WLISt.js";
27
+ import { s as modelSupportsStructuredOutput } from "./provider-registry-CY2JXVmt.js";
28
+ import { t as MastraLLMV1 } from "./model-BUBkXjoI.js";
29
29
  import { t as GoalSignalProvider } from "./signal-provider-H33uLbIV.js";
30
30
  import { o as validateCron } from "./schedules-D3ilPNe9.js";
31
31
  import { D as resolveEffectiveGoalSettings, E as readObjective, O as resolveGoalStore, _ as clearCachedGoalObjective, b as GOAL_SCORER_ID, g as cacheGoalObjective, k as writeObjective, v as DEFAULT_GOAL_JUDGE_PROMPT, w as clearObjective, x as GOAL_SCORE_WAITING } from "./task-state-processor-C7EWwpJ9.js";
@@ -16665,6 +16665,8 @@ var AgentsMDInjector = class {
16665
16665
  isDirectory;
16666
16666
  readFile;
16667
16667
  getIgnoredInstructionPaths;
16668
+ isEnabled;
16669
+ getReader;
16668
16670
  constructor(options) {
16669
16671
  this.reminderText = options.reminderText;
16670
16672
  this.maxTokens = options.maxTokens ?? 1e3;
@@ -16678,14 +16680,22 @@ var AgentsMDInjector = class {
16678
16680
  });
16679
16681
  this.readFile = options.readFile ?? ((path) => readFileSync(path, "utf-8"));
16680
16682
  this.getIgnoredInstructionPaths = options.getIgnoredInstructionPaths;
16683
+ this.isEnabled = options.isEnabled;
16684
+ this.getReader = options.getReader;
16681
16685
  }
16682
16686
  async processInputStep(args) {
16683
16687
  const { messageList } = args;
16688
+ if (this.isEnabled && !this.isEnabled(args)) return messageList;
16689
+ const reader = this.getReader?.(args) ?? {
16690
+ pathExists: this.pathExists,
16691
+ isDirectory: this.isDirectory,
16692
+ readFile: this.readFile
16693
+ };
16684
16694
  const messages = messageList.get.all.db();
16685
16695
  const completedToolCalls = getCompletedToolCalls(getCurrentStepResponseMessages(messageList));
16686
- const instructionPath = this.findReferencedInstructionPath(completedToolCalls);
16696
+ const instructionPath = this.findReferencedInstructionPath(completedToolCalls, reader);
16687
16697
  if (!instructionPath || this.isIgnoredInstructionPath(args, instructionPath)) return messageList;
16688
- const reminderText = this.getReminderText(instructionPath);
16698
+ const reminderText = this.getReminderText(instructionPath, reader);
16689
16699
  if (!reminderText) return messageList;
16690
16700
  const reminderMarkup = getReminderMarkup(reminderText, instructionPath);
16691
16701
  if (this.hasReminderAlready(messages, reminderMarkup)) return messageList;
@@ -16701,9 +16711,9 @@ var AgentsMDInjector = class {
16701
16711
  });
16702
16712
  return messageList;
16703
16713
  }
16704
- getReminderText(instructionPath) {
16714
+ getReminderText(instructionPath, reader) {
16705
16715
  try {
16706
- const content = this.readFile(instructionPath).trim();
16716
+ const content = reader.readFile(instructionPath).trim();
16707
16717
  if (content.length > 0) return truncateToTokenLimit(content, this.maxTokens);
16708
16718
  } catch {}
16709
16719
  return this.reminderText?.trim() || void 0;
@@ -16713,21 +16723,21 @@ var AgentsMDInjector = class {
16713
16723
  const normalizedInstructionPath = toAbsolutePath(instructionPath);
16714
16724
  return ignoredPaths.some((path) => toAbsolutePath(path) === normalizedInstructionPath);
16715
16725
  }
16716
- findReferencedInstructionPath(toolCalls) {
16726
+ findReferencedInstructionPath(toolCalls, reader) {
16717
16727
  if (!Array.isArray(toolCalls)) return;
16718
16728
  for (const toolCall of toolCalls) {
16719
- const path = this.findInstructionPathInInvocation(toolCall);
16729
+ const path = this.findInstructionPathInInvocation(toolCall, reader);
16720
16730
  if (path) return path;
16721
16731
  }
16722
16732
  }
16723
- findInstructionPathInInvocation(invocation) {
16733
+ findInstructionPathInInvocation(invocation, reader) {
16724
16734
  if (!isRecord$2(invocation)) return;
16725
16735
  const args = parseInvocationArgs(invocation.args);
16726
16736
  if (!args) return;
16727
16737
  for (const field of PATH_FIELDS) {
16728
16738
  const value = args[field];
16729
16739
  if (typeof value !== "string" || value.trim().length === 0) continue;
16730
- const instructionPath = findInstructionFileForPath(value, this.pathExists, this.isDirectory);
16740
+ const instructionPath = findInstructionFileForPath(value, reader.pathExists, reader.isDirectory);
16731
16741
  if (instructionPath) return instructionPath;
16732
16742
  }
16733
16743
  }
@@ -33125,7 +33135,7 @@ var Agent = class Agent extends MastraBase {
33125
33135
  if (!this.#durable) return void 0;
33126
33136
  if (this.#mastra) return void 0;
33127
33137
  if (this.#standaloneDurable) return this.#standaloneDurable;
33128
- const { createDurableAgent } = await import("./create-durable-agent-Bd4Bm5FV.js").then((n) => n.n);
33138
+ const { createDurableAgent } = await import("./create-durable-agent-CaCDVdBf.js").then((n) => n.n);
33129
33139
  const opts = this.#durable === true ? {} : this.#durable;
33130
33140
  const wrapper = createDurableAgent({
33131
33141
  agent: this,
@@ -38080,4 +38090,4 @@ var Agent = class Agent extends MastraBase {
38080
38090
  //#endregion
38081
38091
  export { removeSystemReminderTags as $, UnicodeNormalizer as $n, createWorkflow$1 as $t, pruneAgentLoopSnapshot as A, ImagePartSchema as An, StructuredOutputProcessor as At, globalEmbeddingCache as B, ProcessorStepInputSchema as Bn, createOnScorerHook as Bt, generateFinalResult as C, validateStepResumeData as Cn, AgentsMDInjector as Ct, runDefaultCompletionCheck as D, getStepResult as Dn, SystemPromptScrubber as Dt, runCompletionScorers as E, waitForSuspendedSnapshot as En, CostGuardProcessor as Et, MastraStateAdapter as F, ProcessorMessageContentSchema as Fn, MAX_FS_SUBAGENT_DEPTH as Ft, SYSTEM_REMINDER_START_TAG as G, StepStartPartSchema as Gn, cloneWorkflow as Gt, MessageHistory as H, ProcessorStepSchema as Hn, MastraScorer as Ht, ChatChannelProcessor as I, ProcessorMessageSchema as In, agentConfig as It, WORKING_MEMORY_START_TAG as J, isAgentCompatible as Jn, EventedRun as Jt, UPDATE_WORKING_MEMORY_TOOL_NAME as K, TextPartSchema as Kn, createEventedWorkflow as Kt, CHAT_CHANNEL_RENDER_CONTEXT_KEY as L, ProcessorOutputResultPhaseSchema as Ln, assembleAgentFromFsEntry as Lt, AgentChannels as M, MessagePartSchema as Mn, PIIDetector as Mt, resolveWaitUntil as N, ProcessorInputPhaseSchema as Nn, PromptInjectionDetector as Nt, runStreamCompletionScorers as O, ExecutionEngine as On, TokenLimiterProcessor as Ot, defaultTypingStatus as P, ProcessorInputStepPhaseSchema as Pn, ModerationProcessor as Pt, isWorkingMemoryToolName as Q, isDurableAgentLike as Qn, createStep as Qt, BaseProcessor as R, ProcessorOutputStepPhaseSchema as Rn, createGoalScorer as Rt, formatValidationFeedback as S, validateStepRequestContext as Sn, ToolSearchProcessor as St, runChecks as T, validateStepSuspendData as Tn, RegexFilterProcessor as Tt, SET_WORKING_MEMORY_TOOL_NAME as U, ReasoningPartSchema as Un, createScorer as Ut, WorkingMemory as V, ProcessorStepOutputSchema as Vn, validateAndSaveScore as Vt, SYSTEM_REMINDER_END_TAG as W, SourcePartSchema as Wn, filterRun as Wt, extractWorkingMemoryContent as X, getGoalActivityDurationMs as Xn, cloneStep as Xt, WORKING_MEMORY_TOOL_NAMES as Y, beginGoalActivity as Yn, EventedWorkflow as Yt, extractWorkingMemoryTags as Z, stopGoalActivity as Zn, cloneWorkflow$1 as Zt, PrepareStepProcessor as _, getStepIds as _n, ResponseCache as _t, getServerSideFallbackInfo as a, Workflow as an, filterSystemReminderMessages as at, formatCompletionFeedback as b, runCountDeprecationMessage as bn, SkillSearchProcessor as bt, buildMemoryHeaders as c, isProcessor$1 as cn, StreamErrorRetryProcessor as ct, composeStepInput as d, runScorer as dn, ProviderHistoryCompat as dt, WorkflowEventProcessor as en, removeWorkingMemoryTags as et, buildLlmPromptArgs as f, cleanStepResult as fn, anthropicToolIdFormat as ft, execute as g, getResumeLabelsByStepId as gn, RESPONSE_CACHE_CONTEXT_KEY as gt, inferProviderExecuted as h, createTimeTravelExecutionParams as hn, DEFAULT_RESPONSE_CACHE_TTL_SECONDS as ht, __registerMastraCtor as i, Run as in, memoryDefaultOptions as it, createRunScope as j, MessageContentSchema as jn, LanguageDetector as jt, runValidation as k, FilePartSchema as kn, BatchPartsProcessor as kt, mergeLlmCallHeaders as l, mapVariable as ln, isBadRequestError as lt, findProviderToolByName as m, createRestartExecutionParams as mn, PrefillErrorHandler as mt, runIdleLoop as n, EventedExecutionEngine as nn, MastraMemory as nt, loop as o, cloneStep$1 as on, isSystemReminderMessage as ot, applyAutoResumeSystemMessage as p, createDeprecationProxy as pn, cerebrasStripReasoningContent as pt, WORKING_MEMORY_END_TAG as q, ToolInvocationPartSchema as qn, createWorkflow as qt, SaveQueueManager as r, getStep as rn, MemoryProcessor as rt, buildMessagesFromChunks as s, createStep$1 as sn, augmentWithInit as st, Agent as t, StepExecutor as tn, MockMemory as tt, injectBackgroundTaskPrompt as u, DefaultExecutionEngine as un, isRetryableOpenAIResponsesStreamError as ut, mergeProviderOptions as v, hydrateSerializedStepErrors as vn, buildResponseCacheKey as vt, generateStructuredFinalResult as w, validateStepStateData as wn, ToolCallFilter as wt, formatStreamCompletionFeedback as x, validateStepInput as xn, SkillsProcessor as xt, formatCheckFeedback as y, resolveForeachConcurrency as yn, WorkspaceInstructionsProcessor as yt, SemanticRecall as z, ProcessorOutputStreamPhaseSchema as zn, runEvals as zt };
38082
38092
 
38083
- //# sourceMappingURL=agent-BvRfRKIt.js.map
38093
+ //# sourceMappingURL=agent-C9842hRl.js.map