You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
AuthArea: what it touches
ImprovementsKind: in v2.1.328,
ImprovementsSection of the release
What
The program that starts Claude Code can hand it credentials, either through an environment variable (a named setting passed to a program when it starts) or through a file. Claude Code now treats an empty value for that variable differently depending on CLAUDE_CODE_HOST_AUTH_ASK_AT_START:
Without it, an empty value now counts as not set, so Claude Code can use credentials from the file instead.
When the file points at a different service address than the one already given at launch, Claude Code keeps the launch value and shows a warning, as before. It now also notes whether that kept value is empty.
Why
If something launches Claude Code with an empty credential variable, the result may now differ, depending on whether CLAUDE_CODE_HOST_AUTH_ASK_AT_START is set.