- 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.
42 lines
985 B
JSON
42 lines
985 B
JSON
{
|
|
"manifest_version": 2,
|
|
"version": "2.0.0",
|
|
"name": "Emoji插件 (Emoji Actions)",
|
|
"description": "可以发送和管理 Emoji",
|
|
"author": {
|
|
"name": "SengokuCola",
|
|
"url": "https://github.com/MaiM-with-u"
|
|
},
|
|
"license": "GPL-v3.0-or-later",
|
|
"urls": {
|
|
"repository": "https://github.com/MaiM-with-u/maibot",
|
|
"homepage": "https://github.com/MaiM-with-u/maibot",
|
|
"documentation": "https://github.com/MaiM-with-u/maibot",
|
|
"issues": "https://github.com/MaiM-with-u/maibot/issues"
|
|
},
|
|
"host_application": {
|
|
"min_version": "1.0.0",
|
|
"max_version": "1.0.0"
|
|
},
|
|
"sdk": {
|
|
"min_version": "2.0.0",
|
|
"max_version": "2.99.99"
|
|
},
|
|
"dependencies": [],
|
|
"capabilities": [
|
|
"emoji.get_random",
|
|
"message.get_recent",
|
|
"message.build_readable",
|
|
"llm.generate",
|
|
"send.emoji",
|
|
"config.get"
|
|
],
|
|
"i18n": {
|
|
"default_locale": "zh-CN",
|
|
"supported_locales": [
|
|
"zh-CN"
|
|
]
|
|
},
|
|
"id": "builtin.emoji-plugin"
|
|
}
|