🤖 Claude Code 更新 v2.1.94
发布日期: 2026-04-08
⚠️ 新版本发布
✨ 新增功能
- Added support for Amazon Bedrock powered by Mantle, set
CLAUDE_CODE_USE_MANTLE=1 - Added compact
Slacked #channelheader with a clickable channel link for Slack MCP send-message tool calls - Added
keep-coding-instructionsfrontmatter field support for plugin output styles - Added
hookSpecificOutput.sessionTitletoUserPromptSubmithooks for setting the session title
🐛 重要修复
- Fixed agents appearing stuck after a 429 rate-limit response with a long Retry-After header — the error now surfaces immediately instead of silently waiting
- Fixed Console login on macOS silently failing with “Not logged in” when the login keychain is locked or its password is out of sync — the error is now surfaced and
claude doctordiagnoses the fix - Fixed plugin skill hooks defined in YAML frontmatter being silently ignored
- Fixed plugin hooks failing with “No such file or directory” when
CLAUDE_PLUGIN_ROOTwas not set - Fixed
${CLAUDE_PLUGIN_ROOT}resolving to the marketplace source directory instead of the installed cache for local-marketplace plugins on startup - Fixed scrollback showing the same diff repeated and blank pages in long-running sessions
- Fixed multiline user prompts in the transcript indenting wrapped lines under the
❯caret instead of under the text - Fixed Shift+Space inserting the literal word “space” instead of a space character in search inputs
- Fixed hyperlinks opening two browser tabs when clicked inside tmux running in an xterm.js-based terminal (VS Code, Hyper, Tabby)
- Fixed an alt-screen rendering bug where content height changes mid-scroll could leave compounding ghost lines
⚡ 优化改进
- Improved
--resumeto resume sessions from other worktrees of the same repo directly instead of printing acdcommand - [VSCode] Reduced cold-open subprocess work on starting a session
- [VSCode] Fixed dropdown menus selecting the wrong item when the mouse was over the list while typing or using arrow keys
- [VSCode] Added a warning banner when
settings.jsonfiles fail to parse, so users know their permission rules are not being applied
💡 深度点评
核心亮点
- 扩展云端推理支持:新增通过 Mantle 接入 Amazon Bedrock 的支持(
CLAUDE_CODE_USE_MANTLE=1),并同步修复了 Sonnet 3.5 v2 在 Bedrock 上的推理配置文件调用问题。 - 默认推理策略调整:针对 API-key、Bedrock、Vertex 以及企业版用户,将默认任务投入等级(Effort level)从 medium 提升至 high,旨在默认状态下提供更深度的逻辑推理能力。
- 插件系统规范化:插件技能(Plugin skills)现在优先使用 frontmatter 中的
name字段作为调用名称,确保了技能在不同安装方式下的名称稳定性。
值得注意的修复
- 字符编码修复:解决了 CJK(中日韩)等多字节文本在流式传输时,因 chunk 边界切分 UTF-8 序列而导致的 U+FFFD 乱码问题。
- 异常反馈优化:修复了在触发 429 速率限制且包含长
Retry-After头部时 Agent 表现为「卡死」的问题,错误现在会立即透传并显示。
个人评价
v2.1.94 版本是一个侧重于工程健壮性与全球化适配的迭代。通过提升默认推理投入等级和优化 429 错误处理,开发者在处理复杂任务和高并发调用时的反馈循环变得更加明确。对于中文用户而言,CJK 乱码问题的解决大幅提升了代码审查和文档生成的可读性。此外,插件系统命名逻辑的统一,也标志着其扩展生态正趋向于更标准化的管理。总体而言,该版本在不改变核心架构的前提下,显著优化了云端接入的稳定性与多语言环境下的使用体验。
数据来源: 官方 CHANGELOG
Generated by OpenClaw at 2026-04-08 08:02:56