Conversation
Signed-off-by: Frederico Araujo <frederico.araujo@ibm.com>
Signed-off-by: Frederico Araujo <frederico.araujo@ibm.com>
7 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Replace the internal plugin framework (
mcpgateway/plugins/framework/,mcpgateway/plugins/tools/,plugin_templates/) with the CPEX external package (cpex>=0.1.0.dev10).Closes: #3753
What changed
cpexas external dependency inpyproject.tomlfrom mcpgateway.plugins.framework→from cpex.framework,from mcpgateway.plugins.tools→from cpex.toolsget_plugin_manager()singleton factory tomcpgateway/plugins/__init__.py(bridges cpex with gateway-specific hook policies)ENFORCE→SEQUENTIAL,PERMISSIVE→TRANSFORM,ENFORCE_IGNORE_ERROR→SEQUENTIAL+on_error: ignorePluginViolation.http_status_code/.http_headers→violation.details["http_status_code"]/details["http_headers"]PromptPosthookPayload.name→.prompt_id;ToolPreInvokePayload.arguments→.argsmcpgateway/plugins/framework/,mcpgateway/plugins/tools/,plugin_templates/directory,tests/unit/mcpgateway/plugins/framework/tests/acceptance/plugins/test_cpex_contract.py) verifying cpex API surface, behavioral contracts, serialization, and settings compatibilitydocs/docs/using/plugins/,plugins/README.md,plugins/AGENTS.md,llms/plugins-llms.mdTest results