Skip to content

Add Trae client support #101

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 22, 2025
Merged

Add Trae client support #101

merged 2 commits into from
Apr 22, 2025

Conversation

niechen
Copy link
Contributor

@niechen niechen commented Apr 22, 2025

This PR adds support for the Trae AI client by implementing a TraeManager class and updating the necessary registry files.

Closes #92

@Copilot Copilot AI review requested due to automatic review settings April 22, 2025 05:16
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds support for the Trae AI client by implementing a new TraeManager class and updating the necessary registry files to register Trae as a supported client.

  • Introduces a TraeManager class in src/mcpm/clients/managers/trae.py
  • Registers TraeManager in the client managers init and client_registry files
  • Updates the main clients init to include TraeManager

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
src/mcpm/clients/managers/trae.py New TraeManager implementation with platform-specific config path logic
src/mcpm/clients/managers/init.py Added TraeManager import and all entry
src/mcpm/clients/client_registry.py Instantiated TraeManager in the registry
src/mcpm/clients/init.py Included TraeManager in the module exports
Comments suppressed due to low confidence (1)

src/mcpm/clients/managers/trae.py:29

  • The attribute '_system' is used to determine the platform but is not initialized within TraeManager. Consider initializing '_system' (for example, using platform.system()) in the init method if it is not already set by the parent class.
if config_path:

@niechen niechen merged commit 23abe67 into main Apr 22, 2025
6 checks passed
@niechen niechen deleted the 92-general-support-trae branch April 22, 2025 05:38
mcpm-semantic-release bot pushed a commit that referenced this pull request Apr 22, 2025
# [1.5.0](v1.4.4...v1.5.0) (2025-04-22)

### Features

* **client:** Add Trae client support ([#101](#101)) ([23abe67](23abe67)), closes [#92](#92)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[General]: Support Trae
2 participants