fix(web): use compatible unattended Codex flags
This commit is contained in:
@@ -146,7 +146,7 @@ def run_task(task: dict, heartbeat_seconds: float) -> tuple[int, bool]:
|
||||
log_path = LOG_ROOT / f"{task['id']}.codex.jsonl"
|
||||
LOG_ROOT.mkdir(parents=True, exist_ok=True)
|
||||
command = [
|
||||
"codex", "exec", "--approve-for-me", "--sandbox", "workspace-write",
|
||||
"codex", "exec", "--approve-for-me",
|
||||
"--ephemeral", "--cd", str(ROOT), "--json", "-",
|
||||
]
|
||||
with log_path.open("w", encoding="utf-8") as log:
|
||||
|
||||
Reference in New Issue
Block a user