---
title: "Claude Code v2.1.228 发布：修复布局、会话与自托管 Runner 等多项问题"
source: "Claude Code：GitHub Releases（RSS）"
source_tier: "t1_5"
url: "https://github.com/anthropics/claude-code/releases/tag/v2.1.228"
permalink: "https://feed.astralor.com/items/itm_fd4cb20bff6d4d14cc40b8f7"
published: "2026-08-11T19:50:59.000Z"
score: 75
channel: "ai"
tags: ["Anthropic","Claude Code","MCP","Remote Control","self-hosted runners","Vertex AI"]
---

# Claude Code v2.1.228 发布：修复布局、会话与自托管 Runner 等多项问题

## AI 点评

> 这次补丁更新最值得关注的是自托管 Runner 不再被无关仓库的 checkout 失败拖垮，以及 claude.ai 技能的防泄漏硬化——对于在 CI 或多机远程协作中使用 Claude Code 的团队，这两项能直接减少中断和安全意外。另外 Vertex AI 凭据快速失败也避免了开发时的长时间卡顿，建议使用 Google Cloud 的用户尽快升级。

## 速览

Anthropic 发布 Claude Code v2.1.228，本次更新修复了多种会话与布局异常，包括罕见的内部布局错误导致界面停止重绘、Git/Git Bash 在 Windows 上无法找到的问题、/tui 回退旧模型、跨会话消息发送异常等。自托管 Runner 在处理无关联仓库的 checkout 失败时不再中断，而是警告并跳过。此外还强化了 claude.ai 技能的安全性，防止其遮蔽本地命令或 MCP prompts，并改进 Vertex AI 凭据失效时的快速失败机制。

## 关键点

- 修复罕见的内部布局错误导致会话不再重绘但进程仍在运行的问题
- 修复 Windows 下从 git 安装目录上级目录启动时找不到 Git/Git Bash 的问题
- 自托管 Runner 对不推送的仓库 checkout 失败时跳过并警告，不再中断会话
- 强化 claude.ai 同步的技能，防止其遮蔽本地命令或 MCP prompts，并禁止 ! 命令和 @ 文件展开

## 全文

What's changed Fixed interactive sessions that could stop redrawing entirely, while the process kept running, after a rare internal layout error Fixed git / Git Bash not being found on Windows when Claude Code is launched from a parent folder of the git installation Fixed /tui reverting the session to an earlier model when /model had been changed since the last response Fixed cross-session messaging sometimes starting without an inbox in the first session after install or upgrade Fixed Remote Control /resume while connected leaking the resumed conversation's title or history into the connected session Fixed claude self-hosted-runner sessions failing on every fresh runner when the checkout hook fails for a repository the session doesn't push to; that repository is now skipped with a warning Fixed self-hosted runners ending sessions in the gap between a background task finishing and the follow-up turn starting Fixed session cleanup deleting contents inside a project's memory folder Fixed background plugin-cache cleanup deleting a plugin's cache when its only version is a symlinked development checkout Fixed a settings-merge issue where a marketplace entry redefined in a higher-precedence settings tier could inherit another tier's custom headers; marketplace entries now merge as whole entries Fixed the deferred-tools reminder occasionally being sent to the model twice after a skill invocation Hardened skills synced from claude.ai: they no longer shadow local commands or MCP prompts, their descriptions are sanitized and labeled, and on your machine their bodies don't run ! commands or expand @ files Improved cross-session messages: the sender and body now display inline instead of a collapsed line, and messages to Remote Control sessions on other machines show your Remote Control session name as the sender Improved Vertex AI credential handling: expired or missing Google Cloud credentials now fail within seconds instead of retrying for minutes Improved compaction progress: the retry countdown and stall hint now appear during compaction instead of only a progress bar Updated terminal title busy-spinner glyphs to reduce tab-bar jitter on some terminals Changed the Write tool so newer models can overwrite an existing file they haven't read this session, matching the Edit tool's rules; older models still require the read first Removed the outdated note about auto mode sessions costing slightly more from the first-use notice for Pro, Max, and Team plans

---

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