Fix headless OpenCode permission prompts

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
dotta 2026-03-26 08:43:27 -05:00
parent c6364149b1
commit ed62d58cb2
9 changed files with 652 additions and 430 deletions

View file

@ -325,7 +325,8 @@ export function OnboardingWizard() {
command,
args,
url,
dangerouslySkipPermissions: adapterType === "claude_local",
dangerouslySkipPermissions:
adapterType === "claude_local" || adapterType === "opencode_local",
dangerouslyBypassSandbox:
adapterType === "codex_local"
? DEFAULT_CODEX_LOCAL_BYPASS_APPROVALS_AND_SANDBOX