跳到正文
Claude Code Releases· ashwin-ant·· 4 小时前AI 评分29

Claude Code v2.1.306 发布

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 Releases · github.com