Claude Code cli
ComponentUpdates related to the cli component of Claude Code.
All CLI Features
- Added /copy command to show an interactive picker for selecting individual code blocks or the full response when code blocks are present.(v2.1.59)
- Added `claude remote-control` subcommand for external builds, enabling local environment serving for all users.(v2.1.51)
- Added support for custom npm registries and specific version pinning when installing plugins from npm sources(v2.1.51)
- Added `CLAUDE_CODE_ACCOUNT_UUID`, `CLAUDE_CODE_USER_EMAIL`, and `CLAUDE_CODE_ORGANIZATION_UUID` environment variables for SDK callers to provide account info synchronously.(v2.1.51)
- 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)
- Enabled direct file editing in Simple Mode (`CLAUDE_CODE_SIMPLE`) by including the file edit tool alongside the Bash tool.(v2.1.49)
- Added `ConfigChange` hook event that fires when configuration files change during a session, supporting enterprise security auditing and optional blocking of settings changes.(v2.1.49)
- Enabled SDK model info to include `supportsEffort`, `supportedEffortLevels`, and `supportsAdaptiveThinking` fields for capability discovery.(v2.1.49)
- 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 support for the Claude Sonnet 4.6 model.(v2.1.45)
- Enabled reading of `enabledPlugins` and `extraKnownMarketplaces` from directories specified with `--add-dir`.(v2.1.45)
- Introduced the `spinnerTipsOverride` setting, allowing users to customize or completely replace the default spinner tips.(v2.1.45)
- 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)
- Introduced research preview agent teams feature for multi-agent collaboration (requires setting CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1)(v2.1.32)
- Enabled automatic recording and recall of memories by Claude during work sessions(v2.1.32)
- Added "Summarize from here" option to the message selector for partial conversation summarization(v2.1.32)
- Enabled automatic loading of skills defined in .claude/skills/ within additional directories specified via --add-dir(v2.1.32)
- Added a session resume hint upon exit, guiding users on how to continue their conversation later(v2.1.31)
- Added support for full-width (zenkaku) space input from Japanese IME when selecting checkboxes(v2.1.31)
- Added `pages` parameter to the Read tool for PDFs, allowing specific page ranges to be read (e.g., `pages: "1-5"`).(v2.1.30)
- Enabled lightweight reference return for large PDFs (>10 pages) when mentioned with `@` instead of inlining them into context.(v2.1.30)
- Added pre-configured OAuth client credentials support for MCP servers lacking Dynamic Client Registration (e.g., Slack) using `--client-id` and `--client-secret` with `claude mcp add`.(v2.1.30)
- Added `/debug` command to help troubleshoot the current session.(v2.1.30)
- Added support for additional `git log` and `git show` flags in read-only mode (e.g., `--topo-order`, `--cherry-pick`, `--format`, `--raw`).(v2.1.30)
- Added token count, tool uses, and duration metrics to Task tool results.(v2.1.30)
- Added reduced motion mode to the configuration settings.(v2.1.30)
- Added multiline input support to the "Other" text input in VSCode question dialogs (using Shift+Enter for new lines).(v2.1.30)
- Added arrow key history navigation in vim normal mode when cursor cannot move further(v2.1.20)
- Added external editor shortcut (Ctrl+G) to the help menu for better discoverability(v2.1.20)
- Added PR review status indicator to the prompt footer, showing the current branch's PR state (approved, changes requested, pending, or draft) as a colored dot with a clickable link(v2.1.20)
- Added support for loading `CLAUDE.md` files from additional directories specified via --add-dir flag(v2.1.20)
- Added ability to delete tasks via the `TaskUpdate` tool(v2.1.20)
- Changed the `/commit-push-pr` skill to automatically post PR URLs to Slack channels when configured via MCP tools(v2.1.20)
- Changed the `/copy` command to be available to all users(v2.1.20)
- Changed background agents to prompt for tool permissions before launching(v2.1.20)
- Changed permission rules like `Bash(*)` to be accepted and treated as equivalent to `Bash`, simplifying permission configuration(v2.1.20)
- Added environment variable `CLAUDE_CODE_ENABLE_TASKS` to temporarily disable the new task system.(v2.1.19)
- Introduced shorthand accessors like `$0`, `$1`, etc., for accessing individual arguments within custom commands.(v2.1.19)
- [SDK] Enabled replay of `queued_command` attachment messages as `SDKUserMessageReplay` events when `replayUserMessages` is active.(v2.1.19)
- [VSCode] Enabled session forking and rewind functionality for all users.(v2.1.19)
- Added history-based autocomplete in bash mode, allowing users to type a partial command and press Tab to complete from their bash command history(v2.1.14)
- Added search functionality to the installed plugins list, enabling filtering by name or description(v2.1.14)
- Added support for pinning plugins to specific git commit SHAs, ensuring marketplace entries install exact versions(v2.1.14)
- Added /usage command in VSCode to display current plan usage(v2.1.14)
- Added `showTurnDuration` setting to allow users to hide turn duration messages in the output.(v2.1.7)
- Enabled MCP tool search auto mode by default, deferring tool descriptions that exceed 10% of the context window to reduce upfront context usage.(v2.1.7)
- Added search functionality to the /config command for quickly filtering settings.(v2.1.6)
- Added Updates section to /doctor showing auto-update channel and available npm versions (stable/latest).(v2.1.6)
- Added date range filtering to the /stats command, allowing cycling between Last 7 days, Last 30 days, and All time.(v2.1.6)
- Added automatic discovery of skills from nested .claude/skills directories when working with files in subdirectories.(v2.1.6)
- Added context_window.used_percentage and context_window.remaining_percentage fields to the status line input for easier context window display.(v2.1.6)
- Added an error display when the editor fails during Ctrl+G.(v2.1.6)
- Added a release channel toggle ('stable' or 'latest') accessible via the `/config` command.(v2.1.3)
- [VSCode] Added a clickable destination selector for permission requests, allowing users to choose where settings are saved (this project, all projects, shared with team, or session only).(v2.1.3)
- 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)
- Added Language Server Protocol (LSP) tool support for code intelligence features like go-to-definition, find references, and hover documentation(v2.0.74)
- Added support for the /terminal-setup command across Kitty, Alacritty, Zed, and Warp terminals(v2.0.74)
- Added ctrl+t shortcut within the /theme command to toggle syntax highlighting on and off(v2.0.74)
- Added syntax highlighting information directly to the theme picker interface(v2.0.74)
- Added clickable [Image #N] links that open attached images in the default viewer(v2.0.73)
- Added alt-y yank-pop functionality to cycle through kill ring history after ctrl-y yank(v2.0.73)
- Added search filtering to the plugin discover screen, allowing filtering by name, description, or marketplace(v2.0.73)
- Added support for custom session IDs when forking sessions using --session-id combined with --resume, --continue, or --fork-session(v2.0.73)
- [VSCode] Added tab icon badges showing pending permissions (blue) and unread completions (orange)(v2.0.73)
All CLI Bug Fixes
- Fixed a race condition related to MCP OAuth token refreshing when multiple Claude Code instances were running at the same time.(v2.1.59)
- Fixed shell commands that failed to show a clear error message when the working directory had been deleted.(v2.1.59)
- Fixed another cause of "command 'claude-vscode.editor.openLast' not found" crashes within VS Code.(v2.1.56)
- Fixed UI flicker where user input briefly disappeared after submission before the message rendered.(v2.1.53)
- Fixed bulk agent kill (ctrl+f) to send a single aggregate notification instead of one per agent and properly clear the command queue.(v2.1.53)
- Fixed graceful shutdown sometimes leaving stale sessions when using Remote Control by parallelizing teardown network calls.(v2.1.53)
- Fixed instances where the `--worktree` argument was ignored on the first launch.(v2.1.53)
- Fixed a panic ("switch on corrupted value") occurring on Windows.(v2.1.53)
- Fixed crashes that occurred when spawning many processes on Windows.(v2.1.53)
- Fixed a crash in the WebAssembly interpreter on Linux x64 and Windows x64.(v2.1.53)
- Fixed a crash that sometimes occurred after 2 minutes specifically on Windows ARM64.(v2.1.53)
- Fixed VS Code extension crash on Windows related to the command 'claude-vscode.editor.openLast' not being found.(v2.1.52)
- Fixed a security issue where `statusLine` and `fileSuggestion` hook commands could execute without workspace trust acceptance in interactive mode.(v2.1.51)
- Fixed a security issue where HTTP hooks could interpolate arbitrary environment variables from header values; env var interpolation now requires an explicit `allowedEnvVars` list.(v2.1.51)
- Fixed a bug where duplicate `control_response` messages (e.g. from WebSocket reconnects) could cause API 400 errors by pushing duplicate assistant messages into the conversation.(v2.1.51)
- Fixed slash command autocomplete crashing when a plugin's SKILL.md description is a YAML array or other non-string type(v2.1.51)
- 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 Ctrl+C and ESC being silently ignored when background agents are running; pressing twice within 3 seconds now kills all background agents.(v2.1.49)
- Fixed prompt suggestion cache regression that was reducing cache hit rates.(v2.1.49)
- Fixed `plugin enable` and `plugin disable` to auto-detect the correct scope when `--scope` is omitted, instead of defaulting to user scope.(v2.1.49)
- Fixed verbose mode not updating the thinking block display when toggled via `/config` by ensuring memo comparators correctly detect verbose changes.(v2.1.49)
- Fixed unbounded WASM memory growth during long sessions by periodically resetting the tree-sitter parser.(v2.1.49)
- Fixed potential rendering issues caused by stale yoga layout references.(v2.1.49)
- Fixed unbounded memory growth during long-running sessions caused by Yoga WASM linear memory never shrinking.(v2.1.49)
- Fixed `disableAllHooks` setting to respect managed settings hierarchy, preventing non-managed settings from disabling policy-set managed hooks.(v2.1.49)
- Fixed the `--resume` session picker showing raw XML tags for sessions starting with commands like `/clear`; it now correctly falls through to the session ID fallback.(v2.1.49)
- 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 Agent Teams teammates failing on Bedrock, Vertex, and Foundry by correctly propagating API provider environment variables to tmux-spawned processes.(v2.1.45)
- Resolved sandbox "operation not permitted" errors on macOS when writing temporary files by ensuring the correct per-user temp directory is used.(v2.1.45)
- Fixed a crash in the Task tool (backgrounded agents) caused by a `ReferenceError` upon task completion.(v2.1.45)
- Fixed autocomplete suggestions not being accepted via the Enter key when images have been pasted into the input field.(v2.1.45)
- Fixed skills invoked by subagents incorrectly appearing in the main session context after compaction.(v2.1.45)
- Fixed the accumulation of excessive `.claude.json.backup` files during every startup.(v2.1.45)
- Fixed plugin-provided commands, agents, and hooks not being available immediately after installation without requiring a full restart.(v2.1.45)
- 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 fatal errors being swallowed instead of displayed(v2.1.39)
- Fixed process hanging after session close(v2.1.39)
- Fixed character loss at terminal screen boundary(v2.1.39)
- Fixed blank lines appearing in verbose transcript view(v2.1.39)
- Fixed VS Code terminal scroll-to-top regression introduced in 2.1.37(v2.1.38)
- Fixed Tab key queueing slash commands instead of autocompleting(v2.1.38)
- Fixed bash permission matching for commands using environment variable wrappers(v2.1.38)
- Fixed text between tool uses disappearing when not using streaming(v2.1.38)
- Fixed duplicate sessions when resuming in VS Code extension(v2.1.38)
- Fixed a crash that occurred when agent teams settings were changed between renders.(v2.1.34)
- Fixed a bug where commands excluded from sandboxing could bypass the Bash ask permission rule when auto-allowing Bash was enabled.(v2.1.34)
- Fixed incorrect relative paths shown by @ file completion when running the tool from a subdirectory(v2.1.32)
- Fixed Bash tool throwing "Bad substitution" errors when heredocs contained JavaScript template literals like `${index + 1}`, preventing tool execution(v2.1.32)
- Fixed Thai/Lao spacing vowels (สระ า, ำ) not rendering correctly in the input field(v2.1.32)
- Fixed VSCode issue where slash commands were incorrectly executed when pressing Enter with preceding text in the input field(v2.1.32)
- Fixed permanent session lockups caused by excessively large PDF uploads, which previously required starting a new conversation(v2.1.31)
- Fixed bash commands incorrectly reporting "Read-only file system" errors when sandbox mode was enabled(v2.1.31)
- Fixed a crash that rendered sessions unusable after entering plan mode when the project configuration in `~/.claude.json` was missing default fields(v2.1.31)
- Fixed the `temperatureOverride` parameter being silently ignored in the streaming API path, ensuring configured overrides are respected(v2.1.31)
- Fixed phantom "(no content)" text blocks appearing in API conversation history, which reduced token waste and potential model confusion.(v2.1.30)
- Fixed prompt cache not correctly invalidating when tool descriptions or input schemas changed (it previously only invalidated when tool names changed).(v2.1.30)
- Fixed 400 errors that could occur after running `/login` when the conversation contained thinking blocks.(v2.1.30)
- Fixed a hang that occurred when resuming sessions with corrupted transcript files containing `parentUuid` cycles.(v2.1.30)
- Fixed rate limit message showing an incorrect "/upgrade" suggestion for Max 20x users when extra-usage is unavailable.(v2.1.30)
- Fixed permission dialogs stealing focus while the user was actively typing.(v2.1.30)
- Fixed subagents being unable to access SDK-provided MCP tools because they were not synced to the shared application state.(v2.1.30)
- Fixed a regression where Windows users with a `.bashrc` file could not run bash commands.(v2.1.30)
- Fixed duplicate sessions appearing in the VSCode session list when starting a new conversation.(v2.1.30)
- Fixed session compaction issues that could cause resume to load full history instead of the compact summary(v2.1.20)
- Fixed agents sometimes ignoring user messages sent while actively working on a task(v2.1.20)
- Fixed wide character (emoji, CJK) rendering artifacts where trailing columns were not cleared when replaced by narrower characters(v2.1.20)
- Fixed JSON parsing errors when MCP tool responses contain special Unicode characters(v2.1.20)
- Fixed up/down arrow keys in multi-line and wrapped text input to prioritize cursor movement over history navigation(v2.1.20)
- Fixed draft prompt being lost when pressing UP arrow to navigate command history(v2.1.20)
- Fixed ghost text flickering when typing slash commands mid-input(v2.1.20)
- Fixed marketplace source removal not properly deleting settings(v2.1.20)
- Fixed duplicate output in some commands like `/context`(v2.1.20)
- Fixed task list sometimes showing outside the main conversation view(v2.1.20)
- Fixed syntax highlighting for diffs occurring within multiline constructs like Python docstrings(v2.1.20)
- Fixed crashes when cancelling tool use(v2.1.20)
- Fixed crashes occurring on processors that lack AVX instruction support.(v2.1.19)
- Fixed dangling Claude Code processes when the terminal is closed by implementing SIGKILL as a fallback upon catching EIO errors from `process.exit()`. (v2.1.19)
- Fixed `/rename` and `/tag` commands failing to update the correct session when resuming from a different directory (e.g., git worktrees).(v2.1.19)
- Fixed session resuming by custom title failing when executed from a different directory.(v2.1.19)
- Fixed pasted text content being lost when using prompt stash (Ctrl+S) and subsequent restore.(v2.1.19)
- Fixed the agent list incorrectly displaying "Sonnet (default)" instead of "Inherit (default)" for agents without an explicit model setting.(v2.1.19)
- Fixed backgrounded hook commands not returning early, which previously caused the session to wait unnecessarily.(v2.1.19)
- Fixed file write preview incorrectly omitting empty lines.(v2.1.19)
- Fixed a regression where the context window blocking limit was calculated too aggressively, allowing usage up to ~98% instead of ~65%(v2.1.14)
- Fixed memory issues that could cause crashes when running parallel subagents(v2.1.14)
- Fixed memory leak in long-running sessions where stream resources were not cleaned up after shell commands completed(v2.1.14)
- Fixed the @ symbol incorrectly triggering file autocomplete suggestions in bash mode(v2.1.14)
- Fixed @-mention menu folder click behavior to correctly navigate into directories instead of selecting them(v2.1.14)
- Fixed /feedback command generating invalid GitHub issue URLs when the description is very long(v2.1.14)
- Fixed /context command to display the same token count and percentage as the status line in verbose mode(v2.1.14)
- Fixed an issue where /config, /context, /model, and /todos command overlays could close unexpectedly(v2.1.14)
- Fixed slash command autocomplete selecting the wrong command when typing similar commands (e.g., /context vs /compact)(v2.1.14)
- Fixed inconsistent back navigation in the plugin marketplace when only one marketplace is configured(v2.1.14)
- Fixed iTerm2 progress bar not clearing properly on exit, preventing lingering indicators and bell sounds(v2.1.14)
- Fixed a security vulnerability where wildcard permission rules could incorrectly match compound commands containing shell operators.(v2.1.7)
- Fixed false "file modified" errors occurring on Windows due to cloud sync tools or antivirus scanners touching file timestamps without content changes.(v2.1.7)
- Fixed orphaned `tool_result` errors when sibling tools failed during streaming execution.(v2.1.7)
- Fixed context window blocking limit calculation to use the effective context window (reserving space for max output tokens) instead of the full context window.(v2.1.7)
- Fixed a visual glitch where the spinner briefly flashed when running local slash commands like `/model` or `/theme`.(v2.1.7)
- Fixed terminal title animation jitter by utilizing fixed-width braille characters.(v2.1.7)
- Fixed plugins with git submodules not being fully initialized upon installation.(v2.1.7)
- Fixed bash commands failing on Windows when temporary directory paths contained characters like `t` or `n` that were misinterpreted as escape sequences.(v2.1.7)
- [VSCode] Fixed an issue where the `claudeProcessWrapper` setting was incorrectly passing the wrapper path instead of the Claude binary path.(v2.1.7)
- Fixed permission bypass via shell line continuation that could allow blocked commands to execute.(v2.1.6)
- Fixed false "File has been unexpectedly modified" errors when file watchers touch files without changing content.(v2.1.6)
- Fixed text styling (bold, colors) getting progressively misaligned in multi-line responses.(v2.1.6)
- Fixed the feedback panel closing unexpectedly when typing 'n' in the description field.(v2.1.6)
- Fixed rate limit warning appearing at low usage after weekly reset (now requires 70% usage).(v2.1.6)
- Fixed rate limit options menu incorrectly auto-opening when resuming a previous session.(v2.1.6)
- Fixed numpad keys outputting escape sequences instead of characters in Kitty keyboard protocol terminals.(v2.1.6)
- Fixed Option+Return not inserting newlines in Kitty keyboard protocol terminals.(v2.1.6)
- Fixed corrupted config backup files accumulating in the home directory (now only one backup is created per config file).(v2.1.6)
- Fixed mcp list and mcp get commands leaving orphaned MCP server processes.(v2.1.6)
- Fixed visual artifacts in ink2 mode when nodes become hidden via display:none.(v2.1.6)
- [VSCode] Fixed usage indicator not updating after manual compact.(v2.1.6)
- Fixed plan files persisting across `/clear` commands, ensuring a fresh plan file is used after clearing a conversation.(v2.1.3)
- Fixed false skill duplicate detection on filesystems with large inodes (e.g., ExFAT) by implementing 64-bit precision for inode values.(v2.1.3)
- Fixed mismatch between the background task count displayed in the status bar and the items shown in the tasks dialog.(v2.1.3)
- Fixed sub-agents using the incorrect model during conversation compaction.(v2.1.3)
- Fixed web search in sub-agents using the incorrect model.(v2.1.3)
- Fixed trust dialog acceptance when running from the home directory, ensuring trust-requiring features like hooks are enabled for the session.(v2.1.3)
- 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)
- Fixed an issue where the skill's `allowed-tools` configuration was not being applied to tools invoked by that skill(v2.0.74)
- Resolved an issue where the Opus 4.5 tip was incorrectly displayed to users already running Opus(v2.0.74)
- Fixed a potential crash scenario that occurred when syntax highlighting failed to initialize properly(v2.0.74)
- Fixed a visual bug in /plugins discover where the list selection indicator remained visible while the search box was focused(v2.0.74)
- Fixed macOS keyboard shortcuts to correctly display 'opt' instead of 'alt'(v2.0.74)
- Fixed slow input history cycling and a race condition that could overwrite text after message submission(v2.0.73)
Releases with CLI Changes
v2.1.591 feature2 fixesThis release introduces the new /copy command for easily selecting code blocks and enhances context management by enabling automatic saving to auto-memory. Several stability improvements were made, including fixes for OAuth token refreshing and clearer error messages for shell commands in deleted directories.
v2.1.561 fixThis release focuses on stability within the VS Code extension. The primary update is a fix addressing crashes related to the 'claude-vscode.editor.openLast' command.
v2.1.538 fixesThis release focuses heavily on stability and reliability across multiple platforms. Key fixes address crashes related to process spawning on Windows, WebAssembly interpretation, and issues with Remote Control session cleanup. Additionally, the user experience for bulk agent control has been improved by consolidating notifications.
v2.1.521 fixThis release focuses on stability for VS Code users on Windows. A critical bug causing the extension to crash when attempting to execute the 'claude-vscode.editor.openLast' command has been resolved.
v2.1.513 features4 fixesThis release introduces new capabilities for external builds with the `claude remote-control` subcommand and enhances plugin management by adding support for custom npm registries and version pinning. Several critical security issues related to hook execution and environment variable interpolation have been resolved, alongside performance improvements for BashTool and better context management for long conversations.
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.493 features9 fixesThis release introduces the ability to edit files directly within Simple Mode and adds a new configuration change hook for enhanced security auditing. Several critical bugs related to keyboard input handling, cache regressions, and unbounded memory growth during long sessions have been resolved. Performance has also been improved across startup and non-interactive modes through better caching and reduced API calls.
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.453 features7 fixesThis release introduces support for the new Claude Sonnet 4.6 model and adds significant customization options, including the ability to override spinner tips. Several critical bugs were fixed, particularly around Agent Teams stability on various providers and resolving temporary file permission errors on macOS.
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.394 fixesThis release focuses primarily on stability and correctness within the terminal interface. Key fixes include ensuring fatal errors are properly displayed and resolving issues with processes hanging after session closure.
v2.1.385 fixesThis release focuses primarily on stability and correctness, addressing several bugs related to terminal scrolling, command handling with the Tab key, and session management within the VS Code extension. Users will also benefit from improved parsing for heredoc delimiters and enhanced security by blocking writes to the skills directory in sandbox mode.
v2.1.342 fixesThis release focuses on stability and security fixes. Key updates include resolving a crash related to agent team settings changes and patching a security bypass related to sandboxing exclusions and Bash permission rules.
v2.1.324 features4 fixesThis release introduces the research preview agent teams feature for multi-agent collaboration and enables Claude to automatically record and recall memories. Users can now also summarize partial conversations using the new "Summarize from here" option. Several bugs related to file completion, Bash tool execution with template literals, and Thai/Lao character rendering have also been resolved.
v2.1.312 features4 fixesThis release focuses on stability and clarity, fixing critical bugs related to large file handling, configuration errors, and API parameter overrides. Users will benefit from clearer error messages, reduced UI jitter during streaming, and improved model guidance toward using dedicated tools.
v2.1.308 features9 fixesThis release introduces significant enhancements to the Read tool, allowing specific page ranges for PDFs and returning lightweight references for very large documents. Key fixes address issues with phantom content in API history and session corruption hangs. Additionally, new debugging tools and improved memory management for session resumption enhance overall stability and usability.
v2.1.209 features12 fixesThis release introduces several new quality-of-life features, including PR review status indicators in the prompt footer and improved vim navigation. Numerous bugs related to agent responsiveness, rendering artifacts for wide characters, and history navigation have been resolved. Additionally, the UI has been refined with better status animations and improved configuration management for tool permissions and config backups.
v2.1.194 features8 fixesThis release introduces new shorthand argument accessors (`$0`, `$1`) for custom commands and enables session forking/rewind in VSCode for all users. Several critical bugs were resolved, including crashes on older processors and issues with session resumption across different directories.
v2.1.144 features11 fixesThis release introduces significant quality-of-life improvements, including history-based autocomplete for bash and search functionality for installed plugins. Several critical bugs were resolved, notably fixing an overly aggressive context window blocking limit and addressing memory leaks in long-running sessions.
v2.1.72 features9 fixesThis release introduces new configuration options, including the ability to hide turn duration messages and an improved default behavior for managing large tool sets via MCP search auto mode. Several critical bugs were fixed, addressing security vulnerabilities, false file modification errors on Windows, and issues related to context window calculation and command execution.
v2.1.66 features12 fixesThis release introduces several new command-line utilities, including search for /config and date range filtering for /stats, alongside automatic skill discovery in subdirectories. Numerous bugs have been resolved, particularly concerning terminal input handling (numpad, Option+Return) and stability issues with rate limit warnings and configuration backups. The user experience is also enhanced with improved task dialogs and better context window visibility.
v2.1.32 features6 fixesThis release simplifies the user experience by merging slash commands and skills and introduces a new configuration option to select the release channel ('stable' or 'latest'). Several critical bugs were fixed, including issues with plan file persistence after clearing conversations and incorrect model usage in sub-agents. Additionally, VS Code users gain more control over permission saving destinations.
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.
v2.0.744 features5 fixesThis release introduces significant code intelligence capabilities with the addition of LSP support for features like go-to-definition and hover documentation. Several key bugs have been resolved, including fixes for tool invocation permissions and stability issues related to syntax highlighting initialization. Users will also benefit from improved context command visualization and expanded terminal setup options.
v2.0.735 features1 fixThis release introduces several new quality-of-life features, including clickable image links and enhanced kill ring cycling. Users will also benefit from improved search experiences across various screens and better visual feedback via new tab icon badges in VS Code. A critical bug related to input history overwriting text has also been resolved.