You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A new processToolResult processor lifecycle hook runs after each tool execution and before results enter message history, enabling prompt-injection/sensitive-data scanning, transformation, or aborting the run before the LLM sees tool output.
Transient Agent Signals (Per-turn Context Without Persistence)
Signals now support transient: true end-to-end (@mastra/core, @mastra/server, @mastra/memory, and typed support in @mastra/client-js) so you can deliver “reminder” context to the current model call without retaining it in stored conversation/observational memory.
New Observability Exporter: @mastra/deepeval
Introduces @mastra/deepeval, an exporter that sends Mastra traces to Confident AI (DeepEval) for evaluation and monitoring, mapping Mastra spans into Confident’s agent/LLM/tool/retriever/custom types with tokens, tool calls, and metrics.
Better Tooling Visibility in Traces + PostHog LLM Analytics
Model generations now capture full tool definitions (name/description/JSON schema) as a tools attribute on MODEL_GENERATION spans, and @mastra/posthog forwards these as $ai_tools so analytics can show exactly which tool schemas each generation ran with.
Much Faster Mastra Platform Sandbox Exec (Private Network Direct Dial)
@mastra/platform-workspace can now execute commands directly over Railway’s private network when available (dropping exec latency from ~400ms p50 to ~16ms p50), accelerating all sandbox filesystem operations and adding pluggable SandboxAddressRegistry support.
Added transient to non-state agent signals. Set transient: true when a processor should deliver a reminder to the current model call without retaining it in conversation history. (#18909)
awaitsendSignal?.({type: 'reactive',contents: 'Stay on the current task.',transient: true,});
Added tool definitions to MODEL_GENERATION span attributes. The tools made available to the model (name, description, and JSON-schema parameters) are now captured once per generation as the tools attribute, so observability exporters can surface which tool schemas the model ran with. Per-step tool names (after activeTools filtering) remain on MODEL_INFERENCE spans as availableTools. Related: #20242 (#20243)
// Any exporter reading MODEL_GENERATION spans now receives:span.attributes.tools;// [// {// type: 'function',// name: 'get_weather',// description: 'Get the weather for a city',// parameters: { type: 'object', properties: { city: { type: 'string' }}, required: ['city'] },// },// ]
No matching export in "unicorn-magic/default.js" for import "toPath"
No matching export in "unicorn-magic/default.js" for import "traversePathUp"
npm-run-path/index.js:4:8
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dependenciesPull requests that update a dependency filejavascriptPull requests that update javascript code
1 participant
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps @mastra/core from 1.52.1 to 1.57.0.
Release notes
Sourced from @mastra/core's releases.
... (truncated)
Commits
ca935efchore: version - exit prerelease mode8d2399bchore(deps): update ai sdk (#20149)f933ba3fix(core): record provider-executed tool results when toolCallId differ (#157...fb561aachore: regenerate providers and docs [skip ci]9672fabfeat(core): add transient option to agent signals (#18909)d8fa243feat(core): add processToolResult processor lifecycle hook (#16012)d8d259cchore: version packages (alpha) (#20717)c848e65fix(core): exempt memory-sourced messages from the resourceId guard in inputT...8d1aeb8fix(aiv5-adapter): pass through OpenAI Files API file IDs without corrupting ...e932ad2docs: add Neon as built-in gateway (#20573)