Unclear It is not known whether the helper changes the value Claude Code ends up using.
What
Claude Code checks whether it should refresh your login token when CLAUDE_CODE_OAUTH_TOKEN is set. That check now reads the variable through a helper instead of straight from the environment.
Why
This could change how the token is found during that check.
Names in the bundleCLAUDE_CODE_OAUTH_TOKEN
The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.
Confirmed since
Anthropic's documentation has since written up CLAUDE_CODE_OAUTH_TOKEN, on Automate actions with hooks.
If your machine has no [managed settings](/docs/en/settings#check-what-your-organization-enforces) and your session doesn't use [`/login` credentials](/docs/en/authentication#authentication-precedence) for a Team or Enterprise plan, a [mod…hooks-guide see the edit
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubt
It is not known whether the helper changes the value Claude Code ends up using.
Anthropic's documentation agrees
Anthropic's documentation has since written up CLAUDE_CODE_OAUTH_TOKEN, on Automate actions with hooks.