Angaben zum Datum
Datum aus der Quelle.
Erstmals gesehen am .
Mastra 1.51.0: Wiederherstellung verwaister Durable-Agent-Runs, Platform-Workspace
Mastra 1.51.0 ermöglicht die Wiederherstellung verwaister Durable-Agent-Runs nach einem Neustart, erlaubt parallele AgentController-Sessions pro Scope, ergänzt mit @mastra/platform-workspace@0.1.0 Workspace- und Sandbox-Provider für die Mastra Platform und macht das Mastra Code SDK öffentlich und erweiterbarer.
Highlights
Durable Agent Crash Recovery (server + client + boot-time)
Durable agents can now discover and recover orphaned RUNNING runs after a restart via DurableAgent.listActiveRuns(), recover(), and recoverActiveRuns(), plus Mastra.recoverAllDurableAgents() and an opt-in MastraConfig.recovery: { durableAgents: 'auto' } for boot-time recovery. There’s also a standard HTTP/client surface (POST /agents/:agentId/recover + client-js agent.recover({ runId })) to reattach and stream the remaining output from dashboards or admin tools.
Scoped AgentController Sessions (parallel sessions per resource)
AgentController sessions now support a scope/sessionScope, allowing multiple independent sessions to run in parallel over the same resourceId (e.g., one per git worktree) without sharing run loops, threads, or state. The scope is also exposed in request context for integrations, and controller APIs now report run activity (running + per-thread state) for better UIs.
New Workspace + Sandbox Providers for Mastra Platform
A new package, @mastra/platform-workspace@0.1.0, adds PlatformFilesystem and PlatformSandbox providers that connect agents to Mastra Platform sandboxes and bucket-backed filesystems via the workspace-proxy API. This enables running workspace-dependent tooling against Platform-managed infrastructure with env-var or config-based setup.