v2.1.176
2.1.176
Highlights:
- Grep help suggests ripgrep, clarifies output/head_limit/offset, improving searches and predictable slicing
- availableModels blocks env-var aliases redirecting to blocked models, avoiding accidental selection
- Bedrock awsCredentialExport credentials cached until Expiration, not fixed 1h, preventing expiry and refreshes
CLI changelog
- Added footerLinksRegexes setting for regex-matched link badges in the footer row, configurable via user or managed settings
- 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
- … +10 more CLI changelog entries
Source: https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md#21176
Metadata
-
Time since 2.1.175 release: 17h 24m 16s
-
Bundle file size: +124.6 kB (+0.4%)
-
Prompt files: +3 (+4.5%)
-
Prompt tokens: +5,595 (+5.8%)
Prompt token mix by kind:
- tools: 88.2%→88.9%
- system-reminder: 8.8%→8.3%
- system-data: 1.4%→1.3%
- skill: 0.7%→0.7%
- system: 0.6%→0.6%
- agent: 0.3%→0.3%
Files:
- metadata: 97161cb/meta/metadata.md#diff-a08dfa163baef97ea4f56d29009ac65f5f7dbc46e3a58e80d7aa06a2a2520899L10-R10
- prompt stats: 97161cb/meta/prompt-stats.md#diff-fa8e31336ece71d159f37b6fd4ed0c61939849140bd5c08c7ca793b5b2ae7f58L1-R1
Other prompt changes
- Clarifies the grep tool description and usage: recommends using Grep for searches and explains output modes (content, files_with_matches, count) plus head_limit and offset behavior.
Links: