Claude Code 2.1.153: Git LFS, MCP Fixes, Background Session Improvements
Claude Code 2.1.153 brings Git LFS skip option, major background session fixes for terminal rendering and clipboard sync, MCP server stability improvements, and model selection persistence. Includes 40+ bug fixes and refinements.
TL;DR
- Skip Git LFS downloads with new
skipLfsoption for faster clones - Major background session fixes: terminal rendering, clipboard sync, session recovery
- MCP server stability improvements and subagent configuration fixes
- Model picker now saves your default selection across sessions
New
- Git LFS skip option —
skipLfsflag for github/git plugin sources to skip LFS downloads during clone and update operations - Terminal environment variables — Status line commands now receive
COLUMNSandLINESso scripts can size output correctly - Agent autocomplete —
claude agentsdispatch input now suggests native slash commands and bundled skills alongside project skills - Model selection persistence —
/modelnow saves your choice as default for new sessions; presssto switch for current session only - PR column clarity —
claude agentsnow displaysPR #Nfor single PRs orN PRsfor multiple - Update diagnostics —
claude doctornow shows results of your last update attempt; npm global installs display one-time notice when auto-update fails - macOS background agents — Now appear as "Claude Code" in Privacy & Security and retain permission grants across upgrades
Fixed
- Stateful MCP servers without optional GET SSE stream were reconnect-looping on
tools/list(regression from v2.1.147) - Custom API gateways receiving user's Anthropic OAuth credential instead of gateway's own token
- Subagent MCP servers ignoring
--strict-mcp-config,--bare, remote mode, and managed policies; now surfaces visible warnings for blocked servers --strict-mcp-configno longer strips inlinemcpServersfrom explicit agent definitions- Windows PowerShell installer falsely reporting success when installation failed
claude updateinstalling latest version instead of configured release channel version for npm- Excessive memory usage (multiple GB) when resuming sessions by transcript file path on machines with many stored sessions
claude agentsandclaude --bgrunning on stale daemon after binary-takeover support upgrade- CLI hang when stdin closed without EOF in stream-json mode, leaving stale session marker
- Malformed
file://links in Claude's responses not clickable in terminal claude --helprendering unwrapped on terminals narrower than 92 columns- MCP tool progress notifications not rendering in collapsed tool view
- Agent tool with
subagent_type: 'claude'running in undocumented temporary worktree, silently discarding outputs to gitignored paths - Background session clipboard sync (
/copyand copy-on-select) failing silently inside tmux - Background session terminal rendering: IME candidate window position on Windows, background-color bleed from 256-color terminals,
cmd+krepainting in iTerm2/Terminal.app /btwkeyboard shortcuts becoming unresponsive in background sessions during tasks- Background sessions writing temp files to
$CLAUDE_JOB_DIRtriggering "sensitive file" permission prompts - Recovering deleted background agent working directory showing truncated stack trace instead of clear error
EnterWorktreenot immediately available in background sessions/bgwhile Claude responds now continues response in background instead of dropping it/renamein background sessions not updating session banner immediately- Remote Control leaving zombie session entries on Code tab after exiting
claude agents - Windows update rollback now restores original executable by copy with recovery instructions
- VSCode: Claude Code processes not shutting down cleanly on Windows, causing false "unclean exit" reports and orphaned MCP servers
- Combined separate "needs authentication" notifications for MCP servers and connectors into single message
Breaking Changes
- If you customized
modelPicker:setAsDefaultkeybinding, rename it tomodelPicker:thisSessionOnlyin keybindings.json — thedaction was replaced bys
Update via: claude update or download from code.claude.com
Source: Claude Code