-
Notifications
You must be signed in to change notification settings - Fork 17
Description
When using the Windsurf deep link URL scheme to open Cascade with a pre-filled prompt, the autoRun=true parameter does not automatically execute the prompt. The window opens and the prompt is populated correctly, but the user must manually press Enter to run it.
Current Behavior:
windsurf-next://cascade/newChat?folder=/path/to/workspace&prompt=/pr-review%20https://github.com/owner/repo/pull/123&autoRun=true
- ✅ Opens Windsurf
- ✅ Opens new Cascade chat
- ✅ Sets the correct folder/workspace
- ✅ Populates the prompt field with
/pr-review https://github.com/owner/repo/pull/123 - ❌ Does NOT auto-execute the prompt
Expected Behavior:
The prompt should automatically execute when autoRun=true is set, similar to how other IDEs (like VS Code with certain extensions) support auto-execution via deep links.
Use Case:
I'm trying to create automation workflows that trigger Windsurf global workflows (like /pr-review) directly from external tools (CI/CD pipelines, browser extensions, scripts, etc.). Without auto-execution, users must manually interact with Windsurf after the link opens, which defeats the purpose of the automation.
Environment:
- OS: macOS (also affects Linux/Windows)
- Windsurf Version: [your version - run
windsurf --version] - URL Schemes Tested:
windsurf://
Questions:
- Is
autoRuna supported parameter? If not, what is the correct parameter name? - Is there a Windsurf setting that needs to be enabled to allow auto-execution from deep links?
- Are there alternative parameters like
submit=trueorrun=truethat work?
Suggested Solution:
Please either:
- Enable the
autoRunparameter functionality, or - Document the correct URL scheme parameters and their usage, or
- Add a Windsurf setting to opt-in to auto-execution from deep links (for security-conscious users)
Additional Context:
This would greatly improve automation workflows, especially for:
- PR review automation triggered from GitHub/GitLab
- Custom CLI tools that invoke Windsurf workflows
- Browser extensions for code review
- CI/CD pipeline integrations