Add Windsurf support to installer#478
Merged
dustinvannoy-db merged 2 commits intoApr 23, 2026
Merged
Conversation
The README lists Windsurf as a supported AI coding assistant, but install.sh had no handling for it — Windsurf users had to manually copy skills and hand-write mcp_config.json. This adds a windsurf branch everywhere the other tools are handled, mirroring the Cursor pattern. - Detect Windsurf via /Applications/Windsurf.app or windsurf on PATH - Add Windsurf row to interactive tool picker + silent-mode default - Install skills to ~/.windsurf/rules (global) or ./.windsurf/rules (project) - Write MCP config to ~/.codeium/windsurf/mcp_config.json (global) or ./.codeium/windsurf/mcp_config.json (project) - Add Windsurf restart hint to Next Steps summary - Update --tools help text, header comment, and README
dustinvannoy-db
requested changes
Apr 22, 2026
Collaborator
dustinvannoy-db
left a comment
There was a problem hiding this comment.
Please review if rules path is correct (see comment) and can we add this for windows, to install.ps1
| if [ "$SCOPE" = "global" ]; then | ||
| dirs+=("$HOME/.windsurf/rules") | ||
| else | ||
| dirs+=("$base_dir/.windsurf/rules") |
Collaborator
There was a problem hiding this comment.
I'm seeing that .windsurf/skills should be the path for skills, did you try this insteaed of rules?
https://docs.windsurf.com/windsurf/cascade/skills#manual-creation
| if [ "$SCOPE" = "global" ]; then | ||
| write_mcp_json "$HOME/.codeium/windsurf/mcp_config.json" | ||
| else | ||
| write_mcp_json "$base_dir/.codeium/windsurf/mcp_config.json" |
Collaborator
There was a problem hiding this comment.
This local install does not work in my testing. I think MCP will have to be global for windsurf.
- Skills install to ~/.codeium/windsurf/skills (global) and .windsurf/skills (project), per docs.windsurf.com/windsurf/cascade/skills. The previous /rules path is not loaded by Cascade. - MCP config is always written to ~/.codeium/windsurf/mcp_config.json regardless of scope, with a warning when --scope project is requested. Mirrors the Antigravity pattern; Windsurf does not load per-project MCP. - Mirror Windsurf support in install.ps1 (detection, tool picker, skills install, MCP config, next-steps hint) for Windows parity. Co-authored-by: Isaac
Contributor
Author
|
Pushed a fix commit addressing the review:
ran and tested on my macbook |
antonyprasad-db
added a commit
to antonyprasad-db/ai-dev-kit
that referenced
this pull request
May 4, 2026
- Resolves merge with main which added Windsurf (databricks-solutions#478) and OpenCode (databricks-solutions#492). - Combines all three new tools (windsurf, opencode, kiro) in a consistent order at every touch point: header comment, --tools help text, detection, checkbox UI, silent default, skill install path, MCP config, and final launch instructions. - Adds Kiro launch instruction to the post-install steps (was missing in the original PR). - Brings Windsurf and OpenCode into the header comment alongside the other tools (per reviewer note that opencode wasn't listed everywhere on main). - Kiro skill install now supports both global (~/.kiro/skills) and project (.kiro/skills) scopes, mirroring windsurf/opencode. Co-authored-by: Isaac
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Adds Windsurf as a supported tool in
install.sh, mirroring the existing Cursor pattern.Motivation
The README lists Windsurf as a supported AI coding assistant ("Claude Code, Cursor, Antigravity, Windsurf, etc."), but
install.shonly handledclaude,cursor,copilot,codex,gemini, andantigravity. Windsurf users had to manually copy skills into~/.windsurf/rulesand hand-write~/.codeium/windsurf/mcp_config.json— which is exactly what I did before writing this patch.Changes
install.sh/Applications/Windsurf.apporwindsurfon PATH~/.windsurf/rules(global) or./.windsurf/rules(project)~/.codeium/windsurf/mcp_config.json(global) or./.codeium/windsurf/mcp_config.json(project), reusing the existingwrite_mcp_jsonhelper--toolshelp text and header commentREADME.md.windsurf/.codeiumto the per-project config-dirs notewindsurfto the--toolsexampleTesting
bash -n install.sh— syntax OK~/.codeium/windsurf/mcp_config.jsonis valid JSON with thedatabricksMCP server key, skills copied into~/.windsurf/rules/(Databricks + MLflow + APX), and Windsurf's MCP Registry reports databricks — 44/44 tools enabled against thee2-demo-field-engprofile.bash ./install.shwith no flags, project scope) also works — new Windsurf row appears in the checkbox picker.Note
Submitting from a personal GitHub account (
rytizzle) because EMU restrictions on my Databricks GH account (ryan-tom_data) prevent forking this repo. I am a Databricks Field Engineer — ryan.tom@databricks.com. Happy to re-submit via a different mechanism if preferred.