---
title: "Claude Code v2.1.227 发布：修复订阅判定与 Bash 命令问题"
source: "Claude Code：GitHub Releases（RSS）"
source_tier: "t1_5"
url: "https://github.com/anthropics/claude-code/releases/tag/v2.1.227"
permalink: "https://feed.astralor.com/items/itm_28a097875fa1b6de773758f4"
published: "2026-08-10T22:56:53.000Z"
score: 63
channel: "ai"
tags: ["Anthropic","CI/CD","Claude Code","订阅计费"]
---

# Claude Code v2.1.227 发布：修复订阅判定与 Bash 命令问题

## AI 点评

> 这次更新最值得关注的是过期登录令牌导致订阅误判的修复，它暴露出一个容易被忽视的边界状态。对于大量使用 claude-code-action 做自动化的团队，Bash 命令的修复也值得尽快升级。总的来说是小版本，但稳定性收益实在。

## 速览

Claude Code v2.1.227 更新日志，修复了会话使用过期登录令牌启动时，功能标志未评估用户订阅等级的问题，避免 Max 用户被错误提示启用 Fable 用量额度；同时修复了 claude-code-action 在 GitHub 托管运行器上 Bash 命令失败的问题，以及 /tui 回退到首条消息之前的问题。此外，改进斜杠命令菜单的视觉样式和性能，减少文件未找到提示与@提及大小检查的事件循环停滞。

## 关键点

- 修复过期登录令牌导致的订阅等级误判，避免 Max 用户被错误提示。
- 修复 GitHub 托管运行器上 claude-code-action 的 Bash 命令失效问题。
- /tui 不再恢复回退到首条消息之前的旧对话。
- 斜杠命令菜单改进，且性能提升。

## 全文

What's changed Fixed feature flags being evaluated without the user's subscription tier when a session started with an expired login token, which could wrongly prompt Max plan users to enable usage credits for Fable Fixed every Bash command failing under claude-code-action with allowed_non_write_users on GitHub-hosted runners Fixed /tui bringing back a conversation that had been rewound to before its first message Improved slash-command menu: blue now marks only the selected row, matched characters are bolded instead of recolored, and emoji or accented names keep their glyphs Improved performance: fewer event-loop stalls on file-not-found suggestions and at-mention size checks

---

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