Claude Code 2.1.306
This update focuses on core reliability improvements for cloud environments and advanced tool users. A significant fix addresses the "Not logged in" error for the command-line interface within cloud sessions when started without environment variables. Additionally, API error reporting is now more precise, replacing generic "prompt is too long" messages with actual errors, alongside optimizing performance by eliminating unneeded compaction in sessions rich with many MCP tools. These changes enhance stability and user experience for specific use cases.
Source: official Claude Code release notes. Summaries are written from the official notes; see how we work.
Fixed
- 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
Get notified the minute the next Claude Code release ships
AI Drops sends a push with a plain-English summary of every release.
Get AI Drops on the App Store