releaseintermediate
[Release] anthropics/claude-code v2.1.97: v2.1.97
By ashwin-antgithub
View original on githubClaude Code v2.1.97 introduces a focus view toggle for better prompt visibility, enhanced status line customization with git worktree support, improved permissions handling with stricter Bash tool checks, and numerous bug fixes across MCP connections, resume functionality, NO_FLICKER mode rendering, and authentication. The release also improves auto-approval logic for safe commands, image compression consistency, and CJK text input handling.
Key Points
- •Added focus view toggle (Ctrl+O) in NO_FLICKER mode displaying prompt, tool summary with edit diffstats, and final response for better visibility
- •Introduced refreshInterval status line setting to re-run status commands every N seconds and added workspace.git_worktree support for linked git worktrees
- •Fixed critical permissions bug where --dangerously-skip-permissions was silently downgraded after approving protected path writes, and hardened Bash tool permission checks
- •Resolved MCP HTTP/SSE buffer leak accumulating ~50 MB/hr on server reconnects and fixed OAuth token refresh not honoring authServerMetadataUrl
- •Fixed 429 rate-limit retries burning attempts in 13 seconds; exponential backoff now applies as minimum threshold
- •Corrected multiple --resume picker issues including uneditable file opens, search wiping, and transcript persistence for attachment messages and mid-turn input
- •Fixed NO_FLICKER mode rendering artifacts including scroll issues in zellij, memory leaks from API retries, slow Windows Terminal scrolling, and Unicode text garbling
- •Improved auto-approval logic to safely approve filesystem commands with safe env vars (e.g., LANG=C rm foo) and sandbox network access prompts
- •Enhanced CJK input handling to trigger slash commands and @-mentions after sentence punctuation without requiring spaces
- •Added live subagent instance indicator (● N running) in /agents and improved Bridge sessions to display local git repo, branch, and working directory
Found this useful? Add it to a playbook for a step-by-step implementation guide.
Workflow Diagram
Start Process
Step A
Step B
Step C
Complete