Files
continue/core
shanevcantwell 1219985ce1 fix: skip cmd.exe wrapping for MCP servers when Windows host connects to WSL
Fixes #9151

When Windows VS Code connects to WSL, MCP servers failed to start with
"cmd.exe not found" because resolveCommandForPlatform() wrapped batch
commands (npx, uvx, etc.) with cmd.exe even when the remote is WSL.

Changes:
- Make resolveCommandForPlatform() async to fetch IDE info
- Add isWindowsHostWithWslRemote check (same pattern as PR #9679)
- Skip cmd.exe wrapping when remoteName === "wsl"
- Add tests for WSL, local Windows, Linux, and non-batch scenarios

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-21 01:32:12 -07:00
..
2025-12-04 12:58:28 -08:00
2025-12-02 12:35:27 -08:00
2025-12-04 18:36:15 +05:30
2025-12-11 03:16:59 +07:00
2025-12-04 12:37:53 -08:00
2025-12-05 15:28:04 -08:00