What
Environment variables are named settings passed to a program when it starts. Claude Code already passed CLAUDE_CODE_USER_DELEGATED_SESSION_DIRECT_API and CLAUDE_CODE_USER_DELEGATED_SESSION_ALLOWED_CHECK_MODELS on to the processes it starts. Two new names join them:
CLAUDE_CODE_USER_DELEGATED_SESSION, added to three pass-through lists, including the one used by the bridge, the part of Claude Code that starts child sessionsCLAUDE_CODE_USER_DELEGATED_SESSION_ANY_CHECK_MODEL, added to the same three lists
What reads them was not traced. The bridge's spawning code also changed:
- A line of child output that fails to process is now logged and skipped, instead of the error going uncaught
- The error shown when a child cannot be started now suggests checking that the program and the working folder exist
Why
Child processes and bridge sessions now inherit these user delegated session settings along with the existing two. A malformed line from a child no longer breaks its handling, and a failed start points you to the likely things to check.