{"version":"2.1.302","anchor":"model-switch-ui-and-permission-relay-refactors","canonical_anchor":"model-switch-ui-and-permission-relay-refactors","heading":"Tools run remotely can use a location already checked by the remote runner","tier":"internal","area":"Sessions","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.302\/e\/model-switch-ui-and-permission-relay-refactors","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.302","markdown":"### Tools run remotely can use a location already checked by the remote runner\n\nWhen a session runs a tool remotely, Claude Code can now use a location the remote runner has already checked\n\n**What**\n\nWhen a session runs a tool on a remote machine, Claude Code can now use a location that the remote runner has already checked, instead of always working it out itself. The part of Claude Code that runs the `PreModelSwitch` hook was rebuilt with no change in behaviour.\n\n**Why**\n\nThis affects where tools in remotely run sessions are checked and run.\n\n- Area: Sessions\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: no"}