{"name":"CLAUDE_CODE_BRIDGE_SOURCE_DIR","slug":"claude-code-bridge-source-dir","family":"env","title":"Environment variables","noun":"environment variable","description":"Sessions started over the bridge now get a CLAUDE_CODE_BRIDGE_SOURCE_DIR environment variable holding their source directory","description_source":"entry","described_by":{"version":"2.1.286","anchor":"bridge-child-processes-get-claude-code-bridge-source-dir"},"presence":{"first_seen":"2.1.286","removed_in":null,"in_current_build":true,"newest_mined":"2.1.287","builds":2,"mined_builds":130,"first_cited":{"version":"2.1.286","released_at":"2026-09-30 17:14:38","spans":2}},"aliases":[],"entries":[{"version":"2.1.286","anchor":"bridge-child-processes-get-claude-code-bridge-source-dir","heading":"Bridge-started sessions receive their source directory","line":"Sessions started over the bridge now get a CLAUDE_CODE_BRIDGE_SOURCE_DIR environment variable holding their source directory","released_at":"2026-09-30 17:14:38","reason":"found in this entry's text, named in this entry"}],"entries_total":1,"docs":[],"docs_total":0,"gates":[],"related":[{"name":"CLAUDE_CODE_BRIDGE_CHILD_ARTIFACT","slug":"claude-code-bridge-child-artifact","description":"New env vars let a bridge-spawned child session default to auto permission mode and force-enable artifacts"},{"name":"CLAUDE_CODE_BRIDGE_CHILD_AUTO_DEFAULT","slug":"claude-code-bridge-child-auto-default","description":"New env vars let a bridge-spawned child session default to auto permission mode and force-enable artifacts"},{"name":"CLAUDE_CODE_BRIDGE_CHILD_MACHINE_SETTINGS","slug":"claude-code-bridge-child-machine-settings","description":"Bridge child sessions now get a new CLAUDE_CODE_BRIDGE_CHILD_MACHINE_SETTINGS environment variable"},{"name":"CLAUDE_CODE_BRIDGE_MCP_CARRIER","slug":"claude-code-bridge-mcp-carrier","description":"Processes launched by the bridge mark their marker as spent, so grandchildren are told apart."},{"name":"CLAUDE_CODE_BRIDGE_OWNER_ACCOUNT_UUID","slug":"claude-code-bridge-owner-account-uuid","description":"Bridge worker sessions record which account launched them, but the bridge is off."},{"name":"CLAUDE_CODE_BRIDGE_OWNER_ORG_UUID","slug":"claude-code-bridge-owner-org-uuid","description":"Two owner-identity bridge variables now pass through to child processes instead of being stripped."},{"name":"CLAUDE_CODE_BRIDGE_PROMPT_SHA256","slug":"claude-code-bridge-prompt-sha256","description":"Processes launched by the bridge mark their marker as spent, so grandchildren are told apart."},{"name":"CLAUDE_CODE_BRIDGE_SESSION_ID","slug":"claude-code-bridge-session-id","description":"Set automatically in Bash tool and [hook command](\/docs\/en\/hooks) subprocesses while the session has an active [Remote Control](\/docs\/en\/remote-control) connection, and removed when the connection ends. The value is the session's ID in `session_` form, the same identifier that appears in the session's `claude.ai\/code` URL, so a script can link back to the session that ran it. Requires Claude Code v2.1.199 or later. In [cloud sessions](\/docs\/en\/claude-code-on-the-web), read `CLAUDE_CODE_REMOTE_SESSION_ID` instead"}],"url":"https:\/\/changelogs.core-directive.com\/reference\/env\/claude-code-bridge-source-dir","family_url":"https:\/\/changelogs.core-directive.com\/reference\/env.json"}