Mastra 更新:持久执行、Cloudflare Sandbox 与 MCP 协议升级
原标题:August 19, 2026
AI 摘要
Mastra 发布 2026 年 8 月 19 日更新,为 Agents API 增加无需部署的持久执行功能,并新增 Cloudflare Sandbox 提供商。MCP 协议升级支持无状态 2026-07-28 修订版和多轮 elicitation。RAG 模块新增 GraphRAG 快照序列化,降低大型语料库启动成本。核心包 @mastra/core 1.60.0 包含多项改进,如 ProcessHandle.closeStdin()、PubSub 实时追踪、客户端工具 onOutput 钩子等。
正文节选
## Highlights ### Durable execution for Agents API (no deploy required) Stored agents created via the Agents API can now run with `durable: true`, enabling durable execution (with configurable loop settings) without shipping new code, and inheriting cache/pubsub from your server for multi-replica durability. ### Cloudflare Sandbox provider for remote workspaces The new `@mastra/cloudflare-sandbox` provider runs commands and file operations via a deployed Sandbox Bridge Worker, adding a n