Commit Graph

145 Commits

Author SHA1 Message Date
SengokuCola
54d3f156d4 feat:表达方式可简化 2026-04-21 11:17:40 +08:00
SengokuCola
d2f90635fa fix:修复配置文件迁移失败问题 2026-04-19 20:10:56 +08:00
SengokuCola
b067df9e60 fix:ruff 2026-04-18 00:19:28 +08:00
DawnARC
46a9b817e7 fix:仅使用包内WebUI静态资源
暂时注释本地dashboard/dist回退逻辑,并同步调整WebUI静态路径解析测试,确保仅从maibot_dashboard包加载前端资源。
2026-04-17 08:35:21 +08:00
DawnARC
765f332e2e fix:A_Memorix 缺失总结模型配置导致导入异常
修复默认值与迁移补写逻辑,并补充回归测试覆盖缺失与旧格式场景。
2026-04-16 21:47:28 +08:00
A-Dawn
6bfccf90a3 fix:收敛A_Memorix最小回归修复
最小修复聊天摘要写回游标恢复、摘要元数据透传、webui反馈参数解析、embedding批次缓存索引、图存储清理与配置默认值回归,并补齐针对性回归测试,确保问题解决且不影响现有逻辑。
2026-04-16 20:28:54 +08:00
A-Dawn
322309bef9 fix:恢复旧配置迁移逻辑
恢复 planner/replyer 旧字段到新 schema 的迁移逻辑。
补充回归测试,确保旧版 bot 配置仍可正常加载。
2026-04-16 19:23:46 +08:00
A-Dawn
459927e7c0 fix:完善Maisaka记忆写回链路
补齐聊天摘要自动写回、发送后同步与图存储清理逻辑,对齐 visual 新配置字段并补充相关回归测试,同时忽略 algorithm_redesign 设计目录。
2026-04-16 19:04:08 +08:00
A-Dawn
7ed5630583 test:修正配置schema断言位置
将 query_memory 配置项的 schema 断言对齐到当前 MemoryConfig 的实际挂载位置,避免把既有 UI 分组结构误判为同步回退。
2026-04-16 13:58:12 +08:00
A-Dawn
21b642d07d feat:同步本地非算法改动到上游基线
保留反馈纠错、WebUI 与运行时增强。\n移除不应提交的 algorithm_redesign 设计目录及其专项测试。
2026-04-16 13:57:07 +08:00
A-Dawn
6c22fdfdf9 fix:解决 upstream 合并冲突
在临时整合分支中合并 upstream/r-dev
保留人物事实写回与反馈纠错配置
移除已下线的聊天总结配置并同步测试
2026-04-16 10:27:25 +08:00
SengokuCola
4729f5acdb 小改动 2026-04-14 23:53:38 +08:00
SengokuCola
01ba4f55c2 移除不再使用的聊天总结,移除路径显示配置项,修复回复器错判的一个问题 2026-04-13 18:57:50 +08:00
SengokuCola
6db380b10d fix:修复回复器格式问题,记录完整空回复请求 2026-04-11 21:23:31 +08:00
SengokuCola
d9b3440169 feat:优化对多模态/非多模态replyer的配置 2026-04-11 19:30:23 +08:00
SengokuCola
c0230fc313 feat:统一replyer在是否多模态下的表现,提高一致性和通用性,新增模型visual参数 2026-04-11 16:41:00 +08:00
SengokuCola
fee9341620 feat:提高工具调用成功率,移除冗余的描述中参数介绍,增加索引列表的描述,修改prompt,移除timing的wait打断 2026-04-10 00:45:32 +08:00
SengokuCola
243b8deb43 feat:展示更详细的工具信息,修改wait定义 2026-04-09 19:58:20 +08:00
SengokuCola
4395e3aad7 fix:图片存储问题 2026-04-09 14:32:05 +08:00
SengokuCola
ca8d726d53 fix:允许表达方式全局共享 2026-04-09 12:58:37 +08:00
DrSmoothl
7a42a1cb2a test 2026-04-08 00:15:34 +08:00
SengokuCola
1a617a151b fix:修复数据库问题 2026-04-07 21:43:07 +08:00
SengokuCola
4849c29b68 fix:表情包识别失败问题 2026-04-07 21:26:42 +08:00
SengokuCola
f058bc3189 feat:合并timing和plan展示,回复频率控制 2026-04-07 20:26:07 +08:00
SengokuCola
2233ee1af4 feat:给planner最终展示添加统一结果 2026-04-07 18:16:12 +08:00
SengokuCola
6968879a04 feat:修复孤儿工具报错,为replyer等tool添加统一的控制台展示接口 2026-04-07 16:21:42 +08:00
SengokuCola
09bce14664 feat:为失败请求留档并提供重试分析 2026-04-07 15:16:06 +08:00
SengokuCola
3b5baf901a 移除残留的KnowU系统,修复gemini请求的思考签名问题 2026-04-07 15:15:37 +08:00
SengokuCola
18d48e0145 fix:正常获取Bot自身发送的消息id 2026-04-05 13:05:18 +08:00
DrSmoothl
ead90cbdf3 feat: 添加 WebUI 静态资源包提示和相关错误处理逻辑 2026-04-05 12:05:34 +08:00
DrSmoothl
9ca2621d08 test 2026-04-05 00:32:10 +08:00
DrSmoothl
2fb911a8d5 feat: 添加启动绑定地址解析功能,支持从配置文件和环境变量迁移 2026-04-04 20:13:04 +08:00
DrSmoothl
7d325ab56b feat: 添加适配器回调处理和成功回执消息 ID 更新逻辑 2026-04-04 16:05:48 +08:00
DrSmoothl
40e774ed39 Remove unused HTML files and hexToRgba function from the web directory 2026-04-04 15:35:23 +08:00
DrSmoothl
e44e4245f5 feat: 添加插件配置版本管理,优化配置归一化流程 2026-04-04 12:38:45 +08:00
DawnARC
cdf9d54850 feat:将A_memorix接入maisaka 2026-04-04 02:50:08 +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
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
DrSmoothl
a2fd0a1750 test 2026-04-03 15:24:53 +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
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
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
Dawn ARC
33b499014e Merge branch 'Mai-with-u:r-dev' into r-dev 2026-03-31 19:41:03 +08:00
DrSmoothl
daf7c644a6 扬了 sys 控制 2026-03-31 16:59:02 +08:00