返回全部动态

Claude Code 2.1.21 更新:修复多项问题并增强 VS Code 集成

原标题:2.1.21

Claude Code Changelog一手来源产品发布质量 63

AI 摘要

Claude Code 发布 2.1.21 版本更新,修复了多个问题,包括 shell 补全缓存文件截断、恢复中断会话时的 API 错误、自动压缩触发过早、任务 ID 重用、VS Code 扩展在 Windows 上的文件搜索等。改进包括优化读取/搜索进度指示器、让 Claude 更偏好文件操作工具而非 bash 命令,并在 VS Code 中新增自动激活 Python 虚拟环境的功能。

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

正文节选

- Added support for full-width (zenkaku) number input from Japanese IME in option selection prompts - Fixed shell completion cache files being truncated on exit - Fixed API errors when resuming sessions that were interrupted during tool execution - Fixed auto-compact triggering too early on models with large output token limits - Fixed task IDs potentially being reused after deletion - Fixed file search not working in VS Code extension on Windows - Improved read/search progress indicators to sho


发布时间:—
抓取时间:2026-09-07 03:47
来源机构:Anthropic
阅读原文raw.githubusercontent.com