返回全部动态

Claude Code 2.1.27 发布:新增 PR 会话恢复与多项修复

原标题:2.1.27

Claude Code Changelog一手来源产品发布质量 68

AI 摘要

Claude Code 发布 2.1.27 版本更新,新增了 `--from-pr` 标志以恢复与特定 GitHub PR 关联的会话,并自动关联通过 `gh pr create` 创建的会话。同时修复了多个问题,包括网关用户的上下文管理验证错误、/context 命令颜色输出、状态栏重复显示、Windows 下 bash 命令执行失败及控制台窗口闪烁,以及 VSCode 中 OAuth 令牌过期导致的 401 错误。

以上摘要由 AI 生成,可能存在误差。事实请以原文为准。

正文节选

- Added tool call failures and denials to debug logs - Fixed context management validation error for gateway users, ensuring `CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS=1` avoids the error - Added `--from-pr` flag to resume sessions linked to a specific GitHub PR number or URL - Sessions are now automatically linked to PRs when created via `gh pr create` - Fixed /context command not displaying colored output - Fixed status bar duplicating background task indicator when PR status was shown - Windows:


发布时间:—
抓取时间:2026-09-07 03:47
来源机构:Anthropic
阅读原文raw.githubusercontent.com