v2.1.84
Claude CodeSummary
This release introduces several new configuration options via environment variables for advanced model pinning and streaming timeouts, alongside the opt-in preview of the PowerShell tool for Windows. Key fixes address issues with voice input, terminal key responsiveness, and startup performance, while general improvements enhance readability for large token counts and streamline MCP server configuration.
New Features
- Added PowerShell tool for Windows as an opt-in preview.
- Added `TaskCreated` hook that fires when a task is created via `TaskCreate`.
- Added `WorktreeCreate` hook support for `type: "http"`.
- Added `allowedChannelPlugins` managed setting for team/enterprise admins to define a channel plugin allowlist.
- Added `x-client-request-id` header to API requests for debugging timeouts.
- Added idle-return prompt that nudges users returning after 75+ minutes to `/clear`, reducing unnecessary token re-caching on stale sessions.
- Enabled deep links (`claude-cli://`) to open in your preferred terminal instead of the first detected terminal.
- Rules and skills `paths:` frontmatter now accepts a YAML list of globs.
- Enabled global system-prompt caching when `ToolSearch` is enabled, including for users with MCP tools configured.
Bug Fixes
- Fixed voice push-to-talk: holding the voice key no longer leaks characters into the text input, and transcripts now insert at the correct position.
- Fixed up/down arrow keys being unresponsive when a footer item is focused.
- Fixed `Ctrl+U` (kill-to-line-start) being a no-op at line boundaries in multiline input, so repeated `Ctrl+U` now clears across lines.
- Fixed null-unbinding a default chord binding (e.g. `"ctrl+x ctrl+k": null`) still entering chord-wait mode instead of freeing the prefix key.
- Fixed mouse events inserting literal "mouse" text into transcript search input.
- Fixed workflow subagents failing with API 400 when the outer session uses `--json-schema` and the subagent also specifies a schema.
- Fixed missing background color behind certain emoji in user message bubbles on some terminals.
- Fixed the "allow Claude to edit its own settings for this session" permission option not sticking for users with `Edit(.claude)` allow rules.
- Fixed a hang when generating attachment snippets for large edited files.
- Fixed MCP tool/resource cache leak on server reconnect.
- Fixed a startup performance issue where partial clone repositories (Scalar/GVFS) triggered mass blob downloads.
- Fixed native terminal cursor not tracking the text input caret, so IME composition (CJK input) now renders inline and screen readers can follow the input position.
- Fixed spurious "Not logged in" errors on macOS caused by transient keychain read failures.
- Fixed cold-start race where core tools could be deferred without their bypass active, causing Edit/Write to fail with InputValidationError on typed parameters.
Improvements
- Added configuration via environment variables (`ANTHROPIC_DEFAULT_{OPUS,SONNET,HAIKU}_MODEL_SUPPORTS`, `_MODEL_NAME`, `_DESCRIPTION`) to override default model detection and customize the `/model` picker label.
- Added configuration via environment variable `CLAUDE_STREAM_IDLE_TIMEOUT_MS` to configure the streaming idle watchdog threshold.
- Capped MCP tool descriptions and server instructions at 2KB to prevent OpenAPI-generated servers from bloating context.
- Deduplicated MCP servers configured both locally and via claude.ai connectors; the local config now wins.
- Surfaced a notification after ~45 seconds for background bash tasks that appear stuck on an interactive prompt.
- Token counts ≥1M now display in a more readable format (e.g., "1.5m" instead of "1512.6k").
- Improved detection for dangerous removals of Windows drive roots (`C:`, `C:\Windows`, etc.).
- Improved interactive startup by ~30ms by running `setup()` in parallel with slash command and agent loading.
- Improved startup for `claude "prompt"` with MCP servers; the REPL now renders immediately instead of blocking until all servers connect.
- Improved Remote Control to show a specific reason when blocked instead of a generic "not yet enabled" message.
- Improved p90 prompt cache rate.
- Reduced scroll-to-top resets in long sessions by making the message window immune to compaction and grouping changes.
- Reduced terminal flickering when animated tool progress scrolls above the viewport.
- Changed issue/PR references to only become clickable links when written as `owner/repo#123`; bare `#123` is no longer auto-linked.
- Hidden slash commands unavailable for the current auth setup (e.g., `/voice`, `/mobile`).
- Added rate limit warning banner with usage percentage and reset time in VSCode.
- Made the stats screenshot (Ctrl+S in /stats) work in all builds and 16× faster.