Commit Graph

3684 Commits

Author SHA1 Message Date
DrSmoothl
00c2158f76 feat: 更新 handle_config_reload 方法文档,明确配置热重载的行为和通知机制 2026-03-16 07:49:25 +08:00
UnCLAS-Prommer
6e97bead53 Merge branch 'r-dev' of github.com:Mai-with-u/MaiBot into r-dev 2026-03-15 23:53:59 +08:00
UnCLAS-Prommer
cab502e727 修复拼写;将str换为路径使其更清晰 2026-03-15 23:48:15 +08:00
DrSmoothl
ef9b0d6d08 feat(plugin_loader): 添加临时 sys.path 入口管理器以支持插件加载 2026-03-15 22:04:33 +08:00
anderwer
e8244ed49e fix: 为 Runtime 和 Loader 补充包式插件导入支持 2026-03-15 16:58:53 +08:00
DrSmoothl
e1b3cf6e9f fix: 修复 Windows 平台下信号处理器注册问题,避免不必要的注册尝试 2026-03-15 16:27:50 +08:00
anderwer
314bbcd587 fix(plugin_runtime): handle unsupported signal handlers on Windows 2026-03-15 16:04:38 +08:00
DrSmoothl
49b9401709 feat: 添加 Windows Named Pipe 传输实现,支持异步连接和数据传输,修复 Windows 平台插件系统导入隔离误把 DLLs 加进去的 bug 2026-03-15 15:44:14 +08:00
晴猫
34a8de56c3 feat: 添加静态路径准备和自动构建功能的单元测试 2026-03-15 10:06:59 +09:00
晴猫
5eac9b3f31 fix: default i18n locale from system locale 2026-03-15 09:41:23 +09:00
晴猫
be047aa2c3 fix: align sender paths with plan, remove QQ-as-universal fallback
- Remove get_bot_account("qq") fallback from all 4 sender paths
  (plan L108/L208/L449: unknown platform = no account, never substitute QQ)
- Sender paths now error immediately if platform bot account is not configured
- Add detailed comments on filter_bot legacy fallback explaining why
  global user_id match is needed (plan contingency L528 insufficient for
  platform-tagged legacy rows like telegram+qq_account)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-15 08:25:56 +09:00
晴猫
d3420bd1b3 fix: address second-round review feedback on bot identity PR 2026-03-15 08:05:36 +09:00
晴猫
4f8ab0abb1 fix: address bot identity review regressions 2026-03-15 07:51:31 +09:00
晴猫
267b42001e fix: make bot identity platform-aware 2026-03-15 07:22:08 +09:00
UnCLAS-Prommer
210a811f23 移除无用内容 2026-03-15 01:11:01 +08:00
DrSmoothl
292f0a1d7a feat: 增加网络安全功能,验证公共 URL 和适配器配置路径 2026-03-14 22:55:51 +08:00
DrSmoothl
1978b097e3 fix: 增加安全路径解析功能,防止路径穿越请求 2026-03-14 22:22:06 +08:00
DrSmoothl
172615f18a WebUI 前端 & 后端超级大重构 2026-03-14 21:06:36 +08:00
UnCLAS-Prommer
037bc493a0 fix: event_bus类型注解 2026-03-14 10:07:53 +08:00
DrSmoothl
6c6e441fbe pylance fix x3 2026-03-14 02:14:32 +08:00
DrSmoothl
2e080e437a pylance fix x2 2026-03-14 02:08:50 +08:00
DrSmoothl
10ff7a01c2 pylance fix 2026-03-14 01:50:00 +08:00
DrSmoothl
2c330e3902 重构事件总线和插件运行时,优化消息处理逻辑,新增 IPC 传输字典转换功能,改进组件管理协议 2026-03-14 01:39:59 +08:00
DrSmoothl
84212e8e95 PFC 新版基础模块适配 2026-03-14 01:06:33 +08:00
DrSmoothl
a4303d9b81 移除所有 MongoDB 风格 filter 2026-03-14 00:56:40 +08:00
DrSmoothl
c4a0cc19f8 重构服务模块,优化消息处理逻辑,移除冗余功能,更新数据模型适配 2026-03-14 00:52:10 +08:00
DrSmoothl
1d40168c81 优化命令处理逻辑,新增命令消息标记和存储功能 2026-03-14 00:44:30 +08:00
DrSmoothl
4b9c905026 PFC 兼容新版数据模型 2026-03-14 00:36:52 +08:00
DrSmoothl
4bc9c5bf7e 炸 service 层 x 2,把能归类为现有重构好的模块的都归类过去 2026-03-14 00:33:08 +08:00
DrSmoothl
43c5b34623 炸 service 层 2026-03-14 00:13:35 +08:00
DrSmoothl
898fab6de9 部分模块的新数据结构适配 2026-03-13 23:36:17 +08:00
DrSmoothl
ca605eb560 移除部分内置插件 2026-03-13 17:42:20 +08:00
DrSmoothl
2f3519411a feat: 添加 Host 应用版本号支持,优化插件加载和热重载逻辑,检测重复插件 ID 2026-03-13 17:35:35 +08:00
DrSmoothl
8da1b6d93f feat: 实现插件能力令牌的多版本支持,优化插件热重载逻辑 2026-03-13 16:54:01 +08:00
DrSmoothl
324432ff92 feat: 添加对 key_field/key_value 参数的兼容处理,自动转换为 filters 2026-03-13 16:37:46 +08:00
DrSmoothl
262efa2302 feat: 优化表情包插件和 TTS 插件的异步调用,简化错误处理逻辑 2026-03-13 16:31:59 +08:00
DrSmoothl
29f4d05a87 feat: 添加组件启停目标解析功能,支持全局唯一短名,避免跨 Supervisor 误操作 2026-03-13 16:15:20 +08:00
UnCLAS-Prommer
e9badbc307 修正类型注解 2026-03-13 16:14:54 +08:00
UnCLAS-Prommer
de39099cd9 sourcery advice 2026-03-13 16:14:09 +08:00
DrSmoothl
7e2b509bf0 feat: 实现 RPC 服务器的发送队列和背压控制机制 2026-03-13 16:05:51 +08:00
DrSmoothl
d92aa800a3 feat: 实现插件配置更新通知机制,支持热重载与文件变化监听 2026-03-13 15:47:49 +08:00
DrSmoothl
f1e10b4054 feat: 添加插件身份绑定机制,防止伪造插件身份的 RPC 调用 2026-03-13 15:40:14 +08:00
DrSmoothl
44a9e9ecd7 feat: 实现插件注册的分阶段接入与切换机制,优化 RPC 连接管理 2026-03-13 15:21:40 +08:00
DrSmoothl
a576313b22 Ruff Format 2026-03-13 11:45:26 +08:00
DrSmoothl
2a510312bc feat: 添加日志处理器适配功能,统一第三方库日志输出 2026-03-13 11:36:25 +08:00
DrSmoothl
8ac0aff479 插件系统代码风格修复 2026-03-13 11:07:19 +08:00
DrSmoothl
bcb7963d37 feat: 增强命令调用逻辑,支持通过 plugin.invoke_command 返回原始结构,并优化消息统计功能 2026-03-13 10:49:20 +08:00
DrSmoothl
0d9eff7001 feat: 更新命令查找逻辑,支持返回匹配的命名捕获组,并优化旧连接请求处理 2026-03-13 10:37:07 +08:00
春河晴
67b559200d move zh-CN prompt source 2026-03-13 02:36:08 +09:00
DrSmoothl
df8caf21ba feat: 添加 WebUI 模块的颜色映射和别名支持 2026-03-13 01:25:13 +08:00