# Claude Code v2.1.174 发布

- 来源：Claude Code：GitHub Releases（RSS）
- 作者：ashwin-ant
- 发布时间：2026-06-12 09:16
- AIHOT 分数：44
- AIHOT 链接：https://aihot.virxact.com/items/cmqa8w8h10j7cslldu2uca5nc
- 原文链接：https://github.com/anthropics/claude-code/releases/tag/v2.1.174

## AI 摘要

新增 `wheelScrollAccelerationEnabled` 设置，全屏禁用鼠标滚轮加速。修复 /model 选择器：Opus 在 Max/Team Premium/Enterprise 独立行，Sonnet 在 Pro/Team，Opus 在 API 按量付费账户；修复固定 Sonnet 版本时的硬编码标签；企业账户误显示积分横幅；Bedrock GovCloud 区域前缀错误导致 400 错误；后台会话继承另一会话环境变量；macOS/Linux 退出时 1-2 秒暂停；git co-author 模型名错误；/advisor 预选被 availableModels 屏蔽；skill 热重载仅发送变更；Workflow tool 子智能体缺失归属头；预温后台 worker 空闲后认证失败。[VSCode] 在 /usage 新增过去 24h/7d 的缓存未命中、长上下文、子智能体及 skill/agent/plugin/MCP 分解归因。

## 正文

What's changed

Added wheelScrollAccelerationEnabled setting to disable mouse-wheel scroll acceleration in fullscreen mode

Fixed the /model picker hiding the model family that Default resolves to — Opus now appears as its own row on Max/Team Premium/Enterprise plans, Sonnet on Pro/Team plans, and Opus on pay-as-you-go API accounts

Fixed /model picker showing a hardcoded Sonnet version label when ANTHROPIC_DEFAULT_SONNET_MODEL pins a different Sonnet

Fixed the "Fable 5 is now consuming usage credits" banner incorrectly showing for enterprise accounts with usage-based billing

Fixed Bedrock GovCloud regions (us-gov-*) deriving the wrong inference profile prefix (global instead of us-gov), causing 400 errors on derived model IDs

Fixed background sessions inheriting another session's ANTHROPIC_* provider env (gateway URL, custom headers, /model aliases) from the shell that started the background daemon

Fixed a 1-2 second pause when exiting Claude Code shortly after a shell command was interrupted or killed on macOS and Linux

Fixed git commit co-author attribution showing an incorrect model name for some models

Fixed the /advisor dialog pre-selecting a saved advisor model that is blocked by the availableModels allowlist

Fixed skill hot-reload re-sending the entire skill listing when a single skill changed; only changed skills are now re-announced

Fixed Workflow tool agent() subagents missing per-agent attribution headers

[VSCode] Added usage attribution to the Account & usage dialog (/usage) showing cache misses, long context, subagents, and per-skill/agent/plugin/MCP breakdowns over the last 24h or 7d

Fixed pre-warmed background workers failing with "Could not resolve authentication method" when claimed after sitting idle
