Strands Agents SDK 发布 mcp/v0.3.0 版本
原标题:mcp/v0.3.0
AI 摘要
Strands Agents SDK 发布 mcp/v0.3.0 版本,包含大量功能更新。主要变更包括:MCP 客户端切换到 @modelcontextprotocol/client 2.0、新增 Agent.shutdown() 清理机制、默认使用 opus 5 和高思考模式、合并 Strands harness、新增 bm25 搜索策略、支持 MCP SEP-2663 任务、新增 web_fetch 和 handoff_to_user 等工具、要求 Node.js 22+ 并放弃 Node 20 支持。这些更新覆盖 TypeScript 和 Python 双语言实现,涉及 MCP 协议兼容、模型路由、缓存配置、会话管理和双向流式音频等多个方向。
正文节选
## mcp/v0.3.0 _Auto-drafted from commits in `mcp/v0.2.9..mcp/v0.3.0`, grouped by conventional-commit type. Edit on the release page after publish if you want a polished writeup; the canonical release notes live on the website._ ### 🚀 Features - feat(mcp-ts)!: swap to @modelcontextprotocol/client 2.0 (#4093) (ab8ff46f1) - feat(bidi): require explicit model IDs for providers (#4525) (8732c7c90) - feat(agent): add Agent.shutdown() for scope-based cleanup (#4519) (fec042766) - feat(defaults): opu