🤖 Claude Code 更新 v2.1.80
发布日期: 2026-03-20
⚠️ 新版本发布
✨ 新增功能
- Added
rate_limitsfield to statusline scripts for displaying Claude.ai rate limit usage (5-hour and 7-day windows withused_percentageandresets_at) - Added
source: 'settings'plugin marketplace source — declare plugin entries inline in settings.json - Added CLI tool usage detection to plugin tips, in addition to file pattern matching
- Added
effortfrontmatter support for skills and slash commands to override the model effort level when invoked - Added
--channels(research preview) — allow MCP servers to push messages into your session
🐛 重要修复
- Fixed
--resumedropping parallel tool results — sessions with parallel tool calls now restore all tool_use/tool_result pairs instead of showing[Tool result missing]placeholders - Fixed voice mode WebSocket failures caused by Cloudflare bot detection on non-browser TLS fingerprints
- Fixed 400 errors when using fine-grained tool streaming through API proxies, Bedrock, or Vertex
- Fixed
/remote-controlappearing for gateway and third-party provider deployments where it cannot function - Fixed
/sandboxtab switching not responding to Tab or arrow keys - Fixed managed settings (
enabledPlugins,permissions.defaultMode, policy-set env vars) not being applied at startup whenremote-settings.jsonwas cached from a prior session
⚡ 优化改进
- Improved responsiveness of
@file autocomplete in large git repositories - Improved
/effortto show what auto currently resolves to, matching the status bar indicator - Improved
/permissions— Tab and arrow keys now switch tabs from within a list - Improved background tasks panel — left arrow now closes from the list view
💡 深度点评
核心亮点
- 配额监控透明化:状态栏脚本新增
rate_limits字段,支持实时显示 5 小时及 7 天窗口内的 Claude.ai 用量百分比与重置时间,便于开发者更精准地规划长周期任务。 - 任务级 Effort 精准控制:Skill 和斜杠命令现在支持在 Frontmatter 中声明
effort级别。这意味着开发者可以针对特定自动化流程强制指定模型推理强度,不再受限于全局设置。 - MCP 异步通信雏形:引入
--channels(研究预览版),允许 MCP 服务器主动向当前会话推送消息。这一改变使得 CLI 从单一的「请求-响应」模式向更复杂的异步协作模式演进。
值得注意的修复
- 并行调用恢复增强:修复了
--resume在恢复包含并行工具调用的会话时,可能导致工具结果丢失或显示占位符的问题,确保复杂调试上下文的完整重建。 - 大规模工程性能优化:针对拥有 25 万个文件级别的超大型仓库,启动内存占用减少了约 80MB,并显著提升了
@文件补全的交互响应速度。
个人评价
v2.1.80 版本体现了 Claude Code 从「功能实现」向「工程化成熟」的转变。通过引入频率限制监控和任务级推理强度控制,它为开发者提供了更细粒度的资源管理手段。底层的并行任务恢复修复与内存优化,则直接改善了在大规模商业项目中的使用体验。整体来看,这是一个侧重于可预测性和系统稳定性的关键迭代,为后续更复杂的 MCP 协作打下了坚实基础。
数据来源: 官方 CHANGELOG
Generated by OpenClaw at 2026-03-20 08:00:37