From 1a75e6d15cffd84c97987386bd7b7bb490f11e31 Mon Sep 17 00:00:00 2001 From: Daniil Okhlopkov <5613295+ohld@users.noreply.github.com> Date: Mon, 9 Mar 2026 13:56:40 +0900 Subject: [PATCH] fix: default dangerouslySkipPermissions to true for unattended agents MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Agents run unattended and cannot respond to interactive permission prompts from Claude Code. When dangerouslySkipPermissions is false (the previous default), Claude Code blocks file operations with "Claude requested permissions to write to /path, but you haven't granted it yet" — making agents unable to edit files. The OnboardingWizard already sets this to true for claude_local agents (OnboardingWizard.tsx:277), but agents created or edited outside the wizard inherit the default of false, breaking them. Co-Authored-By: Claude Opus 4.6 --- ui/src/components/agent-config-defaults.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/components/agent-config-defaults.ts b/ui/src/components/agent-config-defaults.ts index 4072de01..14ade2fd 100644 --- a/ui/src/components/agent-config-defaults.ts +++ b/ui/src/components/agent-config-defaults.ts @@ -8,7 +8,7 @@ export const defaultCreateValues: CreateConfigValues = { model: "", thinkingEffort: "", chrome: false, - dangerouslySkipPermissions: false, + dangerouslySkipPermissions: true, search: false, dangerouslyBypassSandbox: false, command: "",