Follow Discord
Sweep 06 Nov 2026 · 01:32Z Build v2.1.319 537 read Stable v2.1.311 Latest v2.1.318 Next v2.1.319 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.274 ·

New CLAUDE_CODE_HOST_SESSION_ID passthrough env var

Claude Code now recognizes a CLAUDE_CODE_HOST_SESSION_ID environment variable

Use it now Notable No documentation found New Features
JSON All of v2.1.274
Use it nowTier: how much it should matter to you
3Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
Environment VariablesArea: what it touches
New FeaturesKind: in v2.1.274,
What probably matters to youSection of the release

Unclear The finding does not say what consumes this value or what behavior depends on it.

What

Claude Code now forwards and recognizes a new environment variable, CLAUDE_CODE_HOST_SESSION_ID, alongside existing ones like CLAUDE_CODE_ENTRYPOINT and CLAUDE_CODE_IS_COWORK.

Why

This lets the host environment that launches Claude Code pass through an identifier for the session it is running inside, which other internal logic (such as entry-point-specific gating) can rely on.

Read from
Names in the bundleCLAUDE_CODE_HOST_SESSION_ID
How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtThe finding does not say what consumes this value or what behavior depends on it.
The name it cites is new in this buildNew in this build: CLAUDE_CODE_HOST_SESSION_ID

See this entry in the whole of v2.1.274 →

Feedback