feat: 实现动态插件系统 (6阶段完成)
- 阶段1: 消息类型序列化 (Serialize/Deserialize, &'static str → String) - 阶段2: FFI 边界类型 + Plugin SDK (plugin_abi, showen-plugin-sdk crate) - 阶段3: PluginLoader + DynamicPlugin (libloading 动态加载 .so) - 阶段4: 版本管理 + 错误策略 (VersionManager, PluginState, 自动回退) - 阶段5: 远程仓库客户端 (HTTP 下载 + tar.gz 安装) - 阶段6: 示例插件 + HTTP 管理 API + 全目录 README 文档 54/54 测试通过,0 warnings。 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -8,10 +8,10 @@
|
||||
"offset_x": 0,
|
||||
"offset_y": 0,
|
||||
"prevent_screen_lock": true,
|
||||
"render_width": 1280,
|
||||
"render_height": 800,
|
||||
"output_width": null,
|
||||
"output_height": null,
|
||||
"render_width": 1920,
|
||||
"render_height": 1080,
|
||||
"output_width": 1920,
|
||||
"output_height": 1080,
|
||||
"scale_mode": "stretch",
|
||||
"allow_upscale": true,
|
||||
"perspective_correction": {
|
||||
@@ -22,16 +22,16 @@
|
||||
0
|
||||
],
|
||||
[
|
||||
1280,
|
||||
1920,
|
||||
0
|
||||
],
|
||||
[
|
||||
1280,
|
||||
800
|
||||
1920,
|
||||
1080
|
||||
],
|
||||
[
|
||||
0,
|
||||
800
|
||||
1080
|
||||
]
|
||||
]
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user