返回全部动态

Mastra 发布 1.80.0:用户级连接、Span 聚合与错误分类

原标题:October 28, 2026

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

AI 摘要

Mastra 发布 @mastra/core 1.80.0 等更新,新增 @mastra/connect 的终端用户级 OAuth 连接、聊天内“请求连接”提示、跨 ClickHouse/Postgres/DuckDB 的 span 聚合 API,以及统一的 provider 错误分类与持久化。更新还改进了运行状态订阅和持久执行取消控制,并包含多项破坏性变更,如 queryTraceThreads 移除 model/provider 字段、connect 会话返回 launchUrl 等。

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

正文节选

## Highlights ### End-user (per-resource) connections in `@mastra/connect` `tools({ resourceId })` and new `userConnectRoutes()` enable user-scoped OAuth connections so agents can safely use each end user’s accounts (in addition to global connections), with built-in caching and hard enforcement that one user’s connection can’t serve another user. ### In-chat “request connection” prompts for missing integrations Resource-scoped tool resolution now includes a built-in `request_connection`


发布时间:2026-10-28 23:23
抓取时间:2026-10-28 23:42
来源机构:Mastra
阅读原文github.com