Claude Code 2.1.52 fixes extension crash on Windows, ships with 50+ improvements in recent versions
Bug Fix
Claude Code 2.1.52 resolves a crash affecting VS Code users on Windows where the claude-vscode.editor.openLast command was not found, preventing the extension from functioning properly.
Recent Improvements (2.1.50-2.1.52)
The latest releases include substantial stability and performance enhancements:
Agent & Isolation Improvements
- Added
isolation: "worktree"support for agents to run in temporary git worktrees, improving sandbox isolation - New
--worktreeflag to launch Claude in an isolated environment - Agent background task execution with
background: trueconfiguration - New
claude agentsCLI command to list configured agents
Memory & Performance Optimizations
- Fixed multiple memory leaks affecting long sessions (LSP diagnostics, task output, circular buffers, ChildProcess references)
- Tool results larger than 50K characters now persist to disk, reducing context window usage
- Improved startup performance for headless mode by deferring non-essential imports
- Cleared internal caches and file history snapshots to prevent unbounded memory growth
Developer Experience
- Enhanced MCP OAuth with step-up auth support and discovery caching
- Added
startupTimeoutconfiguration for LSP servers - Support for custom npm registries and version pinning when installing plugins
- Improved error messages suggesting corrected file paths
/modelpicker now shows human-readable labels (e.g., "Sonnet 4.5") with upgrade hints
Security & Reliability
- Fixed security issue where
statusLineandfileSuggestionhook commands could execute without workspace trust - Fixed WebSocket reconnect bug causing duplicate
control_responsemessages and API 400 errors - Fixed session visibility issues with symlinked working directories
- Added environment variables (
CLAUDE_CODE_ACCOUNT_UUID,CLAUDE_CODE_USER_EMAIL,CLAUDE_CODE_ORGANIZATION_UUID) for SDK callers
Plugin & Tool System
WorktreeCreateandWorktreeRemovehook events for custom VCS setup/teardown- Plugins can now ship
settings.jsonfor default configuration - Fixed slash command autocomplete crash with YAML array descriptions in plugin SKILL.md
- BashTool skips login shell by default when snapshots are available, improving command execution performance
Linux Compatibility
- Fixed native modules not loading on systems with glibc older than 2.30 (e.g., RHEL 8)