-
Notifications
You must be signed in to change notification settings - Fork 87
fix: compatible with goose builtin config #185
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
fix: compatible with goose builtin config #185
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
There was a problem hiding this 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 resolves issue #181 by making the application compatible with goose builtin configurations. Key changes include updating tests to cover builtin and stdio server scenarios, introducing a CustomServerConfig into the schema and client conversions, and adding explicit error handling for unsupported custom configurations in the router proxy.
Reviewed Changes
Copilot reviewed 6 out of 7 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| tests/test_clients/test_goose.py | Added tests for builtin and stdio server operations and config cleanup. |
| src/mcpm/utils/display.py | Extended display functionality to support CustomServerConfig. |
| src/mcpm/router/client_connection.py | Updated transport context to raise an error for unsupported custom configs. |
| src/mcpm/core/schema.py | Introduced CustomServerConfig and updated the ServerConfig union. |
| src/mcpm/commands/profile.py | Updated profile listing to handle CustomServerConfig instances. |
| src/mcpm/clients/managers/goose.py | Adjusted normalization and client conversion logic for builtin and custom configs. |
Comments suppressed due to low confidence (1)
src/mcpm/clients/managers/goose.py:177
- Overriding the "type" to "builtin" for CustomServerConfig in the client format conversion may cause confusion. Consider documenting this decision or using a distinct type to differentiate custom configs from built-in ones.
elif isinstance(server_config, CustomServerConfig):
CI Feedback 🧐A test triggered by this PR failed. Here is an AI-generated analysis of the failure:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
|||||||||
Co-authored-by: qodo-merge-pro[bot] <151058649+qodo-merge-pro[bot]@users.noreply.github.com>
SummaryAdds Notable changes
ReviewNice, focused enhancement with solid test coverage. A couple of tiny nits to consider:
Otherwise LGTM – great work! |
## [1.13.6](v1.13.5...v1.13.6) (2025-06-24) ### Bug Fixes * compatible with goose builtin config ([#185](#185)) ([8485c1b](8485c1b))
|
🎉 This PR is included in version 1.13.6 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
User description
Resolves #181
PR Type
Bug fix
Description
Add support for Goose builtin server configurations
Introduce CustomServerConfig for non-standard server types
Fix Pydantic validation errors in
mcpm lscommandUpdate display and profile handling for custom configs
Changes walkthrough 📝
2 files
Add builtin server type handlingSupport CustomServerConfig in profile display2 files
Add CustomServerConfig class definitionAdd custom server config display1 files
Add custom config validation error2 files
Add comprehensive Goose client testsAdd complete Windsurf client test suite