fix(exec): restore sandbox as implicit host default

This commit is contained in:
Peter Steinberger
2026-02-23 01:48:24 +01:00
parent 211ab9e4f6
commit 278331c49c
4 changed files with 14 additions and 8 deletions
+1 -1
View File
@@ -300,7 +300,7 @@ export function createExecTool(
if (elevatedRequested) {
logInfo(`exec: elevated command ${truncateMiddle(params.command, 120)}`);
}
const configuredHost = defaults?.host ?? (defaults?.sandbox ? "sandbox" : "gateway");
const configuredHost = defaults?.host ?? "sandbox";
const sandboxHostConfigured = defaults?.host === "sandbox";
const requestedHost = normalizeExecHost(params.host) ?? null;
let host: ExecHost = requestedHost ?? configuredHost;