Claude Code desktop
ComponentUpdates related to the desktop component of Claude Code.
All DESKTOP Features
- Added support for configuring the startup timeout for LSP servers via the `startupTimeout` setting.(v2.1.50)
- Introduced `WorktreeCreate` and `WorktreeRemove` hook events to allow custom setup/teardown when agent worktrees are managed.(v2.1.50)
- Enabled declarative use of isolated git worktrees for agents via `isolation: worktree` in agent definitions.(v2.1.50)
- Added the `claude agents` command to the CLI for listing all configured agents.(v2.1.50)
- Added support for the `CLAUDE_CODE_DISABLE_1M_CONTEXT` environment variable to disable the 1M context window feature.(v2.1.50)
- Enabled the full 1M context window support for Opus 4.6 (fast mode).(v2.1.50)
- Added support for the `/extra-usage` command within VS Code sessions.(v2.1.50)
- Added `last_assistant_message` field to Stop and SubagentStop hook inputs, allowing hooks to access the final assistant response text.(v2.1.47)
- Added `chat:newline` keybinding action for configurable multi-line input.(v2.1.47)
- Added `added_dirs` to the statusline JSON `workspace` section, exposing directories added via `/add-dir` to external scripts.(v2.1.47)
- Enabled using `ctrl+f` to kill all background agents instead of double-pressing ESC, allowing background agents to continue running when ESC cancels the main thread.(v2.1.47)
- Added CLI subcommands for authentication management: `claude auth login`, `claude auth status`, and `claude auth logout`(v2.1.41)
- Added native binary support for Windows ARM64 (win32-arm64) architecture(v2.1.41)
- Added new task management system with dependency tracking capabilities.(v2.1.16)
- Introduced native plugin management support within the VSCode extension.(v2.1.16)
- Enabled OAuth users in VSCode to browse and resume remote Claude sessions directly from the Sessions dialog.(v2.1.16)
- Added source path metadata to images dragged onto the terminal to help Claude understand image origins(v2.1.2)
- Added clickable hyperlinks for file paths in tool output in terminals that support OSC 8 (like iTerm)(v2.1.2)
- Added support for Windows Package Manager (winget) installations with automatic detection and update instructions(v2.1.2)
- Added Shift+Tab keyboard shortcut in plan mode to quickly select "auto-accept edits" option(v2.1.2)
- Added FORCE_AUTOUPDATE_PLUGINS environment variable to allow plugin autoupdate even when the main auto-updater is disabled(v2.1.2)
- Added agent_type to SessionStart hook input, populated if --agent is specified(v2.1.2)
All DESKTOP Bug Fixes
- Fixed an issue where resumed sessions could be invisible when the working directory contained symlinks due to inconsistent path resolution during startup.(v2.1.50)
- Fixed session data loss upon SSH disconnect by ensuring session data is flushed before hooks and analytics during graceful shutdown.(v2.1.50)
- Fixed native modules failing to load on Linux systems using glibc older than 2.30 (e.g., RHEL 8).(v2.1.50)
- Fixed a memory leak in agent teams where completed teammate tasks were not being garbage collected from session state.(v2.1.50)
- Fixed `CLAUDE_CODE_SIMPLE` mode to correctly strip down skills, session memory, custom agents, and CLAUDE.md token counting.(v2.1.50)
- Fixed the `/mcp reconnect` command from freezing the CLI when provided with a non-existent server name.(v2.1.50)
- Fixed a memory leak where completed task state objects were not being removed from AppState.(v2.1.50)
- Fixed an issue where MCP tools were not discovered when tool search was enabled and a prompt was provided as a launch argument.(v2.1.50)
- Fixed unbounded memory growth in long sessions by capping file history snapshots.(v2.1.50)
- Fixed a memory leak where LSP diagnostic data was not cleaned up after delivery.(v2.1.50)
- Fixed a memory leak where completed task output was not being freed from memory.(v2.1.50)
- Fixed a prompt suggestion cache regression that resulted in lower cache hit rates.(v2.1.50)
- Fixed a memory leak where TaskOutput retained recent lines after cleanup.(v2.1.50)
- Fixed a memory leak in CircularBuffer where cleared items were retained in the backing array.(v2.1.50)
- Fixed a memory leak in shell command execution where ChildProcess and AbortController references were retained after cleanup.(v2.1.50)
- Fixed FileWriteTool line counting to preserve intentional trailing blank lines instead of stripping them.(v2.1.47)
- Fixed Windows terminal rendering bugs where line counts showed incorrect values (always 1) due to `os.EOL` (`\r\n`) in display code.(v2.1.47)
- Fixed bold and colored text in markdown output shifting to the wrong characters on Windows due to `\r\n` line endings.(v2.1.47)
- Fixed compaction failing when conversations contain many PDF documents by stripping document blocks alongside images before sending to the compaction API.(v2.1.47)
- Fixed bash tool output being silently discarded on Windows when using MSYS2 or Cygwin shells.(v2.1.47)
- Fixed the bash permission classifier from incorrectly granting permissions based on hallucinated descriptions.(v2.1.47)
- Fixed user-defined agents only loading one file on NFS/FUSE filesystems that report zero inodes.(v2.1.47)
- Fixed plugin agent skills silently failing to load when referenced by bare name instead of fully-qualified plugin name.(v2.1.47)
- Fixed CWD tracking temp files never being cleaned up on Windows, preventing indefinite accumulation.(v2.1.47)
- Fixed API 400 errors ("thinking blocks cannot be modified") in sessions with concurrent agents caused by interleaved streaming content blocks.(v2.1.47)
- Fixed a single file write/edit error from aborting all other parallel file write/edit operations; independent mutations now complete on failure.(v2.1.47)
- Fixed custom session titles set via `/rename` being lost after resuming a conversation.(v2.1.47)
- Fixed collapsed read/search hint text overflowing on narrow terminals by truncating from the start.(v2.1.47)
- Fixed bash commands using backslash-newline continuation lines (`\` followed by newline) producing spurious empty arguments.(v2.1.47)
- Fixed built-in slash commands being hidden from the autocomplete dropdown when many user skills are installed.(v2.1.47)
- Fixed MCP servers not appearing in the MCP Management Dialog after deferred loading.(v2.1.47)
- Fixed session name persisting in status bar after `/clear` command.(v2.1.47)
- Fixed crash when a skill's `name` or `description` in SKILL.md frontmatter is a bare number, by coercing the value to a string.(v2.1.47)
- Fixed `/resume` silently dropping sessions when the first message exceeds 16KB or uses array-format content.(v2.1.47)
- Fixed `claude doctor` misclassifying mise and asdf-managed installations as native installs.(v2.1.47)
- Fixed zsh heredoc failing with "read-only file system" error in sandboxed commands.(v2.1.47)
- Fixed agent progress indicator showing inflated tool use count.(v2.1.47)
- Fixed image pasting not working on WSL2 systems where Windows copies images as BMP format.(v2.1.47)
- Fixed background agent results returning raw transcript data instead of the agent's final answer.(v2.1.47)
- Fixed Warp terminal incorrectly prompting for Shift+Enter setup when it supports it natively.(v2.1.47)
- Fixed CJK wide characters causing misaligned timestamps and layout elements in the TUI.(v2.1.47)
- Fixed custom agent `model` field in `.claude/agents/*.md` being ignored when spawning team teammates.(v2.1.47)
- Fixed plan mode being lost after context compaction, causing the model to switch from planning to implementation mode.(v2.1.47)
- Fixed `alwaysThinkingEnabled: true` in settings.json not enabling thinking mode on Bedrock and Vertex providers.(v2.1.47)
- Fixed `tool_decision` OTel telemetry event not being emitted in headless/SDK mode.(v2.1.47)
- Fixed session name being lost after context compaction; renamed sessions now preserve their custom title through compaction.(v2.1.47)
- Fixed `/resume <session-id>` failing to find sessions whose first message exceeds 16KB.(v2.1.47)
- Fixed "Always allow" on multiline bash commands creating invalid permission patterns that corrupt settings.(v2.1.47)
- Fixed React crash (error #31) when a skill's `argument-hint` in SKILL.md frontmatter uses YAML sequence syntax, by coercing the value to a string.(v2.1.47)
- Fixed crash when using `/fork` on sessions that used web search by gracefully handling null entries in search results.(v2.1.47)
- Fixed read-only git commands triggering FSEvents file watcher loops on macOS by adding --no-optional-locks flag.(v2.1.47)
- Fixed custom agents and skills not being discovered when running from a git worktree; project-level agent/skill directories are now included.(v2.1.47)
- Fixed non-interactive subcommands like `claude doctor` and `claude plugin validate` being blocked inside nested Claude sessions.(v2.1.47)
- Windows: Fixed the same CLAUDE.md file being loaded twice when drive letter casing differs between paths.(v2.1.47)
- Fixed inline code spans in markdown being incorrectly parsed as bash commands.(v2.1.47)
- Fixed teammate spinners not respecting custom spinnerVerbs from settings.(v2.1.47)
- Fixed shell commands permanently failing after a command deletes its own working directory.(v2.1.47)
- Fixed hooks (PreToolUse, PostToolUse) silently failing.(v2.1.47)
- Fixed AWS authentication refresh hanging indefinitely by implementing a 3-minute timeout(v2.1.41)
- Fixed file resolution failing for @-mentions that include anchor fragments (e.g., `@README.md#installation`)(v2.1.41)
- Fixed FileReadTool blocking the main process when reading from FIFOs, `/dev/stdin`, or very large files(v2.1.41)
- Fixed background task notifications failing to deliver when operating in streaming Agent SDK mode(v2.1.41)
- Fixed cursor jumping to the end of the input field on every keystroke within classifier rule input(v2.1.41)
- Fixed markdown link display text being incorrectly dropped, showing only the raw URL(v2.1.41)
- Fixed users being incorrectly shown auto-compact failure error notifications(v2.1.41)
- Fixed permission wait time being incorrectly included in the elapsed time displayed for subagents(v2.1.41)
- Fixed proactive ticks firing erroneously while the tool is in plan mode(v2.1.41)
- Fixed stale permission rules not being cleared when settings are modified on disk(v2.1.41)
- Fixed hook blocking errors incorrectly displaying stderr content within the user interface(v2.1.41)
- Fixed out-of-memory crashes occurring when resuming sessions that utilized heavy subagent usage.(v2.1.16)
- Resolved an issue where the "context remaining" warning failed to hide after executing the `/compact` command.(v2.1.16)
- Fixed session titles displayed on the resume screen so they now correctly respect the user's configured language setting.(v2.1.16)
- [IDE] Fixed a race condition on Windows where the Claude Code sidebar view container failed to appear upon application startup.(v2.1.16)
- Fixed a command injection vulnerability in bash command processing where malformed input could execute arbitrary commands(v2.1.2)
- Fixed a memory leak where tree-sitter parse trees were not being freed, causing WASM memory to grow unbounded over long sessions(v2.1.2)
- Fixed binary files (images, PDFs, etc.) being accidentally included in memory when using @include directives in CLAUDE.md files(v2.1.2)
- Fixed updates incorrectly claiming another installation is in progress(v2.1.2)
- Fixed crash when socket files exist in watched directories(v2.1.2)
- Fixed remote session URL and teleport being broken when using /tasks command(v2.1.2)
- Fixed MCP tool names being exposed in analytics events by sanitizing user-specific server configurations(v2.1.2)
- Fixed usage display not updating after manual compact in VSCode(v2.1.2)
Releases with DESKTOP Changes
v2.1.507 features15 fixesThis release introduces significant stability and memory management improvements, fixing numerous memory leaks across sessions, task handling, and diagnostics. Key new features include declarative agent worktree isolation, new CLI commands for agent management, and expanded context window control via environment variables.
v2.1.474 features43 fixesThis release focuses heavily on stability and platform compatibility, delivering numerous bug fixes across Windows, shell execution, and file system interactions. Key improvements include better memory management for long sessions, faster file suggestion performance, and enhanced usability for the VS Code plan preview feature.
v2.1.412 features11 fixesThis release introduces new command-line tools for managing authentication (`claude auth`) and adds native support for Windows ARM64. Several critical bugs were resolved, including fixes for hanging AWS authentication, file resolution issues with @-mentions, and process blocking when reading large files or standard input.
v2.1.163 features4 fixesThis release introduces a significant new task management system featuring dependency tracking and enhances IDE integration with native plugin management in VSCode. Key fixes address stability issues, including out-of-memory crashes during session resume, and corrects display logic for context warnings and session titles.
v2.1.26 features8 fixesThis release introduces several new capabilities, including source path metadata for dragged images and support for winget installations. Key fixes address a command injection vulnerability and memory leaks during long sessions. Additionally, large tool outputs are now saved to disk instead of being truncated, ensuring Claude has access to the full content.