Commit Graph

5809 Commits

Author SHA1 Message Date
DrSmoothl
e44e4245f5 feat: 添加插件配置版本管理,优化配置归一化流程 2026-04-04 12:38:45 +08:00
Dawn ARC
81f7754050 Merge pull request #1580 from A-Dawn/r-dev
feat:将A_memorix接入maisaka
2026-04-04 02:52:00 +08:00
Dawn ARC
b2f5b5c665 Merge branch 'Mai-with-u:r-dev' into r-dev 2026-04-04 02:51:00 +08:00
DawnARC
cdf9d54850 feat:将A_memorix接入maisaka 2026-04-04 02:50:08 +08:00
SengokuCola
eda8ce66f0 feat:优化重复思考,表情现在一次选所有且可配置 2026-04-04 01:55:05 +08:00
SengokuCola
97fb4cb36f feat:优化重复思考,表情现在一次选所有 2026-04-04 01:48:52 +08:00
SengokuCola
f807295653 Merge branch 'r-dev' of https://github.com/Mai-with-u/MaiBot into r-dev 2026-04-04 01:28:42 +08:00
SengokuCola
5254d9ac8e feat;优化表情包发送和replyer 2026-04-04 01:28:37 +08:00
Dawn ARC
85f28ee648 Merge pull request #1579 from A-Dawn/r-dev
refactor(core): 精细化异步类型并改进配置处理的相关逻辑
2026-04-04 01:15:44 +08:00
Dawn ARC
a04fa360d7 Merge branch 'Mai-with-u:r-dev' into r-dev 2026-04-04 01:13:33 +08:00
SengokuCola
84977aa07b Merge branch 'r-dev' of https://github.com/Mai-with-u/MaiBot into r-dev 2026-04-04 01:11:14 +08:00
DawnARC
9c21fa0a56 refactor(core): 精细化异步类型并改进配置处理的相关逻辑
精简协程工厂与执行器的类型注解(将 Awaitable 替换为 Coroutine,添加 Callable/Coroutine 导入,并在 create_task 前对 episode 循环进行类型转换)
优化 SDKMemoryKernel 的配置文件处理逻辑,规范应用配置时的配置文件载荷格式
调整 GraphStore.matrix_format ,现支持 SparseMatrixFormat 类型,初始化 VectorStore.min_train_threshold,并将 RelationWriteService.source_paragraph 重构为 Optional[str]
加固 Web UI 处理程序:安全解析 path_aliases,改为直接调用 get_raw_config_with_meta(),并在使用前规范化 tuning report 的载荷与报告结构
2026-04-04 01:11:06 +08:00
DawnARC
349889a496 docs:更新mem契约文档 2026-04-04 00:51:46 +08:00
SengokuCola
87bdb1f12a feat;replyer采用多模态 2026-04-03 23:47:19 +08:00
DrSmoothl
a2431e677e feat: 添加嵌入服务层和任务解析工具,重构文本嵌入逻辑 2026-04-03 23:35:16 +08:00
tcmofashi
8bfe3e7036 Merge pull request #1578 from tcmofashi/rdev
feat: add a subagent frame
2026-04-03 23:26:06 +08:00
tcmofashi
7b9e1cf925 ruff 2026-04-03 23:18:30 +08:00
SengokuCola
8255b13cea Merge branch 'r-dev' of https://github.com/Mai-with-u/MaiBot into r-dev 2026-04-03 22:42:29 +08:00
tcmofashi
185361f2c3 feat: add a subagent frame 2026-04-03 22:15:53 +08:00
Dawn ARC
43db2164f7 Merge pull request #1564 from A-Dawn/r-dev
feat:在r-dev分支内添加记忆系统,替换旧有LPMM
2026-04-03 22:01:04 +08:00
SengokuCola
07597bc1d7 feat:新增sub_agent,暂时用于emoji选择;修改部分配置位置 2026-04-03 21:57:35 +08:00
Dawn ARC
b6db0455c5 Merge branch 'Mai-with-u:r-dev' into r-dev 2026-04-03 21:27:19 +08:00
SengokuCola
ce580d1f8b feat:可以查看转发消息,新增复杂消息,修复表情包缓存,修改bot自己的消息回调msg_id 2026-04-03 20:55:49 +08:00
DawnARC
291420b7c7 merge: 同步 upstream/r-dev 并解决冲突 2026-04-03 19:56:45 +08:00
DawnARC
da95b06f96 feat:完善长期记忆控制台导入链路与联调测试
summary:\n- 扩展长期记忆控制台导入、调优与删除相关 UI/接口,补充中文化展示与任务细粒度状态管理\n- 强化 memory API 与后端路由能力,补齐导入任务、图谱检索、配置与运行态相关字段\n- 新增与增强前后端测试,覆盖导入多文件类型、检索、调优、删除及图谱查询关键路径

