From d18bc7128569bf0871d35b7d4e9c39f9f7e36199 Mon Sep 17 00:00:00 2001 From: Ram Pata Date: Wed, 27 May 2026 14:07:41 +0530 Subject: [PATCH] fix(claude): remove --dangerously-skip-permissions flag Claude Code was launched with --dangerously-skip-permissions, which silently bypasses all permission confirmations for file writes, shell commands, and other potentially destructive operations. This removes the flag so users are prompted before Claude executes actions, giving them the standard safety guardrails. Co-Authored-By: Claude Sonnet 4.6 --- LilAgents/ClaudeSession.swift | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/LilAgents/ClaudeSession.swift b/LilAgents/ClaudeSession.swift index 9bca052..978bda7 100644 --- a/LilAgents/ClaudeSession.swift +++ b/LilAgents/ClaudeSession.swift @@ -55,8 +55,7 @@ class ClaudeSession: AgentSession { "-p", "--output-format", "stream-json", "--input-format", "stream-json", - "--verbose", - "--dangerously-skip-permissions" + "--verbose" ] proc.currentDirectoryURL = FileManager.default.homeDirectoryForCurrentUser proc.environment = ShellEnvironment.processEnvironment()