Fix sandbox execPath resolution for remote environments

Add execPath to IRemoteAgentEnvironment so the server sends its actual
process.execPath to the client. The sandbox service now uses this instead
of hardcoding appRoot + '/node', which only works in production builds.
This commit is contained in:
Alex Dima
2026-03-22 00:17:30 +01:00
parent 4ed68ee36f
commit 5059232618
6 changed files with 7 additions and 2 deletions

View File

@@ -137,6 +137,7 @@ suite('debugConfigurationManager', () => {
pid: 1,
connectionToken: 'token',
appRoot: URI.file('/remote/app'),
execPath: '/remote/app/node',
tmpDir: URI.file('/remote/tmp'),
settingsPath: URI.file('/remote/settings.json'),
mcpResource: URI.file('/remote/mcp.json'),