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 it’s own with user permission. However, certain terminal commands can be accepted or rejected automatically through a setting. There are three ways to configure this:

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.

Auto execution

By enabling auto-execution, if a command is not in the deny list or the allow list, then 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.

The setting can be found via Command Palette → Open Settings (UI) → Search for windsurf.enableModelBasedAutoExecution.

Enable at your own risk.