Claude Code VS Code 扩展在多个聊天标签页下冻结?Windows 的解决方法

📄 中文摘要

Claude Code 扩展在运行多个代理时可能会出现冻结现象,根本原因是多个 claude.exe 进程在没有文件锁定的情况下争夺 ~/.claude.json 文件。根据 Anthropic 的 2.0.61 更新日志,VSCode 对多个终端客户端的支持因响应问题被撤回。虽然之前的版本 2.0.60 支持多标签页正常运行,但在更新到 2.0.61 后,用户频繁遇到冻结问题。为了解决这一问题,建议用户安装 2.0.60 版本并禁用自动更新,以避免多客户端更改带来的问题。

📄 English Summary

Claude Code VS Code extension freezes with multiple chat tabs? Workaround for Windows

The Claude Code extension may freeze when running multiple agents due to multiple claude.exe processes contending for the ~/.claude.json file without file locking. According to the changelog for version 2.0.61 from Anthropic, support for multiple terminal clients was reverted due to responsiveness issues. While version 2.0.60 supported multi-tab functionality without problems, users now frequently experience freezing issues with newer versions. To address this, it is recommended to install version 2.0.60 and disable auto-updates to avoid issues related to the multi-client changes.

Powered by Cloudflare Workers + Payload CMS + Claude 3.5

数据源: OpenAI, Google AI, DeepMind, AWS ML Blog, HuggingFace 等