Mastra 1.64.0: Trace-korrelierte Logs mit AdaptableLogger und Pino
Mastra 1.63.0 bringt trace-korrelierte Logs über den neuen AdaptableLogger-Vertrag, eine Pino-Integration mit Trace-Kontext in allen Transports, zuverlässigeres Verlinken von Logs und Metriken bei nicht exportierten Spans sowie Verbesserungen bei der Deployment-Bereitschaft von Workern.
Highlights
Reusable Sandbox Templates + Warm Repo Checkouts (E2B & Platform)
New reusable template APIs in @mastra/platform-workspace plus @mastra/e2b repo templates let sandboxes start from a pre-cloned, pre-built repository image (with background rebuilds and resource sizing), dramatically reducing cold-start time for code sessions and workspace-backed agents.
Unified workingDirectory Across All Sandbox Providers
A new workingDirectory option in MastraSandboxOptions is now honored by every sandbox provider (with a sandbox.workingDirectory getter), standardizing default command/process CWD behavior across Docker/E2B/Vercel/Railway/etc. while still allowing per-command cwd overrides.
Client-Side Tools Can Use Server-Defined toModelOutput
Client-executed tools (browser tools without execute) now support server-defined toModelOutput, so the server can transform the returned payload into model-ready content (e.g., turning { fileId, dataUrl } into an image content part) without custom input processors.
Observability Feedback Review Workflow (API + Storage + UI Plumbing)
Feedback records now support reviewStatus (needs-review/reviewed) with filtering in listFeedback, a new storage method updateFeedbackReviewStatus, and a new server endpoint PATCH /api/observability/feedback/:feedbackId/review-status exposed in @mastra/client-js.