surshar / claude-code
Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.
Built by Anthropic · github.com/anthropics
| @@ -1,5 +1,67 @@ | ||
| 1 | 1 | # Changelog |
| 2 | 2 | |
| 3 | +## 2.1.83 | |
| 4 | + | |
| 5 | +- Added `managed-settings.d/` drop-in directory alongside `managed-settings.json`, letting separate teams deploy independent policy fragments that merge alphabetically | |
| 6 | +- Added `CwdChanged` and `FileChanged` hook events for reactive environment management (e.g., direnv) | |
| 7 | +- Added `sandbox.failIfUnavailable` setting to exit with an error when sandbox is enabled but cannot start, instead of running unsandboxed | |
| 8 | +- Added `disableDeepLinkRegistration` setting to prevent `claude-cli://` protocol handler registration | |
| 9 | +- Added `CLAUDE_CODE_SUBPROCESS_ENV_SCRUB=1` to strip Anthropic and cloud provider credentials from subprocess environments (Bash tool, hooks, MCP stdio servers) | |
| 10 | +- Added transcript search — press `/` in transcript mode (`Ctrl+O`) to search, `n`/`N` to step through matches | |
| 11 | +- Added `Ctrl+X Ctrl+E` as an alias for opening the external editor (readline-native binding; `Ctrl+G` still works) | |
| 12 | +- Pasted images now insert an `[Image #N]` chip at the cursor so you can reference them positionally in your prompt | |
| 13 | +- Agents can now declare `initialPrompt` in frontmatter to auto-submit a first turn | |
| 14 | +- `chat:killAgents` and `chat:fastMode` are now rebindable via `~/.claude/keybindings.json` | |
| 15 | +- Fixed mouse tracking escape sequences leaking to shell prompt after exit | |
| 16 | +- Fixed Claude Code hanging on exit on macOS | |
| 17 | +- Fixed screen flashing blank after being idle for a few seconds | |
| 18 | +- Fixed a hang when diffing very large files with few common lines — diffs now time out after 5 seconds and fall back gracefully | |
| 19 | +- Fixed a 1–8 second UI freeze on startup when voice input was enabled, caused by eagerly loading the native audio module | |
| 20 | +- Fixed a startup regression where Claude Code would wait ~3s for claude.ai MCP config fetch before proceeding | |
| 21 | +- Fixed `--mcp-config` CLI flag bypassing `allowedMcpServers`/`deniedMcpServers` managed policy enforcement | |
| 22 | +- Fixed claude.ai MCP connectors (Slack, Gmail, etc.) not being available in single-turn `--print` mode | |
| 23 | +- Fixed `caffeinate` process not properly terminating when Claude Code exits, preventing Mac from sleeping | |
| 24 | +- Fixed bash mode not activating when tab-accepting `!`-prefixed command suggestions | |
| 25 | +- Fixed stale slash command selection showing wrong highlighted command after navigating suggestions | |
| 26 | +- Fixed `/config` menu showing both the search cursor and list selection at the same time | |
| 27 | +- Fixed background subagents becoming invisible after context compaction, which could cause duplicate agents to be spawned | |
| 28 | +- Fixed background agent tasks staying stuck in "running" state when git or API calls hang during cleanup | |
| 29 | +- Fixed `--channels` showing "Channels are not currently available" on first launch after upgrade | |
| 30 | +- Fixed uninstalled plugin hooks continuing to fire until the next session | |
| 31 | +- Fixed queued commands flickering during streaming responses | |
| 32 | +- Fixed slash commands being sent to the model as text when submitted while a message is processing | |
| 33 | +- Fixed scrollback jumping when collapsed read/search groups finish after scrolling offscreen | |
| 34 | +- Fixed scrollback jumping to top when the model starts or stops thinking | |
| 35 | +- Fixed SDK session history loss on resume caused by hook progress/attachment messages forking the parentUuid chain | |
| 36 | +- Fixed copy-on-select not firing when you release the mouse outside the terminal window | |
| 37 | +- Fixed ghost characters appearing in height-constrained lists when items overflow | |
| 38 | +- Fixed `Ctrl+B` interfering with readline backward-char at an idle prompt — it now only fires when a foreground task can be backgrounded | |
| 39 | +- Fixed tool result files never being cleaned up, ignoring the `cleanupPeriodDays` setting | |
| 40 | +- Fixed space key being swallowed for up to 3 seconds after releasing voice hold-to-talk | |
| 41 | +- Fixed ALSA library errors corrupting the terminal UI when using voice mode on Linux without audio hardware (Docker, headless, WSL1) | |
| 42 | +- Fixed voice mode SoX detection on Termux/Android where spawning `which` is kernel-restricted | |
| 43 | +- Fixed Remote Control sessions showing as Idle in the web session list while actively running | |
| 44 | +- Fixed footer navigation selecting an invisible Remote Control pill in config-driven mode | |
| 45 | +- Fixed memory leak in remote sessions where tool use IDs accumulate indefinitely | |
| 46 | +- Improved Bedrock SDK cold-start latency by overlapping profile fetch with other boot work | |
| 47 | +- Improved `--resume` memory usage and startup latency on large sessions | |
| 48 | +- Improved plugin startup — commands, skills, and agents now load from disk cache without re-fetching | |
| 49 | +- Improved Remote Control session titles: AI-generated titles now appear within seconds of the first message | |
| 50 | +- Improved `WebFetch` to identify as `Claude-User` so site operators can recognize and allowlist Claude Code traffic via `robots.txt` | |
| 51 | +- Reduced `WebFetch` peak memory usage for large pages | |
| 52 | +- Reduced scrollback resets in long sessions from once per turn to once per ~50 messages | |
| 53 | +- Faster `claude -p` startup with unauthenticated HTTP/SSE MCP servers (~600ms saved) | |
| 54 | +- Bash ghost-text suggestions now include just-submitted commands immediately | |
| 55 | +- Increased non-streaming fallback token cap (21k → 64k) and timeout (120s → 300s local) so fallback requests are less likely to be truncated | |
| 56 | +- Interrupting a prompt before any response now automatically restores your input so you can edit and resubmit | |
| 57 | +- `/status` now works while Claude is responding, instead of being queued until the turn finishes | |
| 58 | +- Plugin MCP servers that duplicate an org-managed connector are now suppressed instead of running a second connection | |
| 59 | +- Linux: respect `XDG_DATA_HOME` when registering the `claude-cli://` protocol handler | |
| 60 | +- Changed "stop all background agents" keybinding from `Ctrl+F` to `Ctrl+X Ctrl+K` to stop shadowing readline forward-char | |
| 61 | +- Deprecated `TaskOutput` tool in favor of using `Read` on the background task's output file path | |
| 62 | +- [VSCode] Spinner now turns red with "Not responding" when the backend hasn't responded for 60 seconds | |
| 63 | +- [VSCode] Fixed session history not loading correctly when reopening a session via URL or after restart | |
| 64 | + | |
| 3 | 65 | ## 2.1.81 |
| 4 | 66 | |
| 5 | 67 | - Added `--bare` flag for scripted `-p` calls — skips hooks, LSP, plugin sync, and skill directory walks; requires `ANTHROPIC_API_KEY` or an `apiKeyHelper` via `--settings` (OAuth and keychain auth disabled); auto-memory fully disabled |