Claude Code 用户终于有了更清晰的代码审查命令,且修复了多个影响日常使用的 Windows 和 MCP 问题,建议所有用户更新以获得更稳定的体验。
Anthropic 发布了 Claude Code 的 v2.1.146 版本,主要将 /simplify 命令重命名为 /code-review,并支持可选的 effort 级别(如 /code-review high)。该版本修复了多个问题,包括 Windows PowerShell 工具在特定安装方式下的失败、MCP 资源列表分页丢失、Windows Terminal 全屏闪烁、背景会话权限重复询问等。此外,改进了自动更新器的可靠性,在版本检查和下载时对临时网络失败进行重试,并提升了大型文件编辑的 diff 渲染性能。
v2.1.146
What's changed Renamed /simplify to /code-review with an optional effort level (e.g. /code-review high ) Auto mode no longer suppresses AskUserQuestion when the user or a skill explicitly relies on it Fixed Windows PowerShell tool failing with "command line is invalid" when pwsh is installed via winget or the Microsoft Store (regression in v2.1.124) Fixed MCP resources/list , resources/templates/list , and prompts/list dropping items past page 1 on paginating servers Fixed full-screen strobing in attached background sessions on Windows Terminal while Claude is streaming Fixed the auto-updater status line not showing your current version when an update fails Fixed on Windows, removing a background-job worktree no longer follows NTFS junctions into the main repo Fixed /background refusing sessions whose only typed input was a skill or custom slash command Fixed backgrounded sessions re-prompting for tool permissions you already granted with "don't ask again" Fixed /theme color editor and "New custom theme" dialogs not responding to Esc Fixed an uncaught exception at the end of streaming sessions when running via the Agent SDK Fixed forceLoginOrgUUID and forceLoginMethod managed-settings policies not being enforced against third-party-provider and API-key sessions Fixed GNOME Terminal right-click and middle-click paste not inserting text Fixed CLAUDE_CODE_SUBAGENT_MODEL not being forwarded to child processes in multi-agent sessions Improved auto-updater reliability: native version checks and downloads now retry transient network failures instead of failing immediately Improved diff rendering performance for large file edits