{"version":"2.1.331","anchor":"claude-code-sends-via-session-service-env-var-now-passed-thr","canonical_anchor":"claude-code-sends-via-session-service-env-var-now-passed-thr","heading":"Delegated sessions now receive CLAUDE_CODE_SENDS_VIA_SESSION_SERVICE","tier":"internal","area":"Sessions","scope":"org","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.331\/e\/claude-code-sends-via-session-service-env-var-now-passed-thr","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.331","markdown":"### Delegated sessions now receive CLAUDE_CODE_SENDS_VIA_SESSION_SERVICE\n\nWhen Claude Code sets up a session's environment it now passes on CLAUDE_CODE_SENDS_VIA_SESSION_SERVICE if the session provides it\n\n**Unclear.** What setting `CLAUDE_CODE_SENDS_VIA_SESSION_SERVICE` changes in a session is not shown.\n\n**What**\n\nWhen Claude Code builds the environment for a session, it now carries over `CLAUDE_CODE_SENDS_VIA_SESSION_SERVICE` from the session's own environment variables, beside `CLAUDE_CODE_USER_DELEGATED_SESSION`. An environment variable is a named setting passed to a program from outside it. This variable did not appear in Claude Code before.\n\n**Why**\n\nThe name suggests remote sessions can send their messages through a session service.\n\n- Area: Sessions\n- Names: `CLAUDE_CODE_SENDS_VIA_SESSION_SERVICE`, `CLAUDE_CODE_USER_DELEGATED_SESSION`\n- Tier: Under the hood\n- Useful: 4\/5\n- Signal: 3\/5\n- Scope: org\n- Heads-up: no"}