Conversation
Fix webhook 插件路径错误问题
在启用插件时,增加未安装状态的检查和安装流程,并确保状态正确转换 在禁用插件时,增加运行状态的检查和停止流程,确保禁用前插件已停止
将插件启用和禁用的公共逻辑提取为独立方法 ensurePluginEnabledAndRunning 和 ensurePluginDisabled 统一路由前缀为 /admin/plugins/mcp_runtime/ 添加缺失的服务器列表路由
将MCP相关API路径从/admin/mcp迁移至/admin/plugins/mcp_runtime 更新MCPServerConfig和MCPServer模型字段描述 移除不再使用的GatewayClass选项列表API
添加models/db.go文件实现数据库初始化功能 将内部MCP服务器配置逻辑从mcp_runtime迁移至k8m_mcp_server 在安装流程中增加数据库初始化检查
添加 DropDB 函数用于在卸载插件时清理内置 MCP Server 配置及相关数据 优化 addInnerMCPServer 函数错误处理并提取常量 innerMCPServerName
升级插件开启关闭操作,自动化进行前置操作
Contributor
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the ✨ Finishing touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
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.
No description provided.