Skip to content

创建 plugin_sdk 包,重构插件系统架构#90

Merged
eee555 merged 4 commits intoeee555:masterfrom
ljzloser:master
Apr 13, 2026
Merged

创建 plugin_sdk 包,重构插件系统架构#90
eee555 merged 4 commits intoeee555:masterfrom
ljzloser:master

Conversation

@ljzloser
Copy link
Copy Markdown
Contributor

refactor: 创建 plugin_sdk 包,重构插件系统架构

  • 创建 plugin_sdk 包,将插件开发 API 独立出来
  • 移动 config_types、plugin_base、service_registry、server_bridge 到 plugin_sdk
  • 移动 shared_types/services 到 plugins/services
  • 重构配置系统:create_widget 返回 ConfigWidgetBase
  • 添加服务等待机制 wait_for_service
  • 重构 history 插件为包形式
  • 更新插件管理器 UI:按钮移至工具栏
  • 更新 build.bat 和 plugin-dev-tutorial.md

ljzloser and others added 4 commits April 13, 2026 20:55
- 创建 plugin_sdk 包,将插件开发 API 独立出来
- 移动 config_types、plugin_base、service_registry、server_bridge 到 plugin_sdk
- 移动 shared_types/services 到 plugins/services
- 重构配置系统:create_widget 返回 ConfigWidgetBase
- 添加服务等待机制 wait_for_service
- 重构 history 插件为包形式
- 更新插件管理器 UI:按钮移至工具栏
- 更新 build.bat 和 plugin-dev-tutorial.md
- 添加 ControlAuthorizationManager 管理控制命令授权
- 每个控制命令类型只能授权给一个插件
- 支持权限变更通知和持久化
- GameServerBridge 使用 Qt 信号槽自动调度到主线程
- 支持同步请求返回值和异步命令
- 拖出 tab 时自动进入拖拽模式
- 添加测试插件 test_control_a 和 test_control_b
- 更新插件开发教程文档
@eee555 eee555 merged commit ac8e66c into eee555:master Apr 13, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants