continue-custom/core/tools/implementations
shanevcantwell c565bdc464 fix: use ide.runCommand when Windows host connects to WSL
When the VS Code extension runs on Windows but connects to WSL,
direct shell spawning fails because process.platform is "win32"
but commands should execute in the Linux WSL environment.

This caused: spawn powershell.exe ENOENT

The fix detects this scenario and falls back to ide.runCommand(),
letting VS Code handle the remote terminal execution properly.

Fixes #9661

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-19 10:55:16 -07:00
..
codebaseTool.ts feat: more thorough tool arg checking utils with tests 2025-07-21 15:31:52 +02:00
createNewFile.ts use specific ConitnueError for tool calls 2025-10-14 14:55:00 -07:00
createRuleBlock.test.ts update tests and remove debugger 2025-07-02 16:06:18 -07:00
createRuleBlock.ts feat: more thorough tool arg checking utils with tests 2025-07-21 15:31:52 +02:00
fetchUrlContent.ts fix: grep escaped chars and empty results (#7323) 2025-08-25 07:20:26 -07:00
fetchUrlContent.vitest.ts Update fetchUrlContent.vitest.ts 2025-10-17 10:18:30 -07:00
globSearch.ts fix: grep escaped chars and empty results (#7323) 2025-08-25 07:20:26 -07:00
grepSearch.ts prettier 2025-10-14 15:48:35 -07:00
index.ts fix type errors 2024-11-22 22:08:58 -08:00
lsTool.ts fix issue with lsTool listing fs root instead of current folder 2026-01-06 22:53:36 -06:00
lsTool.vitest.ts fix issue with lsTool listing fs root instead of current folder 2026-01-06 22:53:36 -06:00
readCurrentlyOpenFile.ts fix: install core dependencies for cli 2025-08-21 15:43:35 -07:00
readFile.ts Merge main branch and resolve conflicts 2025-10-16 16:00:29 -07:00
readFileLimit.ts use specific ConitnueError for tool calls 2025-10-14 14:55:00 -07:00
readFileRange.integration.vitest.ts Fix readFileRange Kotlin Int overflow in IntelliJ plugin (#8976) 2025-12-05 12:13:39 -08:00
readFileRange.ts Fix readFileRange Kotlin Int overflow in IntelliJ plugin (#8976) 2025-12-05 12:13:39 -08:00
readFileRange.vitest.ts fix: 🎨 Prettier and Linting 2025-08-27 22:27:15 -07:00
readSkill.ts support relative path for workspace dirs 2026-01-15 19:00:09 +05:30
requestRule.ts prettier 2025-10-14 15:48:35 -07:00
resolveWorkingDirectory.vitest.ts style: fix prettier formatting 2025-12-26 06:27:00 -07:00
runTerminalCommand.ts fix: use ide.runCommand when Windows host connects to WSL 2026-01-19 10:55:16 -07:00
runTerminalCommand.vitest.ts fix: use ide.runCommand when Windows host connects to WSL 2026-01-19 10:55:16 -07:00
searchWeb.ts fix: grep escaped chars and empty results (#7323) 2025-08-25 07:20:26 -07:00
searchWeb.vitest.ts fix: grep escaped chars and empty results (#7323) 2025-08-25 07:20:26 -07:00
viewDiff.ts feat: empty diff tool result message 2025-09-10 19:26:50 -07:00
viewDiff.vitest.ts fix: grep escaped chars and empty results (#7323) 2025-08-25 07:20:26 -07:00
viewRepoMap.ts switch repo map tool to show signatures 2025-02-04 17:26:56 -08:00
viewSubdirectory.ts update subdirectory logic 2025-10-17 10:25:37 -07:00
viewSubdirectory.vitest.ts fix tests 2025-10-17 11:21:55 -07:00