Commit Graph

95 Commits

Author SHA1 Message Date
SengokuCola
a5fc4d172d feat:提供原生vlm支持 2026-03-24 20:57:57 +08:00
DrSmoothl
0c508995dd feat: enhance session ID calculation and plugin management
- Updated `calculate_session_id` method in `SessionUtils` to include optional `account_id` and `scope` parameters for more granular session ID generation.
- Added new environment variables in `plugin_runtime` for external plugin dependencies and global configuration snapshots.
- Introduced methods in `RuntimeComponentManagerProtocol` for loading and reloading plugins globally, accommodating external dependencies.
- Enhanced `PluginRunnerSupervisor` to manage external available plugin IDs during plugin reloads.
- Implemented dependency extraction and management in `PluginRuntimeManager` to handle cross-supervisor dependencies.
- Added tests for session ID calculation and message registration in `ChatManager` to ensure correct behavior with new parameters.
2026-03-24 12:14:58 +08:00
DrSmoothl
18a0e7664a Refactor plugin runtime components and enhance message handling
- Removed unused core action mirror functionality from PluginRunnerSupervisor.
- Simplified action and command execution logic in send_service.py.
- Introduced ComponentQueryService for unified component querying in plugin runtime.
- Enhanced message component handling with new binary component support.
- Improved message sequence construction and detection of outbound message flags.
- Updated methods for sending messages to streamline the process and improve readability.
2026-03-24 12:14:41 +08:00
UnCLAS-Prommer
593400c0aa bot.py支持gateway的修改 2026-03-24 12:13:17 +08:00
DrSmoothl
172615f18a WebUI 前端 & 后端超级大重构 2026-03-14 21:06:36 +08:00
DrSmoothl
1d40168c81 优化命令处理逻辑,新增命令消息标记和存储功能 2026-03-14 00:44:30 +08:00
DrSmoothl
a576313b22 Ruff Format 2026-03-13 11:45:26 +08:00
DrSmoothl
0d9eff7001 feat: 更新命令查找逻辑,支持返回匹配的命名捕获组,并优化旧连接请求处理 2026-03-13 10:37:07 +08:00
UnCLAS-Prommer
272d0368b8 注释掉pfc内容,暂时恢复部分代码保证可启动性 2026-03-13 01:02:05 +08:00
DrSmoothl
8f7f31a164 feat: 优化插件调用逻辑,重构命令匹配和事件处理,增强插件管理能力 2026-03-13 00:47:09 +08:00
DrSmoothl
ce8d8dfd0a 重构整个插件系统,尝试恢复可启动性,新增插件系统maibot-plugin-sdk依赖 2026-03-07 19:40:51 +08:00
DrSmoothl
2e3dd44ee9 Refactor chat stream handling to use BotChatSession
- Updated imports and references from ChatStream to BotChatSession across multiple files.
- Adjusted method signatures and internal logic to accommodate the new session management.
- Ensured compatibility with existing functionality while improving code clarity and maintainability.
2026-03-07 00:57:37 +08:00
DrSmoothl
baae2df154 feat: 集成新版本插件运行时,支持事件桥接与命令处理 2026-03-06 16:37:56 +08:00
UnCLAS-Prommer
a39ccedb9a 应要求提交上未完成的HFC, expression部分 2026-02-28 21:14:46 +08:00
DrSmoothl
eaef7f0e98 Ruff Format 2026-02-21 16:24:24 +08:00
墨梓柒
7bdd394bf0 将PFC加回来,修复一大堆PFC的神秘报错 2026-01-16 03:36:25 +08:00
墨梓柒
e680a4d1f5 Ruff format 2025-12-13 17:14:09 +08:00
SengokuCola
eb86d3ed43 remove:移除情绪功能 2025-12-07 00:56:06 +08:00
SengokuCola
056a909c77 feat:将是否拦截改为拦截登记 2025-12-03 09:52:23 +08:00
SengokuCola
265d946ebd feat:正确拦截消息 2025-11-26 16:09:44 +08:00
墨梓柒
7839acd25d Ruff fix 2025-11-13 13:24:55 +08:00
xiaoxi68
12bd9f368d fix(bot): 恢复戳一戳正常响应 2025-11-10 19:04:00 +08:00
xiaoxi68
cb5962f739 fix: 撤回通知日志优化并避免二次空日志 2025-10-30 13:22:29 +08:00
exynos
817154a72b 标准化“被@”识别与平台解耦:更改 maim_message 以适配tg等后续平台的视频 2025-10-13 16:00:15 +08:00
SengokuCola
92e90a0bee feat:添加频率精准控制,移除s4u代码,优化tool返回值 2025-10-02 01:19:05 +08:00
SengokuCola
aeeceeb32b fix:修复转义问题 2025-10-02 00:06:50 +08:00
墨梓柒
e9a5488b62 Ruff Fix 2025-09-28 00:02:18 +08:00
UnCLAS-Prommer
a2bbbf263c fix filter 2025-09-24 19:52:55 +08:00
UnCLAS-Prommer
680593d57c fix #1253 2025-09-23 21:02:03 +08:00
magisk317
89fb98c7f4 Fix TypeError in _check_ban_regex by handling NoneType raw_message
- Add None check for text parameter in _check_ban_regex function
- Prevents TypeError when message.raw_message is None
- Fixes issue: expected string or bytes-like object, got 'NoneType'
2025-09-17 11:28:44 +08:00
UnCLAS-Prommer
d560d02761 echo消息处理 2025-09-14 16:17:44 +08:00
UnCLAS-Prommer
ab64eee343 action, command, event_handler易用方法更新,增加语音,混合,转发消息的发送 2025-09-14 00:14:01 +08:00
UnCLAS-Prommer
87529b63e3 添加更多种类的发送类型 2025-09-09 22:34:10 +08:00
UnCLAS-Prommer
b636683fe4 增加了event_handler修改内容的方法 2025-09-07 01:15:21 +08:00
UnCLAS-Prommer
6bbf9ed216 typo 2025-08-22 00:30:41 +08:00
UnCLAS-Prommer
1461338c0c typing fix 2025-08-13 22:51:34 +08:00
SengokuCola
f0fff5a039 fix:person创建和调用区分 2025-08-12 15:15:50 +08:00
SengokuCola
d1f15a932a fix:缺少stream的报错 2025-08-08 21:20:28 +08:00
SengokuCola
a2c86f3605 feat:部分处理notify,自动同步数据库null约束变更
notify存储至message库
2025-08-08 12:34:21 +08:00
UnCLAS-Prommer
bbb112d803 动态控制命令后续处理 2025-07-25 11:01:14 +08:00
UnCLAS-Prommer
d6284b6b4c 插件管理API测试与修改通过 2025-07-24 00:31:53 +08:00
UnCLAS-Prommer
10bf424540 增加了组件的局部禁用方法 2025-07-23 00:41:31 +08:00
SengokuCola
95d6ee1213 修复合并错误 2025-07-22 21:15:02 +08:00
SengokuCola
2a8d29332e Merge branch 'dev' of https://github.com/MaiM-with-u/MaiBot into dev 2025-07-22 20:42:36 +08:00
SengokuCola
75022b5d10 s4u的一些修改,包括动作适配 2025-07-22 20:36:53 +08:00
UnCLAS-Prommer
484fc20983 typing and plugins 2025-07-21 01:23:23 +08:00
SengokuCola
faeb76bdd2 fix:s4u由platform触发 2025-07-20 14:24:44 +08:00
SengokuCola
a150aa7b2b feat:noreply不考虑command 2025-07-15 21:37:32 +08:00
SengokuCola
5ec0d42cde feat:添加新的message类为s4u服务,添加s4u config,添加sc和gift的解析,修复关系构建的一些问题 2025-07-15 17:04:30 +08:00
UnCLASPrommer
eae399fb95 typing change, use enum instead of string, fix typo 2025-07-14 23:40:09 +08:00