feat: update command arguments and add new client configurations for Trae and Trae CN #35
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.
This pull request introduces updates to the client configuration and server initialization logic to enhance functionality and improve compatibility across different platforms. The most important changes include modifying default server arguments and adding new client configuration paths for both macOS and Windows environments.
Server configuration updates:
Args
in theNewMCPServerConfig
function to include"-m"
and"all"
, replacing the previously unused empty array. This change ensures that all modes are enabled by default when initializing the server. (client/client.go
, client/client.goL54-R54)Client configuration updates:
Trae
andTrae CN
in theclientLists
map for macOS, pointing tomcp.json
files. This addition provides support for these clients with a simplified configuration file. (client/client_config.go
, client/client_config.goR34-R35)Trae
andTrae CN
in theclientLists
map for Windows, ensuring cross-platform compatibility with the samemcp.json
files. (client/client_config_windows.go
, client/client_config_windows.goR32-R33)