Windsurf: be able to "whitelist" certain commands
complete
D
Dave Sanders
I understand the need to not give Windsurf control over every action, but there are tasks (such as code / test / code cycles) where it would be helpful if it could just run the test command without confirmation.
That might break a tenet of the app / project, but maybe it can be built responsibly?
Rohan Phadte
complete
Now available in the latest Windsurf 1.1.0 with Cascade Auto Run Commands! See the docs for more information on how to setup!
M
Michael Beddows
'cargo check' would be top of my list. But I'd still like the ability to view and cancel any automatic execution.
Julius Martin
Maybe for example, you could set up a regex pattern to automatically approve straightforward actions, like a simple curl request to fetch data, so the AI doesn’t need to ask for permission each time it encounters those specific, pre-approved commands
Alexandr Bodrov
I fully support this idea and would like to suggest two specific use cases:
- Always Allow Specific Commands:
-
Feature
: Add a checkbox labeled "Always allow this command" for trusted, repetitive tasks (e.g., npx gulp css
).-
Benefit
: Eliminates the need to approve the same command every time, streamlining workflows.-
Management
: Provide a list of allowed commands with options to remove individual entries.- Automatic Rebuild on Changes:
-
Feature
: Introduce a setting to automatically run build commands (e.g., dotnet build
) whenever there are code changes.-
Benefit
: Enables the AI assistant to quickly detect errors and apply fixes without requiring manual execution of build commands each time.-
Safety
: Use a whitelist of safe build commands.