---
title: "Claude Code v2.1.207 发布：Auto模式默认启用，大量Bug修复与安全改进"
source: "Claude Code：GitHub Releases（RSS）"
source_tier: "t1_5"
url: "https://github.com/anthropics/claude-code/releases/tag/v2.1.207"
permalink: "https://feed.astralor.com/items/itm_c3736098cbeb1f592efc07ac"
published: "2026-07-11T00:52:10.000Z"
score: 81
channel: "ai"
tags: ["Anthropic","Claude Code","流式输出","稳定性和安全性修复","自动模式"]
---

# Claude Code v2.1.207 发布：Auto模式默认启用，大量Bug修复与安全改进

## AI 点评

> 这次更新修复清单之长令我印象深刻，几乎覆盖了所有常见痛点，特别是流式输出卡顿和远程安全设置。如果你平时使用 Claude Code，强烈建议立即升级，体验会好很多。

## 速览

Claude Code 发布 v2.1.207 版本，Auto模式现已在 Bedrock、Vertex AI 等平台上默认启用（无需环境变量开关），用户可通过设置关闭。本次更新修复了多个关键问题，包括终端在流式响应大块内容时冻结、自定义启动脚本被覆盖、远程管理设置、提示注入警告、复合命令权限、转录跳跃、Git配置残留、括号模式错误、代理团队崩溃循环、后台会话恢复、远程控制任务状态丢失、深度研究标签错误等。此外，默认模型改为 Claude Opus 4.8，Auto模式设置迁移至用户级配置文件，并加强了插件 shell 注入防护。整体提升了稳定性、安全性和用户体验。

## 关键点

- Auto 模式现默认启用，无需设置环境变量，可在设置中关闭
- 修复终端在流式加载大表格/代码块时冻结及按键延迟问题
- 全面修复远程管理、插件安全、后台会话、Git 工作树等多项稳定性问题
- 默认模型切换为 Claude Opus 4.8，Auto 模式设置迁移至用户级配置

## 全文

What's changed Auto mode is now available without CLAUDE_CODE_ENABLE_AUTO_MODE opt-in on Bedrock, Vertex AI, and Foundry; disable via disableAutoMode in settings Fixed the terminal freezing and keystrokes lagging while streaming responses containing very long lists, tables, paragraphs, or code blocks Fixed remote managed settings from a non-interactive run (claude -p, the SDK) being permanently recorded as consented without ever showing the security consent dialog Fixed spurious prompt-injection warnings triggered by benign system-generated conversation updates Fixed the auto-updater overwriting a custom launcher script or symlink at ~/.local/bin/claude on every release; /doctor now reports an externally managed launcher Fixed compound commands with cd prompting for permission when the only output redirect was to /dev/null Fixed the transcript jumping above the start of the answer when a response finishes streaming Fixed extensions.worktreeConfig being left in the repo's .git/config (breaking go-git tools like tea) after the last worktree.sparsePaths worktree was removed Fixed malformed bracket patterns in rules globs, skill paths, .ignore, and .worktreeinclude breaking file reads, file suggestions, and worktree creation Fixed a crash loop in agent teams where a malformed teammate mailbox message caused repeated errors every second until the mailbox file was manually deleted Fixed background sessions auto-named by accepting a plan not showing that name on their agent-view row Fixed background sessions that entered a git worktree resuming blank after a cold reopen from the agent list Fixed Remote Control task status updates being lost when the connection recovered from a network interruption or credential refresh Fixed Remote Control sessions hosted by the desktop app not showing background agent and workflow progress on mobile and web Fixed Deep research runs labeling every Fetch-phase agent "unknown" — chips now show the source hostname Fixed Bedrock repeatedly requesting fresh AWS SSO credentials from IAM Identity Center on every API request Improved agent view: pasting the same text again now expands the collapsed [Pasted text #N] placeholder instead of adding a second one Improved agent view: blocked session peeks now lead with the question and show a worded staleness clock (waiting 3m) instead of the same timestamp twice Changed Bedrock, Vertex, and Claude Platform on AWS to default to Claude Opus 4.8 Changed auto mode to no longer read autoMode from .claude/settings.local.json (repo-resident); use ~/.claude/settings.json instead Fixed an indefinite hang on Windows when AWS credential resolution stalls (e.g. a stuck credential_process): the 60-second stall guard now fires instead of waiting forever. Plugin hooks/monitors/MCP headersHelper: ${user_config.*} in shell-form commands is now rejected (shell-injection fix). Hooks: use exec form (args array) or $CLAUDE_PLUGIN_OPTION_<KEY>; monitors and headersHelper: read the value inside the script (config file or the server's env block). Plugin option values (pluginConfigs) are no longer read from project-level .claude/settings.json; only user, --settings, and managed settings are honored Fixed /usage-credits amount inputs silently stripping malformed values (e.g. a pasted timestamp) to digits; malformed amounts are now rejected with an error, and amounts over $1,000 require a typed confirmation

---

引用前请核对原文;本文由星际流动整理:https://feed.astralor.com/items/itm_c3736098cbeb1f592efc07ac
