4 Commits

Author SHA1 Message Date
shanevcantwell
939b44b39f fix: detect WSL remote for shell PATH resolution
When Windows host connects to WSL remote, getEnvPathFromUserShell() was
returning undefined because it checked only process.platform === "win32".

Add remoteName parameter to getEnvPathFromUserShell() and use the
isWindowsHostWithWslRemote pattern (consistent with resolveCommandForPlatform)
to allow shell PATH detection for WSL remotes.

Fixes #9737

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-26 18:51:11 -07:00
Nate
3668ba636d run shell path async to avoid blocking config load 2025-07-03 23:07:15 -07:00
Patrick Erichsen
31f63c7691 Update shellPath.ts 2025-06-16 18:55:43 -07:00
Patrick Erichsen
60ec3ac452 fix: grab PATH for mcp connections 2025-05-19 17:35:22 -07:00