Claude Code 2.1.97
Released8 Apr 20268 Apr 2026. 46 items: 5 added, 28 fixed, 12 improved, 1 changed.
Security2
- IMP Improved auto mode and bypass-permissions mode to auto-approve sandbox network access prompts
-
IMP
Improved sandbox:
sandbox.network.allowMachLookupnow takes effect on macOS
MCP3
- FIX Fixed MCP HTTP/SSE connections accumulating ~50 MB/hr of unreleased buffers when servers reconnect
-
FIX
Fixed MCP OAuth
oauth.authServerMetadataUrlnot being honored on token refresh after restart, fixing ADFS and similar IdPs -
FIX
Fixed a crash in
NO_FLICKERmode when hovering over MCP tool results
Hooks2
-
FIX
Fixed prompt-type
Stop/SubagentStophooks failing on long sessions, and hook evaluator API errors displaying "JSON validation failed" instead of the actual message - IMP Improved session transcript size by skipping empty hook entries and capping stored pre-edit file copies
Plugins and skills3
-
FIX
Fixed
claude plugin updatereporting "already at the latest version" for git-based marketplace plugins when the remote had newer commits -
FIX
Fixed slash command picker breaking when a plugin's frontmatter
nameis a YAML boolean keyword -
CHG
Updated
/claude-apiskill to cover Managed Agents alongside the Claude API
Agents3
-
ADD
Added
● N runningindicator in/agentsnext to agent types with live subagent instances -
FIX
Fixed subagents with worktree isolation or
cwd:override leaking their working directory back to the parent session's Bash tool - FIX Fixed compaction writing duplicate multi-MB subagent transcript files on prompt-too-long retries
Commands2
-
FIX
Fixed several
/resumepicker issues:--resume <name>opening uneditable, Ctrl+A reload wiping search, empty list swallowing navigation, task-status text replacing conversation summary, and cross-project staleness -
IMP
Improved slash command and
@-mention completion to trigger after CJK sentence punctuation, so Japanese/Chinese input no longer requires a space before/or@
Settings15
-
ADD
Added focus view toggle (
Ctrl+O) inNO_FLICKERmode showing prompt, one-line tool summary with edit diffstats, and final response -
ADD
Added
refreshIntervalstatus line setting to re-run the status line command every N seconds -
FIX
Fixed permission rules with names matching JavaScript prototype properties (e.g.
toString) causingsettings.jsonto be silently ignored - FIX Fixed managed-settings allow rules remaining active after an admin removed them until process restart
-
FIX
Fixed
permissions.additionalDirectorieschanges in settings not applying mid-session -
FIX
Fixed removing a directory from
settings.permissions.additionalDirectoriesrevoking access to the same directory passed via--add-dir -
FIX
Fixed copying wrapped URLs in
NO_FLICKERmode inserting spaces at line breaks -
FIX
Fixed scroll rendering artifacts in
NO_FLICKERmode when running inside zellij -
FIX
Fixed a
NO_FLICKERmode memory leak where API retries left stale streaming state -
FIX
Fixed slow mouse-wheel scrolling in
NO_FLICKERmode on Windows Terminal -
FIX
Fixed custom status line not displaying in
NO_FLICKERmode on terminals shorter than 24 rows -
FIX
Fixed Shift+Enter and Alt/Cmd+arrow shortcuts not working in Warp with
NO_FLICKERmode -
FIX
Fixed Bedrock SigV4 authentication failing when
AWS_BEARER_TOKEN_BEDROCKorANTHROPIC_BEDROCK_BASE_URLare set to empty strings (as GitHub Actions does for unset inputs) -
IMP
Improved Accept Edits mode to auto-approve filesystem commands prefixed with safe env vars or process wrappers (e.g.
LANG=C rm foo,timeout 5 mkdir out) -
IMP
Improved Bash tool OTEL tracing: subprocesses now inherit a W3C
TRACEPARENTenv var when tracing is enabled
Permissions2
-
FIX
Fixed
--dangerously-skip-permissionsbeing silently downgraded to accept-edits mode after approving a write to a protected path - FIX Fixed and hardened Bash tool permissions, tightening checks around env-var prefixes and network redirects, and reducing false prompts on common commands
Models and providers2
- IMP Improved image handling: pasted and attached images are now compressed to the same token budget as images read via the Read tool
- IMP Improved transcript accuracy: per-block entries now carry the final token usage instead of the streaming placeholder
Terminal and input1
-
ADD
Added
workspace.git_worktreeto the status line JSON input, set when the current directory is inside a linked git worktree
Sessions and context6
- FIX Fixed rate-limit upgrade options disappearing after context compaction
-
FIX
Fixed file-edit diffs disappearing on
--resumewhen the edited file was larger than 10KB -
FIX
Fixed
--resumecache misses and lost mid-turn input from attachment messages not being saved to the transcript - FIX Fixed messages typed while Claude is working not being persisted to the transcript
- IMP Improved Bridge sessions to show the local git repo, branch, and working directory on the claude.ai session card
- IMP Improved context-low warning to show as a transient footer notification instead of a persistent row
Platforms1
- FIX Fixed Korean/Japanese/Unicode text becoming garbled when copied in no-flicker mode on Windows
Everything else4
-
ADD
Added syntax highlighting for Cedar policy files (
.cedar,.cedarpolicy) -
FIX
Fixed 429 retries burning all attempts in ~13 seconds when the server returns a small
Retry-After— exponential backoff now applies as a minimum - IMP Improved footer layout: indicators (Focus, notifications) now stay on the mode-indicator row instead of wrapping below
- IMP Improved markdown blockquotes to show a continuous left bar across wrapped lines