Claude Code 2.1.306
Fixed 2
claude -p in cloud sessions no longer falsely reports "Not logged in"
Running claude -p (which answers once without opening the interactive screen) inside a cloud session without that session's environment variables used to report "Not logged in", as if you had never signed in. It no longer does.
Original changelog
Fixed claude -p inside cloud sessions reporting "Not logged in" when started without the session's environment variables
With many MCP tools, API errors are no longer mislabeled as "prompt is too long"
In sessions with many MCP tools (extensions that connect Claude to outside services), an API error used to show up as "prompt is too long", making you think the conversation had grown too long. It also triggered an unneeded compaction (condensing older conversation into a summary). Now you see the original API error, and your conversation is not compacted for nothing.
Original changelog
Fixed an API error being replaced by "prompt is too long", and an unneeded compaction, in sessions with many MCP tools