* feat: Add OpenCode (opencode.ai) client configurator Add support for the OpenCode CLI client with automatic configuration. - Create OpenCodeConfigurator implementing IClientConfigurator - Configure via ~/.config/opencode/opencode.json (XDG standard path) - Use McpConfigurationHelper for atomic file writes and directory creation - Support both new config creation and merging with existing config Co-Authored-By: akshay-kiddopia <akshay@kiddopia.com> Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> * fix: Address code review feedback for OpenCodeConfigurator - Add TryLoadConfig() helper to consolidate file read/parse logic - Handle JsonException separately (log warning, return empty object to overwrite) - Wrap Configure() in try/catch to prevent crashes, set McpStatus.Error on failure - Respect XDG_CONFIG_HOME environment variable per XDG Base Directory spec Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> --------- Co-authored-by: akshay-kiddopia <akshay@kiddopia.com> Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| Configurators | ||
| Configurators.meta | ||
| IMcpClientConfigurator.cs | ||
| IMcpClientConfigurator.cs.meta | ||
| McpClientConfiguratorBase.cs | ||
| McpClientConfiguratorBase.cs.meta | ||
| McpClientRegistry.cs | ||
| McpClientRegistry.cs.meta | ||