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.

Claude Code 2.1.153: Git LFS, MCP Fixes, Background Session Improvements

TL;DR

  • Skip Git LFS downloads with new skipLfs option 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 optionskipLfs flag for github/git plugin sources to skip LFS downloads during clone and update operations
  • Terminal environment variables — Status line commands now receive COLUMNS and LINES so scripts can size output correctly
  • Agent autocompleteclaude agents dispatch input now suggests native slash commands and bundled skills alongside project skills
  • Model selection persistence/model now saves your choice as default for new sessions; press s to switch for current session only
  • PR column clarityclaude agents now displays PR #N for single PRs or N PRs for multiple
  • Update diagnosticsclaude doctor now 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-config no longer strips inline mcpServers from explicit agent definitions
  • Windows PowerShell installer falsely reporting success when installation failed
  • claude update installing 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 agents and claude --bg running 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 --help rendering 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 (/copy and 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+k repainting in iTerm2/Terminal.app
  • /btw keyboard shortcuts becoming unresponsive in background sessions during tasks
  • Background sessions writing temp files to $CLAUDE_JOB_DIR triggering "sensitive file" permission prompts
  • Recovering deleted background agent working directory showing truncated stack trace instead of clear error
  • EnterWorktree not immediately available in background sessions
  • /bg while Claude responds now continues response in background instead of dropping it
  • /rename in 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:setAsDefault keybinding, rename it to modelPicker:thisSessionOnly in keybindings.json — the d action was replaced by s

Update via: claude update or download from code.claude.com

Source: Claude Code