Terminal
Command in the terminal
Use our Command modality in the terminal (Cmd/Ctrl+I
) to generate the proper CLI syntax from prompts in natural language.
Send terminal selection to Cascade
Highlight a portion of of the stack trace and press Cmd/Ctrl+L
to send it to Cascade, where you can reference this selection in your next prompt.
Auto-executed Cascade commands
Cascade has the ability to run terminal commands on its own with user permission. However, certain terminal commands can be accepted or rejected automatically through the Allow and Deny lists.
By enabling Auto mode, it will rely on Cascade’s judgement on whether the command requires the user’s permission to be executed. This feature is only available for messages sent with premium models.
Turbo Mode
In Turbo mode, Cascade will always execute the command, unless it is in the deny list.
You can toggle this via the Windsurf - Settings panel in the bottom right hand corner of the editor.
Allow list
An allow list defines a set of terminal commands that will always auto-execute. For example, if you add git
, then Cascade will always accept git add -A
.
The setting can be via Command Palette → Open Settings (UI) → Search for windsurf.cascadeCommandsAllowList
.
Deny list
A deny list defines a set of terminal commands that will never auto-execute. For example, if you add rm
, then Cascade will always ask for permission to run rm index.py
.
The setting can be via Command Palette → Open Settings (UI) → Search for windsurf.cascadeCommandsDenyList
.