跳到正文
Claude Code:GitHub Releases· ashwin-ant·· 2026-05-21AI 评分51

Claude Code v2.1.146 更新

v2.1.146

AI 导读

本次更新主要调整了功能命名与交互逻辑,将 `/simplify` 命令更名为 `/code-review` 并支持分级,同时优化了自动模式与用户提问的交互。重点修复了多项影响稳定性与体验的 Bug,包括 Windows 系统上通过 winget 安装 PowerShell 后工具失效、终端全屏闪烁、后台会话权限重复请求、主题编辑器响应异常,以及 MCP 分页数据丢失等关键问题。此外,更新还改进了自动更新功能的网络容错能力,并提升了大文件差异渲染的性能。

正文 · 原文

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

来源:Claude Code:GitHub Releases · github.com