Unclear Where Claude Code reads CLAUDE_CODE_RESUME_HINT_COMMAND and what it does with the value is not known.
What
Environment variables are settings passed to a program when it starts. Claude Code now recognises CLAUDE_CODE_RESUME_HINT_COMMAND. It passes this variable on when it relaunches itself or starts a background session, next to CLAUDE_CODE_RELAUNCH_RESUME_HINT_FLAGS.
CLAUDE_BG_SESSION_CREDENTIAL is also now passed on in two of those cases.
Why
It probably changes the resume hint, the command Claude Code suggests on exit for getting back to your session. Its value survives a relaunch.
Names in the bundleCLAUDE_CODE_RESUME_HINT_COMMANDCLAUDE_CODE_RELAUNCH_RESUME_HINT_FLAGS
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubt
Where Claude Code reads `CLAUDE_CODE_RESUME_HINT_COMMAND` and what it does with the value is not known.
Anthropic's release notes agree
Added CLAUDE_CODE_RESUME_HINT_COMMAND, which a program that starts Claude Code can set to have the exit hint name its own resume command
The name it cites is new in this build
New in this build: CLAUDE_CODE_RESUME_HINT_COMMAND