Commit Graph

3702 Commits

Author SHA1 Message Date
UnCLAS-Prommer
14a0c21cbf refactor: component_registry更易理解 2026-03-24 12:13:17 +08:00
UnCLAS-Prommer
ca6fd96d4c refactor: 确认ErrorCode可以继承str,恢复原来设计 2026-03-24 12:13:17 +08:00
UnCLAS-Prommer
84a6524bd9 refactor: 移除generation;添加新的ErrorCode;修改ErrorCode的一个名称 2026-03-24 12:13:17 +08:00
UnCLAS-Prommer
49b620219d refcator: 重命名policy为authorization;移除envelope的generation(runner不再重载); 2026-03-24 12:13:17 +08:00
UnCLAS-Prommer
e1b2ecb5b1 fix: (AI) 更robust的传输 2026-03-24 12:13:17 +08:00
UnCLAS-Prommer
3419075599 feat: 添加注释;添加日志颜色自定义 2026-03-24 12:13:17 +08:00
UnCLAS-Prommer
668f41431a 移除无用配置 2026-03-24 12:13:17 +08:00
SengokuCola
03ed59e388 更改文件结构 2026-03-24 11:36:26 +08:00
SengokuCola
f431d78bff feat:优化maisaka 2026-03-24 01:30:36 +08:00
SengokuCola
bfc9781c4f feat:尝试建立hfc逻辑 2026-03-23 17:56:18 +08:00
SengokuCola
e7ca3142e9 feat:修改maisaka 2026-03-23 17:55:39 +08:00
DrSmoothl
28afa6f2c2 refactor: 添加类型注解以增强代码可读性 2026-03-16 23:01:29 +08:00
DrSmoothl
a40d28a409 feat: 添加 EmojiManager 的配置热重载功能及其注销机制 2026-03-16 22:58:53 +08:00
DrSmoothl
a5a6d2cb26 fix: 修复错误的插件重载机制,改为插件级区分
test: 补充新版本插件系统重载机制的测试
2026-03-16 13:27:10 +08:00
DrSmoothl
e7ac064a80 WebUI 后端类型注解补全,使用全 typing 库类型注解 2026-03-16 13:09:12 +08:00
DrSmoothl
df088205dd refactor(plugin_loader): 优化插件发现与加载逻辑,使用 Path 类型增强可读性 2026-03-16 08:22:42 +08:00
DrSmoothl
7136deac93 补充 uds 的类型注解 2026-03-16 08:16:01 +08:00
DrSmoothl
7420f84fd0 补充 named pipe 文件的类型注解 2026-03-16 08:03:51 +08:00
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