返回全部动态
Claude Code 2.1.85 发布:新增 MCP 环境变量与 hooks 过滤,修复多项问题
原标题:2.1.85
AI 摘要
Claude Code 2.1.85 版本发布,新增了 MCP 服务器环境变量、hooks 条件过滤字段、时间戳标记等多项功能,并修复了多个 bug,包括 /compact 失败、MCP OAuth 授权、内存泄漏等问题。该版本还改进了性能,如用纯 TypeScript 实现替换 WASM yoga-layout 以提升滚动性能。
以上摘要由 AI 生成,可能存在误差。事实请以原文为准。
正文节选
- Added `CLAUDE_CODE_MCP_SERVER_NAME` and `CLAUDE_CODE_MCP_SERVER_URL` environment variables to MCP `headersHelper` scripts, allowing one helper to serve multiple servers - Added conditional `if` field for hooks using permission rule syntax (e.g., `Bash(git *)`) to filter when they run, reducing process spawning overhead - Added timestamp markers in transcripts when scheduled tasks (`/loop`, `CronCreate`) fire - Added trailing space after `[Image #N]` placeholder when pasting images - Deep link
发布时间:—
抓取时间:2026-09-07 03:46
来源机构:Anthropic