continue-custom/core/tools
shanevcantwell c79e6489a7
fix: restrict terminal childProcess.spawn to local-only environments (#10538)
fix: restrict childProcess.spawn to local-only environments

childProcess.spawn executes on the extension host machine. With
extensionKind: ["ui", "workspace"], the extension host almost always
runs locally. For any remote workspace (SSH, WSL, Dev Container,
Codespaces, tunnel), spawning locally either runs commands on the wrong
machine or fails with ENOENT when the local shell doesn't exist in the
extension host context.

Replace ENABLED_FOR_REMOTES (which listed all remote types) with
LOCAL_ONLY (just "" and "local"). All remote types now fall through to
ide.runCommand() which delegates to VS Code's integrated terminal and
executes in the correct remote environment.

The isWindowsHostWithRemote guard is removed as it is now redundant —
the platform-agnostic check handles all cases.

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-24 20:33:04 -07:00
..
definitions feat: make create/read rule tools disabled by default (#10543) 2026-02-16 12:15:57 -08:00
implementations fix: restrict terminal childProcess.spawn to local-only environments (#10538) 2026-03-24 20:33:04 -07:00
policies prettier 2025-10-16 19:08:31 -07:00
systemMessageTools Fix system-message tools parser when tool call is non-terminal (#11092) 2026-03-24 11:56:43 -07:00
applyToolOverrides.ts feat: add tool prompt override support in .continuerc.json (#9314) 2026-02-02 21:55:21 -08:00
applyToolOverrides.vitest.ts feat: add tool prompt override support in .continuerc.json (#9314) 2026-02-02 21:55:21 -08:00
builtIn.ts add read skill tool 2025-12-30 12:51:16 +05:30
callTool.ts feat: limited MCP App support (#10132) 2026-02-05 19:07:44 -08:00
constants.ts feat: tool call args preprocessing (#7992) 2025-09-30 18:49:29 -07:00
index.ts read skill is a tool definition 2026-01-06 17:31:04 +05:30
mcpToolName.ts feat: limited MCP App support (#10132) 2026-02-05 19:07:44 -08:00
mcpToolName.vitest.ts fix: core type error 2025-09-24 17:41:46 -07:00
parseArgs.ts fix: support object-type arguments in tool call parsing 2026-01-21 18:16:12 +08:00
parseArgs.vitest.ts Address comments from @RomneyDa 2025-12-02 20:28:45 +00:00
searchWebGating.vitest.ts fix test lints 2026-01-06 17:58:53 +05:30