- Updated the PluginMeta class to utilize a strongly typed PluginManifest, improving type safety and clarity. - Refactored dependency extraction logic to streamline the handling of plugin dependencies. - Modified the PluginLoader to accommodate new manifest versioning and validation processes. - Enhanced the PluginRunner to work with a dictionary for external available plugins, allowing for version mapping. - Updated built-in plugins' manifest files to version 2, adding URLs and SDK versioning for better integration and documentation. - Improved error handling and logging for plugin loading and dependency resolution processes.
43 lines
1.0 KiB
JSON
43 lines
1.0 KiB
JSON
{
|
||
"manifest_version": 2,
|
||
"version": "2.0.0",
|
||
"name": "MCP桥接插件",
|
||
"description": "将 MCP (Model Context Protocol) 服务器的工具桥接到 MaiBot,使麦麦能够调用外部 MCP 工具。",
|
||
"author": {
|
||
"name": "CharTyr",
|
||
"url": "https://github.com/CharTyr"
|
||
},
|
||
"license": "AGPL-3.0",
|
||
"urls": {
|
||
"repository": "https://github.com/CharTyr/MaiBot_MCPBridgePlugin",
|
||
"homepage": "https://github.com/CharTyr/MaiBot_MCPBridgePlugin",
|
||
"documentation": "https://github.com/CharTyr/MaiBot_MCPBridgePlugin",
|
||
"issues": "https://github.com/CharTyr/MaiBot_MCPBridgePlugin/issues"
|
||
},
|
||
"host_application": {
|
||
"min_version": "0.11.6",
|
||
"max_version": "1.0.0"
|
||
},
|
||
"sdk": {
|
||
"min_version": "2.0.0",
|
||
"max_version": "2.99.99"
|
||
},
|
||
"dependencies": [
|
||
{
|
||
"type": "python_package",
|
||
"name": "mcp",
|
||
"version_spec": ">=0.0.0"
|
||
}
|
||
],
|
||
"capabilities": [
|
||
"send.text"
|
||
],
|
||
"i18n": {
|
||
"default_locale": "zh-CN",
|
||
"supported_locales": [
|
||
"zh-CN"
|
||
]
|
||
},
|
||
"id": "chartyr.mcpbridge-plugin"
|
||
}
|