返回全部动态

Mastra 更新:Knowledge 页面树、Agent 持久化与可观测性升级

原标题:November 4, 2026

Mastra Releases一手来源产品发布质量 78

AI 摘要

Mastra 发布多项更新:Knowledge 升级为页面树模型,新增服务端同步 API、只读 HTTP/JS 客户端接口与 SSE 变更流;持久化 Agent 支持跨 API 重启续跑,但需具备 fencing 能力的共享存储;后台任务与 MCP 支持可恢复的“需要输入”流程;可观测性新增流式延迟指标与更丰富的 trace 过滤。同时包含若干破坏性变更,如 Temporal 步骤默认校验输入、移除实验性 memory 选项与 knowledge.reindex()。

以上摘要由 AI 生成,可能存在误差。事实请以原文为准。

正文节选

## Highlights ### Knowledge v2: page-tree model, richer tools, and server-side sync APIs Knowledge is now a first-class page tree (pages/notes/pins) with major tool upgrades: `knowledge_list`, line/section/grep-style reads in `knowledge_read`, list pinning (`kind: 'list'`), and a link index for counting/listing `[[links]]`. Apps can also sync external content via server APIs like `knowledge.upsertPage()`/`removePage()` and note upserts, with optional vector/hybrid search and chunked embeddin


发布时间:2026-11-04 18:59
抓取时间:2026-11-04 19:46
来源机构:Mastra
阅读原文github.com