Mastra published @mastra/[email protected] on 2026-10-01 (~08:36Z; 124 commits vs 1.72.0): default stability errorProcessors (ProviderHistoryCompat, PrefillErrorHandler, StreamErrorRetryProcessor); new tool-call-resumed stream chunk; rewrite invalid Anthropic tool-call IDs outbound; export findGatewayForModel/getGatewayId; subagent model resolution with caller requestContext.

Key Takeaways

  • ✓npm @mastra/[email protected] at 2026-10-01T08:36:38Z; 124 commits vs 1.72.0
  • ✓Default errorProcessors (#24473): history compat → prefill handler → stream retry; opt out with errorProcessorDefaults:false
  • ✓New tool-call-resumed chunk (#25491) before tool-result for suspend/approval resumes
  • ✓Rewrite invalid Anthropic tool-call IDs outbound (#24505); export findGatewayForModel/getGatewayId
  • ✓npm i @mastra/[email protected]; https://mastra.ai/docs
🧭

Finished reading? Explore benchmark rankings & pricing

Real-world SWE-bench scores & $20/mo vs API cost break-even calculator

🔬

In-Depth Technical Analysis

Background

Production agents hit provider history/prefill rejections, ambiguous suspend/approval resumes, and Anthropic invalid tool-call IDs that fail before repair.

What shipped

@mastra/[email protected] (124 commits vs 1.72.0): default errorProcessors (#24473); tool-call-resumed (#25491); outbound Anthropic tool-call ID rewrite (#24505); findGatewayForModel/getGatewayId; resolveSubagentModel with requestContext.

Benchmarks

No TTFT/SWE numbers—framework stability release. Anchor: npm 2026-10-01T08:36:38Z; ahead_by 124.

Get started

npm i @mastra/[email protected]. Docs: https://mastra.ai/docs