Executes a code snippet in a sandboxed environment.
Returns the formatted output plus the structured outcome so the MCP layer
can set isError/structuredContent on failures (GitHub #389).
Executes multiple (language, code) pairs in parallel and returns aggregated
results. The outcome carries the first non-zero exit code (0 when all
tasks succeeded), so one failing task marks the whole batch as failed.