跳到正文
RadarAI· Claude Code:GitHub Releases(RSS)·· 4 小时前AI 评分12

Claude Code v2.1.306 发布,修复云会话登录与 MCP 工具报错问题

AI 导读

Claude Code 发布 v2.1.306,修复云会话中未带环境变量启动 `claude -p` 时误报“Not logged in”的问题。该版本还修复了在 MCP 工具较多的会话中 API 错误被替换为“prompt is too long”并触发不必要压缩的问题。

正文 · 原文

Claude Code:GitHub Releases· ashwin-ant·2026-10-21 11:16· 2 小时前AI 评分28

v2.1.306

AI 导读

Claude Code 发布 v2.1.306,修复云会话中未带环境变量启动 `claude -p` 时误报“Not logged in”的问题。该版本还修复了在 MCP 工具较多的会话中 API 错误被替换为“prompt is too long”并触发不必要压缩的问题。

正文 · 原文

Immutable release. Only release title and notes can be modified.

d014fc0

What's changed

  • Fixed claude -p inside cloud sessions reporting "Not logged in" when started without the session's environment variables
  • Fixed an API error being replaced by "prompt is too long", and an unneeded compaction, in sessions with many MCP tools

来源:Claude Code:GitHub Releases · github.com

来源:RadarAI · aihot.news