codex no sandbox (its already sandboxed)

This commit is contained in:
2026-05-02 21:50:17 -07:00
parent 015253c0af
commit 2c32ca66e2
3 changed files with 4 additions and 3 deletions

View File

@@ -567,7 +567,8 @@ function buildRemoteCodexCommand(prompt: string) {
"Task:",
prompt,
].join("\n");
const codexCommand = `codex exec --skip-git-repo-check ${shellQuote(wrappedPrompt)} < /dev/null`;
const codexCommand =
`codex exec --dangerously-bypass-approvals-and-sandbox --skip-git-repo-check ${shellQuote(wrappedPrompt)} < /dev/null`;
return `mkdir -p ${shellQuote(workdir)} && cd ${shellQuote(workdir)} && ${codexCommand}`;
}