Make `ShellBuilder::new` not branch on a remote shell (#39493)

Release Notes:

- Fixed claude code agent login on remotes

Co-authored-by: Max Brunsfeld <max@zed.dev>
Co-authored-by: Cole Miller <cole@zed.dev>
2859cbdba9Lukas Wirth committed on 10/3/2025, 9:23:09 PM· committed by GitHubparent4443f61
10 files changedLine totals unavailable