Title:
Cursor v1.1 on Windows 11: sudo
commands still prompting for confirmation despite allowlist setup
Body:
Hello everyone,
I’m running Cursor v1.1 on Windows 11 (PowerShell backend) and I’m trying to have any command prefixed with sudo
execute automatically—without the extra confirmation dialog. Here’s what I’ve done so far:
- Updated from v1.0 to v1.1 via the official installer.
- Enabled Auto-run mode in Settings → Features → Chat.
- Added both regex patterns
^sudo
andsudo .*
to the Command Allowlist. - Cleared the “Auto-run prompt” field so it’s completely empty.
- Restarted Cursor multiple times after each change.
I haven’t tried deleting any cache or config directories yet—only restarts and the version upgrade.
When I enter a prompt like:
run sudo choco upgrade git
I still get the confirmation dialog instead of immediate execution.
Environment Details:
- Windows 11 Pro (22H2) & PowerShell 7.3
- Cursor v1.1 installed via the official Windows installer
- No custom extensions or alternative shells configured
Questions:
- Has anyone successfully auto-run
sudo
commands on Windows 11 with Cursor v1.1? - Are there any Windows-specific settings or hidden config files I need to update?
- Could this be a known issue in the v1.1 release?
- What additional logs or diagnostics should I collect to troubleshoot this?
Any insights or workarounds would be greatly appreciated. Thanks in advance!