Merge pull request #1831 from paperclipai/pr/pap-891-opencode-headless-prompts

fix(opencode): support headless permission prompt configuration
This commit is contained in:
Dotta 2026-03-26 11:43:01 -05:00 committed by GitHub
commit aa5b2be907
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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

View file

@ -30,7 +30,7 @@ export const help: Record<string, string> = {
model: "Override the default model used by the adapter.",
thinkingEffort: "Control model reasoning depth. Supported values vary by adapter/model.",
chrome: "Enable Claude's Chrome integration by passing --chrome.",
dangerouslySkipPermissions: "Run Claude without permission prompts. Required for unattended operation.",
dangerouslySkipPermissions: "Run unattended by auto-approving adapter permission prompts when supported.",
dangerouslyBypassSandbox: "Run Codex without sandbox restrictions. Required for filesystem/network access.",
search: "Enable Codex web search capability during runs.",
workspaceStrategy: "How Paperclip should realize an execution workspace for this agent. Keep project_primary for normal cwd execution, or use git_worktree for issue-scoped isolated checkouts.",