Claude Code v2.1.206 更新:新增目录路径建议、改进代码审查质量

v2.1.206

精选理由

Claude Code 新版修复了 MCP 工具默认 60 秒超时的痛点,/cd 也能补全目录了,代码审查质量在 opus-4-8 上更好,赶紧升级。

AI 摘要

v2.1.206 为 /cd 命令新增目录路径建议,与 /add-dir 行为对齐。/doctor 新增检查,可修剪 CLAUDE.md 中 Claude 能从代码库推导出的内容。/commit-push-pr 现在自动允许 git push 到远程仓库配置的 remote(除 origin 外)。修复了 MCP 服务器通过 --mcp-config 或 .mcp.json 配置时忽略 per-server request_timeout_ms 的问题,避免了长调用在 60s 默认超时失败。在 claude-opus-4-8 上改进了 /code-review 发现质量。

原文 · Claude Code: GitHub Releases

v2.1.206

What's changed Added directory path suggestions to /cd , matching /add-dir behavior Added a /doctor check that proposes trimming checked-in CLAUDE.md files by cutting content Claude could derive from the codebase /commit-push-pr now auto-allows git push to the repo's configured push remote ( remote.pushDefault , or the sole remote when only one is configured) in addition to origin Gateway: /login now supports Anthropic-operated public gateway endpoints EnterWorktree now asks for confirmation before entering a git worktree outside the project's .claude/worktrees/ directory Background agents now upgrade to a new version in the background right after a Claude Code update, instead of paying a slow stale-session upgrade when you attach Fixed an expired login failing every model with a misleading "There's an issue with the selected model" error instead of prompting to run /login Fixed claude --resume and --continue not responding to keyboard input on startup Fixed MCP servers configured via --mcp-config or .mcp.json ignoring a per-server request_timeout_ms , which caused long-running MCP tool calls to time out at the 60s default in fresh sessions Fixed CLAUDE_CODE_EXTRA_BODY being silently ignored by claude agents / --bg background workers; the shell-exported override now follows the dispatching session Fixed OAuth MCP servers requiring manual re-authentication after a single failed token refresh Fixed --permission-prompt-tool pointing at an MCP server crashing with "MCP tool not found" on cold start before the server finishes connecting Fixed /model picker rows printing a price for a different model than the row named, and stopped quoting first-party list prices on providers that don't bill them Fixed server-provided model rows being misplaced in the /model picker when an entitlement or allowlist restriction drops the row they were positioned against Fixed desktop sessions getting stuck showing "running" after a slash command was sent mid-turn Fixed keyboard input being ignored in the agents view when a setup prompt appeared before a bare claude --resume on Windows Fixed claude rm leaving the removed job in the daemon roster, causing the row to reappear in claude agents Fixed /remote-control showing "Unknown command" when logged out — it now explains how to sign in Fixed left arrow not stepping back out of a phase or agent in the workflow detail view Fixed /status listing the same broken-install warning twice Fixed false "disused plugin" tips and skewed disuse telemetry for LSP plugins Fixed /doctor 's update check to compare Homebrew installs against their cask's channel instead of the settings channel Fixed the fullscreen jump-to-bottom pill suggesting Ctrl+End on macOS, not showing rebound chords, and wrapping over the transcript Bedrock: fixed a multi-minute startup hang when using an awsCredentialExport helper on networks with restricted egress Improved /code-review findings quality on claude-opus-4-8 across all effort levels Improved agents view: status column now uses full terminal width instead of truncating at 64 characters Changed agents view: Ctrl+X now permanently removes a completed session, and sessions no longer render twice; deleted background jobs stay deleted