Merge branch 'master' into fix-on-focus-config-check
commit
2b69eb1595
|
|
@ -1,6 +1,8 @@
|
|||
# AI-related files
|
||||
.cursorrules
|
||||
.cursorignore
|
||||
.windsurf
|
||||
.codeiumignore
|
||||
CLAUDE.md
|
||||
|
||||
# Code-copy related files
|
||||
|
|
|
|||
|
|
@ -77,6 +77,24 @@ namespace UnityMcpBridge.Editor.Data
|
|||
mcpType = McpTypes.VSCode,
|
||||
configStatus = "Not Configured",
|
||||
},
|
||||
new()
|
||||
{
|
||||
name = "Windsurf",
|
||||
windowsConfigPath = Path.Combine(
|
||||
Environment.GetFolderPath(Environment.SpecialFolder.UserProfile),
|
||||
".codeium",
|
||||
"windsurf",
|
||||
"mcp_config.json"
|
||||
),
|
||||
linuxConfigPath = Path.Combine(
|
||||
Environment.GetFolderPath(Environment.SpecialFolder.UserProfile),
|
||||
".codeium",
|
||||
"windsurf",
|
||||
"mcp_config.json"
|
||||
),
|
||||
mcpType = McpTypes.Windsurf,
|
||||
configStatus = "Not Configured",
|
||||
},
|
||||
};
|
||||
|
||||
// Initialize status enums after construction
|
||||
|
|
|
|||
|
|
@ -2,10 +2,11 @@ namespace UnityMcpBridge.Editor.Models
|
|||
{
|
||||
public enum McpTypes
|
||||
{
|
||||
ClaudeCode,
|
||||
ClaudeDesktop,
|
||||
Cursor,
|
||||
VSCode,
|
||||
ClaudeCode,
|
||||
Windsurf,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -87,6 +87,13 @@ namespace UnityMcpBridge.Editor.Windows
|
|||
instructionStyle
|
||||
);
|
||||
}
|
||||
else if (mcpClient?.mcpType == McpTypes.Windsurf)
|
||||
{
|
||||
EditorGUILayout.LabelField(
|
||||
" a) Going to File > Preferences > Windsurf Settings > MCP > Manage MCPs -> View raw config",
|
||||
instructionStyle
|
||||
);
|
||||
}
|
||||
EditorGUILayout.LabelField(" OR", instructionStyle);
|
||||
EditorGUILayout.LabelField(
|
||||
" b) Opening the configuration file at:",
|
||||
|
|
|
|||
Loading…
Reference in New Issue