Commit Graph

23 Commits

Author SHA1 Message Date
DrSmoothl
1f02171a63 Refactor plugin loader and runner to support enhanced manifest structure
- 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.
2026-03-24 12:14:59 +08:00
DrSmoothl
d13767ee21 feat: Enhance plugin configuration management and SDK integration
- Add support for configuration reload scopes in the plugin runtime.
- Implement validation for SDK plugins to ensure required lifecycle methods are overridden.
- Update the configuration update handling to include scope information.
- Introduce tests for expression auto-check task and NapCat adapter SDK integration.
- Refactor configuration management to support callbacks with variable arguments.
- Improve plugin loading and error handling for configuration updates.
- Ensure that plugins can manage their own configuration updates effectively.
2026-03-24 12:14:58 +08:00
DrSmoothl
262efa2302 feat: 优化表情包插件和 TTS 插件的异步调用,简化错误处理逻辑 2026-03-13 16:31:59 +08:00
DrSmoothl
ce8d8dfd0a 重构整个插件系统,尝试恢复可启动性,新增插件系统maibot-plugin-sdk依赖 2026-03-07 19:40:51 +08:00
SengokuCola
b73a748f52 feat:优化think_mode,修复表情包选取bug 2025-12-13 00:12:13 +08:00
SengokuCola
bf71fe739d fix:emoji使用utils模型而不是replyer 2025-11-20 01:28:16 +08:00
SengokuCola
35c3fe5b10 feat:添加来自困惑内容的主动提问发言 2025-10-04 17:18:43 +08:00
SengokuCola
dbdf650b1d ref:修改了plan的执行记录展示模式,现在每个动作的执行都会被记录 2025-10-02 20:11:44 +08:00
墨梓柒
e9a5488b62 Ruff Fix 2025-09-28 00:02:18 +08:00
SengokuCola
0964676bfb fix:表情包管理插件可工作 2025-09-24 17:32:47 +08:00
SengokuCola
22ddaa5b72 fix:修改参数优化 2025-09-23 19:42:45 +08:00
SengokuCola
a932ca695a feat:将relation获取变为工具 2025-09-17 21:17:52 +08:00
墨梓柒
163dbb6b90 超级Ruff 2025-09-09 19:25:12 +08:00
SengokuCola
d10e08f15d better:美化logger 2025-08-24 15:26:24 +08:00
SengokuCola
9fe19671ec fix:记忆系统成大芬了,暂时禁用 2025-08-23 12:38:17 +08:00
UnCLAS-Prommer
e8922672aa 附属函数参数修改 2025-08-21 00:46:04 +08:00
UnCLAS-Prommer
c205825319 Merge branch 'v0.10.0' into dev to update 2025-08-18 11:32:05 +08:00
UnCLAS-Prommer
5e26414839 恢复可用性 2025-08-18 11:16:28 +08:00
SengokuCola
794a0d8fd4 fix:修改no_reply为no_action,同时修复一些小bug 2025-08-17 21:14:52 +08:00
UnCLAS-Prommer
3481234d2b 数据库的信息重构为dataclass 2025-08-17 17:11:32 +08:00
SengokuCola
0f6ed0fe02 ref:重构关系系统第一步,拆除impression,采用不同属性交叉评分呢 2025-08-12 01:38:19 +08:00
SengokuCola
3804124df8 fix:优化reply,填补缺失值,youhualog 2025-08-11 00:19:31 +08:00
SengokuCola
9e9e79694a feat:将no_reply内置 2025-08-10 22:12:56 +08:00