description:\n- dashboard: 重构 knowledge-base 页面与 memory-api,统一任务队列、分块分页、来源删除恢复、调优闭环交互\n- backend: 扩展 webui memory 路由与 A_Memorix 内核检索逻辑,完善服务侧能力与配置 schema\n- tests: 增加 webui 集成测试和 kernel 单测,提升导入/检索/调优/删除全流程回归保障
2026-04-03 19:50:08 +08:00
SengokuCola
5cdca2bbd4 fix:降低quote的概率 2026-04-03 18:33:51 +08:00
SengokuCola
fc753f7e9f feat:maisak正确解析图片原始数据,reply信息 2026-04-03 17:22:53 +08:00
SengokuCola
b74b60cb1a feat:移除旧的maisaka cli逻辑 2026-04-03 15:31:44 +08:00
DrSmoothl
8ba43bb694 feat: 更新 maibot-plugin-sdk 依赖版本至 2.3.0 2026-04-03 15:25:44 +08:00
DrSmoothl
a2fd0a1750 test 2026-04-03 15:24:53 +08:00
SengokuCola
6c720e0403 ref:重构maisaka内置工具逻辑,拆分文件 2026-04-03 14:51:05 +08:00
SengokuCola
6e6aa0b13a feat:生成器可用多消息模式 2026-04-03 13:43:49 +08:00
DawnARC
eac5495d00 feat:移除submodule安装流 2026-04-03 08:29:15 +08:00
A-Dawn
15d436b3a1 refactor: 将 A_Memorix 重构为主线长期记忆子系统并重建管理界面
- 将 A_Memorix 从旧 submodule / 插件形态迁入主线源码,主体落到 src/A_memorix
- 调整主程序接入方式,使 A_Memorix 作为源码内长期记忆子系统运行
- 回收父项目插件体系中针对 A_Memorix 的特判,减少对 plugin 通用层的侵入
- 将长期记忆配置、运行时、自检、导入、调优等能力收口到 memory 路由与主线服务层
- 重做长期记忆控制台与图谱页面,按 MaiBot 现有 dashboard 风格接入
- 补充实体关系图与证据视图双视图能力,支持查看节点、关系、段落及其证据链路
- 新增长期记忆配置编辑器与 memory-api,支持主线内配置管理
- 补齐删除管理能力:删除预览、混合删除、来源批量删除、删除操作恢复
- 优化删除预览与删除操作详情的前端展示,支持分页、检索,并以实体名/关系内容/段落摘要替代单纯 hash 展示
- 修复图谱与控制台相关前端问题,包括证据视图切换、查询触发时机、删除弹层空值保护等
- 新增或更新 A_Memorix 相关测试、WebUI 路由测试、前端 vitest 测试与辅助验证脚本
- 移除旧 plugins/A_memorix、.gitmodules 及相关历史维护文档
2026-04-03 08:08:24 +08:00
DrSmoothl
aea87e18f1 feat: enhance bot configuration with new sections and JSON field hooks
- Added support for new configuration sections: relationship, database, maisaka, mcp, and plugin_runtime.
- Introduced complex field hooks for handling JSON configurations in chat talk value rules, expression learning lists, and more.
- Updated the field hooks to include schema metadata for better UI representation.
- Refactored the bot configuration page to utilize a more dynamic approach for managing section values and state.
- Improved the configuration schema generation to ensure all top-level sections have UI metadata.
- Added tests to validate the new configuration schema and ensure proper functionality of the JSON field hooks.
2026-04-03 02:46:07 +08:00
DrSmoothl
4ec06ece56 feat: add plugin dependency pipeline and HTML rendering service
- Implemented a new dependency pipeline for plugins to manage Python package dependencies, including conflict detection and automatic installation of missing dependencies.
- Introduced an HTML rendering service that utilizes existing browsers to render HTML content as PNG images, with support for various configurations and error handling.
2026-04-03 01:48:23 +08:00
SengokuCola
fbc2fba6ff Merge branch 'r-dev' of https://github.com/Mai-with-u/MaiBot into r-dev 2026-04-03 00:00:55 +08:00
DrSmoothl
1906890b67 feat: add unified WebSocket connection manager and routing
- Implemented UnifiedWebSocketManager for managing WebSocket connections, including subscription handling and message sending.
- Created unified WebSocket router to handle client messages, including authentication, subscription, and chat session management.
- Added support for logging and plugin progress subscriptions.
- Enhanced error handling and response structure for WebSocket operations.
2026-04-02 22:08:52 +08:00
DrSmoothl
7d0d429640 feat: Enhance plugin runtime configuration and hook management
- Added `inactive_plugins` field to `RunnerReadyPayload` and `ReloadPluginResultPayload` to track plugins that are not activated due to being disabled or unmet dependencies.
- Introduced `InspectPluginConfigPayload` and `InspectPluginConfigResultPayload` for inspecting plugin configuration metadata.
- Implemented `PluginActivationStatus` enum to better represent plugin activation states.
- Updated `_activate_plugin` method to return activation status and handle inactive plugins accordingly.
- Added hooks for send service to allow modification of messages before and after sending.
- Created new runtime routes for listing hook specifications in the WebUI.
- Refactored plugin configuration handling to utilize runtime inspection for better accuracy and flexibility.
- Enhanced error handling and logging for plugin configuration operations.
2026-04-02 21:16:31 +08:00
SengokuCola
975531592b feat:修改多语言prompt 2026-04-02 17:56:46 +08:00
SengokuCola
56f7184c4d feat:聊天特定的额外prompt支持 2026-04-01 20:14:31 +08:00
SengokuCola
61deee72af Merge branch 'r-dev' of https://github.com/Mai-with-u/MaiBot into r-dev 2026-04-01 20:13:46 +08:00
SengokuCola
fe6ccaaf86 fix:部分模型不支持gif 2026-04-01 19:56:08 +08:00
DrSmoothl
7b3c12ba02 feat: add runtime validation for plugin configurations
- Introduced a new method `validate_plugin_config` in `PluginRuntimeManager` to validate plugin configurations at runtime.
- Implemented the `_normalize_plugin_config` method in `PluginRunner` to normalize and persist plugin configurations.
- Enhanced the `PluginRunner` to handle configuration validation requests and return normalized configurations.
- Updated the WebUI routes to utilize runtime validation for plugin configurations, ensuring that configurations are validated and normalized before saving.
- Added tests for runtime configuration validation and normalization processes, including handling of invalid configurations.
2026-04-01 19:39:55 +08:00
SengokuCola
efb84df768 fix:无参工具在某些api报错 2026-04-01 18:28:00 +08:00
SengokuCola
f2aedf7681 remove:emoji插件,修复tool被截断的问题 2026-04-01 17:06:44 +08:00
SengokuCola
cecc58a9e7 feat:使用url阅览图片,标记表情包类消息 2026-04-01 16:21:30 +08:00
SengokuCola
5b92942194 feat:修改图片展示模式,合并no_reply和stop 2026-04-01 14:26:03 +08:00
A-Dawn
bf5eb45709 Merge remote-tracking branch 'upstream/r-dev' into r-dev
# Conflicts:
#	src/memory_system/chat_history_summarizer.py
#	src/memory_system/memory_retrieval.py
#	src/memory_system/retrieval_tools/__init__.py
2026-04-01 14:20:22 +08:00
SengokuCola
d713aa9576 feat:显示实时占用上下文,移除旧记忆系统 2026-04-01 13:18:17 +08:00