Let user chose yolo mode when there is an error with permissions

This commit is contained in:
andrepimenta
2025-07-09 01:59:39 +01:00
parent d9baf71e4a
commit 717284a979
3 changed files with 99 additions and 2 deletions

View File

@@ -430,8 +430,6 @@ class ClaudeChatProvider {
args.push('--mcp-config', mcpConfigPath);
args.push('--allowedTools', 'mcp__permissions__approval_prompt');
args.push('--permission-prompt-tool', 'mcp__permissions__approval_prompt');
} else {
args.push('--dangerously-skip-permissions');
}
}