{"version":"2.1.327","anchor":"remote-environment-check-now-also-true-for-sdk-url-session","canonical_anchor":"remote-environment-check-now-also-true-for-sdk-url-session","heading":"Sessions started with --sdk-url are treated as remote","tier":"notice","area":"Sessions","scope":"individual","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.327\/e\/remote-environment-check-now-also-true-for-sdk-url-session","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.327","markdown":"### Sessions started with --sdk-url are treated as remote\n\nClaude Code now treats a session as remote when it is started with `--sdk-url`, even without the remote environment variables\n\n**Unclear.** Which behaviours change once a session counts as remote is not clear.\n\n**What**\n\nClaude Code checks whether it is running remotely, meaning on a hosted machine rather than your own computer. Before, it decided this only from two environment variables, which are settings passed to a program when it starts:\n\n- `CLAUDE_CODE_REMOTE` set to true\n\n- `CLAUDE_CODE_ENVIRONMENT_KIND` set to any value\n\nIt now also counts a session as remote when `--sdk-url` is given a value, or when two further internal checks pass.\n\n**Why**\n\nIf you start Claude Code with `--sdk-url` and none of those variables, anything that behaves differently in remote sessions now behaves the remote way for you.\n\n- Area: Sessions\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: yes"}