---
title: "Claude Code v2.1.225 发布：修复 OAuth 与 Remote Control 多项稳定性问题"
source: "Claude Code：GitHub Releases（RSS）"
source_tier: "t1_5"
url: "https://github.com/anthropics/claude-code/releases/tag/v2.1.225"
permalink: "https://feed.astralor.com/items/itm_c80d7f3293c44964e5d117f3"
published: "2026-08-08T01:09:26.000Z"
score: 76
channel: "ai"
tags: ["Claude Code","MCP OAuth","Remote Control","VSCode 集成","网关消费限额"]
---

# Claude Code v2.1.225 发布：修复 OAuth 与 Remote Control 多项稳定性问题

## AI 点评

> 这版更新看起来全是小修，但对跑无人值守任务或远程控制多台机器的人来说，OAuth 401 和会话恢复的坑会直接消耗大量排查时间。尤其 SendMessage 主动发起跨机对话，让 Remote Control 从一个‘被动应答’工具变得更像一个可编排的接口。VSCode 用户也能少几次手动展开焦点视图的烦躁。

## 速览

Claude Code v2.1.225 发布，重点修复了 OAuth 令牌失效、macOS MCP OAuth 服务间歇性 401、headless 会话跨会话消息滞留等问题；新增网关消费限额支持和工作区信任提示，并增强 Remote Control：可跨机器按名称主动发起会话、图片附件直接可见，VSCode 聚焦视图也改进了待办与思考片段的折叠表现。

## 关键点

- 新增网关消费限额支持，达到限额时提示中会显示上限、重置时间和操作者留言。
- 修复多个 OAuth/401 问题，包括长生命周期令牌失效和 macOS MCP OAuth 服务间歇性认证失败。
- Remote Control 支持通过 SendMessage 按名称主动发起跨机器会话，图片附件可直接交给 Claude。
- 修复 VSCode Focus 视图折叠待办、自托管 runner 启动失败以及 Web 会话重连积压等问题。

## 全文

What's changed Added gateway spend-limit support to Claude Code's usage warning; the limit-reached message now names the cap, its reset time, and the operator's message (requires the gateway on 2.1.225) Added a workspace trust prompt to claude agents for untrusted directories, matching the behavior of claude Fixed a transient 401 replacing a long-lived CLAUDE_CODE_OAUTH_TOKEN with a stored login's short-lived token, breaking headless sessions until restart Fixed MCP OAuth servers on macOS intermittently failing with a burst of 401 errors, as if never authenticated, after a keychain read timed out Fixed auto mode counting a safety-filter refusal of its own permission check toward the consecutive-block limit; the action is still denied, but the model is now told to move on rather than retry Fixed cross-session messages staying parked without a notice or expiry in headless sessions and during startup Fixed conversation history breaking on Remote Control session resume after very large conversations were compacted Fixed hovering over a session in another project in the agents list changing the directory the next agent starts in Fixed claude self-hosted-runner registering and then failing every session when --base-dir cannot be created or written; it now exits at startup with a clear error Fixed Claude Code on the web sessions being misreported as stuck, re-sending a growing event backlog on every reconnect Improved Remote Control: photos attached from the Claude app are now shown to Claude directly instead of being read from disk with a separate tool call [VSCode] Fixed Focus view folding away the latest to-do list, a pending question's context, and settled answers; thinking-only folds show "Thought for Ns" and re-collapse when their turn completes SendMessage can now start a conversation with your Remote Control sessions on other machines by name (ListAgents shows them as name [ref]), instead of only replying after they message you first SendMessage: a Remote Control recipient you already confirmed is never swapped for a same-named session on this machine when its own list couldn't be checked

---

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