Commands you spawn no longer inherit an IDE entrypoint or remote session id from your editor session.
What's wrong with this entry?
CLAUDE_CODE_ENTRYPOINT is stripped from derived environments when it holds an IDE or desktop value, so spawned commands do not misreport where they came from.
- The stripping helper deletes the variable for IDE/desktop values such as
claude-desktop-3p. - It is now called from the env builders for the spawned-command environment and for the sandbox/scrubbed environment; previously only one spawn path applied it.
CLAUDE_CODE_REMOTE_SESSION_IDwas added to the set of remote-session variables stripped from derived environments.
claude-desktop-3p
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
Related
Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.
-
v2.1.247
The local-agent entrypoint registers only three built-in skills
Both mention entrypoint
-
v2.1.224
Create a cloud session without a terminal
Both mention environment
-
v2.1.224
Clearer error when
--bgand--environmentare combinedBoth mention environment