Claude Code changelog

Claude Code 2.1.176

This release brings dynamic session titles that adapt to your conversation's language, alongside a new setting for custom link badges in the footer. Significant reliability enhancements include stronger model enforcement, preventing access to blocked models, and improved auto mode fallbacks. Crucial fixes address copy/paste functionality within tmux over SSH, silent model changes during Remote Control sessions, and various issues affecting background sessions, agent management, and daemon startup across different operating systems. These updates deliver a more consistent, secure, and robust experience.

Added

  • Added `footerLinksRegexes` setting for regex-matched link badges in the footer row, configurable via user or managed settings

Improved

  • Improved Bedrock credential caching: credentials from `awsCredentialExport` are now cached until their `Expiration` instead of a fixed 1 hour

Changed

  • Session titles are now generated in the language of your conversation (set the `language` setting to pin a specific language)
  • Background sessions now show clearer guidance when a window left open across an auto-update can't submit a reply, and `claude daemon status` explains version-skew behavior

Fixed

  • Fixed `availableModels` enforcement: alias model picks can no longer be redirected to a blocked model via `ANTHROPIC_DEFAULT_*_MODEL` environment variables, and `/fast` now refuses to toggle when it would switch to a model outside the allowlist
  • Fixed auto mode failing on Fable 5 for organizations without Opus 4.8 enabled — the classifier now falls back to the best available Opus model
  • Fixed hook `if` conditions for Read/Edit/Write tool paths: documented patterns like `Edit(src/**)`, `Read(~/.ssh/**)`, and `Read(.env)` now match correctly
  • Fixed Linux sandbox failing to start when `.claude/settings.json` is a symlink with an absolute target
  • Fixed `/copy` and mouse-selection copy not reaching the system clipboard inside tmux over SSH, and tmux paste buffer not loading on versions older than 3.2
  • Fixed Remote Control connecting from web/mobile silently switching the session's model
  • Fixed Remote Control disconnect notifications showing a bare numeric code instead of a human-readable reason, and connection failures adding a duplicate line to the conversation transcript
  • Fixed Remote Control sessions not disconnecting when you sign in to a different account
  • Fixed `/cd` and worktree moves leaving the session reporting the previous directory's git branch
  • Fixed `claude agents`: pressing back in one window no longer detaches other windows attached to the same session
  • Fixed backgrounded sessions showing "Working" forever when `/bg` mid-turn had nothing left to continue
  • Fixed background agent search by PR URL: PRs opened during scheduled wakeups or while a job was blocked now appear in `claude agents` search
  • Fixed the agents view input showing no text cursor on Windows
  • Fixed `claude --bg -cn <name>` not seeding the session name
  • Fixed background sessions to neutralize Windows network paths in persisted state before respawn
  • Fixed background-session respawn rejecting malformed resume IDs from corrupted state files
  • Fixed the Windows background-service daemon not starting when `~/.claude/daemon` has the ReadOnly attribute set
  • Fixed cloud sessions failing with "Could not resolve authentication method" when idle for too long before being claimed