返回全部动态
Claude Code 2.1.47 发布:修复 Windows 渲染、优化内存与启动性能
原标题:2.1.47
AI 摘要
Anthropic 发布了 Claude Code 2.1.47 版本更新,修复了大量 bug 并改进了性能。主要修复包括 Windows 终端渲染问题、文件写入行计数、PDF 文档压缩失败、内存使用优化、启动性能提升等。此外,还新增了 `last_assistant_message` 字段、`chat:newline` 键绑定和 `added_dirs` 状态栏字段,并改进了后台代理控制方式。
以上摘要由 AI 生成,可能存在误差。事实请以原文为准。
正文节选
- Fixed FileWriteTool line counting to preserve intentional trailing blank lines instead of stripping them with `trimEnd()`. - Fixed Windows terminal rendering bugs caused by `os.EOL` (`\r\n`) in display code — line counts now show correct values instead of always showing 1 on Windows. - Improved VS Code plan preview: auto-updates as Claude iterates, enables commenting only when the plan is ready for review, and keeps the preview open when rejecting so Claude can revise. - Fixed a bug where bold
发布时间:—
抓取时间:2026-09-07 03:46
来源机构:Anthropic