feat: 添加新的插件和清单管理工具
- 引入了“hello_world_plugin”和“take_picture_plugin”及其各自的清单文件。 - 实现了“manifest_tool.py”,用于创建、验证和管理插件清单。 - 添加了“test_version_compatibility.py”,用于测试版本规范化、比较和兼容性检查。 - 增强了“manifest_utils.py”,增加了版本比较和验证功能。
This commit is contained in:
45
src/plugins/built_in/doubao_pic_plugin/_manifest.json
Normal file
45
src/plugins/built_in/doubao_pic_plugin/_manifest.json
Normal file
@@ -0,0 +1,45 @@
|
||||
{
|
||||
"manifest_version": 3,
|
||||
"name": "豆包图片生成插件 (Doubao Image Generator)",
|
||||
"version": "1.2.0",
|
||||
"description": "基于火山引擎豆包模型的AI图片生成插件,支持智能LLM判定、高质量图片生成、结果缓存和多尺寸支持。",
|
||||
"author": {
|
||||
"name": "MaiBot团队",
|
||||
"url": "https://github.com/MaiM-with-u"
|
||||
},
|
||||
"license": "GPL-v3.0-or-later",
|
||||
|
||||
"host_application": {
|
||||
"min_version": "0.8.0",
|
||||
"max_version": "0.8.0"
|
||||
},
|
||||
"homepage_url": "https://github.com/MaiM-with-u/maibot",
|
||||
"repository_url": "https://github.com/MaiM-with-u/maibot",
|
||||
"keywords": ["ai", "image", "generation", "doubao", "volcengine", "art"],
|
||||
"categories": ["AI Tools", "Image Processing", "Content Generation"],
|
||||
|
||||
"default_locale": "zh-CN",
|
||||
"locales_path": "_locales",
|
||||
|
||||
"plugin_info": {
|
||||
"is_built_in": true,
|
||||
"plugin_type": "content_generator",
|
||||
"api_dependencies": ["volcengine"],
|
||||
"components": [
|
||||
{
|
||||
"type": "action",
|
||||
"name": "doubao_image_generation",
|
||||
"description": "根据描述使用火山引擎豆包API生成高质量图片",
|
||||
"activation_modes": ["llm_judge", "keyword"],
|
||||
"keywords": ["画", "图片", "生成", "画画", "绘制"]
|
||||
}
|
||||
],
|
||||
"features": [
|
||||
"智能LLM判定生成时机",
|
||||
"高质量AI图片生成",
|
||||
"结果缓存机制",
|
||||
"多种图片尺寸支持",
|
||||
"完整的错误处理"
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user