feat: add code environment support for Cascade - Windsurf's AI Agent #78
+188
−2
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add Windsurf IDE Support
Description
This PR adds support for Windsurf IDE to Laravel Boost, enabling Windsurf users to receive Laravel-specific AI guidelines through Cascade (Windsurf's AI assistant).
Motivation
Windsurf is a powerful AI-first IDE, and Laravel developers using Windsurf should have access to Laravel Boost's AI guidelines to improve their development experience. Currently, Windsurf users are excluded from the automated guideline installation process.
Implementation
Agent-Only Architecture
Windsurf is implemented as an Agent-only code environment:
Technical Rationale
Unlike other supported IDEs (Cursor, PhpStorm, VSCode), Windsurf handles MCP server configuration differently:
.cursor/mcp.json
(per-project).junie/mcp/mcp.json
(per-project).vscode/mcp.json
(per-project)~/.codeium/windsurf/mcp_config.json
(global)Since Windsurf only supports global MCP configuration, Laravel Boost respects the principle of not modifying users' global settings automatically. However, users can manually configure the MCP server if desired.
Configuration Details
Screenshots from my usage :)
Installation
Boost's Discovery in Cascade
Cascade In Action