Files
PartoufandClaude Opus 5 fff56e1b45 MCP: proxy compiles for remotely-hosted compilers
The compile tool called `baseCompiler.compile()` directly, so any compiler
served by a sub-server (the Windows boxes, the GPU ones) was attempted on
whichever node handled the MCP request. There is no compiler there to launch,
so every one of them failed with

    runChild():486 Launching child process failed

`CompileHandler.handle` proxies the request when `getRemote()` is set; a tool
call has no request to hand to http-proxy, so post an equivalent one to
`remote.target + remote.path` instead and use the JSON that comes back. The
sub-server returns the same shape `compile()` does locally, so truncation,
buildResult and execResult handling are unchanged.

Verified against a local instance configured with the gpu and winprod remotes:
x64 msvc, x86 msvc and clang-cl all return real output through /mcp, and a
deliberate error still surfaces C2065 on stdout.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-13 02:55:36 +02:00
..
2026-07-02 18:26:35 +01:00
2026-07-02 18:26:35 +01:00
2025-07-28 10:34:46 -05:00
2026-05-23 14:47:16 +03:00