返回全部动态
Mastra 发布存储保留、多租户隔离及代理改进
原标题:July 3, 2026
AI 摘要
Mastra 发布 2026 年 7 月 3 日更新,核心新增可选存储保留策略与 storage.prune() 批量清理功能,支持多租户隔离、持久化轨迹评分 API,并改进代理嵌套子代理和模型路由安全性。同时新增 Apple Container、Mesa 等沙箱提供商,并包含若干破坏性变更。
以上摘要由 AI 生成,可能存在误差。事实请以原文为准。
正文节选
## Highlights ### Opt-in Storage Retention + `storage.prune()` (Core + Postgres/libSQL/MongoDB) Mastra now supports per-domain/per-table retention policies (`retention: { ...maxAge }`) and a safe, batched, resumable `storage.prune()` to delete aged data across major “growth” tables (memory, observability spans, workflow snapshots, background tasks, experiments, schedules, etc.). Postgres/libSQL/MongoDB adapters add first-class pruning implementations (including partition/chunk drops for v-ne
发布时间:2026-07-07 15:59
抓取时间:2026-08-02 00:26
来源机构:Mastra