Unclear It is not clear what either variable does when set.
What
Two new environment variables (settings passed to a program when it starts) are added to the lists of variables that a host, a program that launches Claude Code, can pass through:
CLAUDE_CODE_HOST_NARROWS_SERVED_SETTINGSis read together withCLAUDE_CODE_PROVIDER_MANAGED_BY_HOST. It leads to a check that needsCLAUDE_CODE_REMOTEto be true, an environment kind that is unset oranthropic_cloud, and one further internal check. What it narrows in the settings served from Anthropic was not traced.CLAUDE_CODE_EMIT_STOP_HOOK_EVENTSsits besideCLAUDE_CODE_EMIT_USER_PROMPT_SUBMIT_HOOK_EVENTS. Only its place in those lists was seen, not the code that reads it.
Neither existed before this release.
Why
These only matter to a host that launches Claude Code and sets them. Someone running Claude Code directly will not see them.
Names in the bundleCLAUDE_CODE_EMIT_USER_PROMPT_SUBMIT_HOOK_EVENTS
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 clear what either variable does when set.