Commit Graph

28 Commits

Author SHA1 Message Date
SengokuCola
7c5c614e3e fix:正确识别已安装插件,并且修复无法更新和卸载自行安装插件的bug 2026-05-08 16:31:00 +08:00
SengokuCola
8edf13df14 Merge branch 'dev' of https://github.com/Mai-with-u/MaiBot into dev 2026-05-07 00:05:39 +08:00
SengokuCola
5846f6e0c4 perf:优化webui交互体验,优化统计逻辑,优化log展示 2026-05-07 00:05:35 +08:00
DawnARC
9acf03d24b fix(A_memorix):标准化导入数据并修复进度显示
为导入/LLM输出增加健壮的标准化与验证机制,修复进度计算逻辑,并改进UI摘要展示
2026-05-06 22:41:35 +08:00
DawnARC
aa9b437ad5 merge: 同步上游 dev 最新内容 2026-05-06 00:53:11 +08:00
SengokuCola
16de259955 perf:优化webui配置展示,优化log显示,修复表达审核 2026-05-05 18:34:20 +08:00
DawnARC
ce81e31644 merge: 同步上游 dev 并增强人物画像查询 2026-05-04 23:00:39 +08:00
SengokuCola
75665a4d38 Merge branch 'dev' of https://github.com/Mai-with-u/MaiBot into dev 2026-05-03 20:29:07 +08:00
SengokuCola
041ff63fba feat:支持高级配置 2026-05-03 20:28:30 +08:00
DawnARC
ee6737cd8b fix:修改必要的测试文件的检查位置 2026-05-03 20:17:35 +08:00
DawnARC
46a9b817e7 fix:仅使用包内WebUI静态资源
暂时注释本地dashboard/dist回退逻辑,并同步调整WebUI静态路径解析测试,确保仅从maibot_dashboard包加载前端资源。
2026-04-17 08:35:21 +08:00
A-Dawn
6bfccf90a3 fix:收敛A_Memorix最小回归修复
最小修复聊天摘要写回游标恢复、摘要元数据透传、webui反馈参数解析、embedding批次缓存索引、图存储清理与配置默认值回归,并补齐针对性回归测试,确保问题解决且不影响现有逻辑。
2026-04-16 20:28:54 +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
DrSmoothl
ead90cbdf3 feat: 添加 WebUI 静态资源包提示和相关错误处理逻辑 2026-04-05 12:05:34 +08:00
DawnARC
cdf9d54850 feat:将A_memorix接入maisaka 2026-04-04 02:50:08 +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
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
Dawn ARC
df872187d8 Merge branch 'r-dev' into r-dev 2026-03-24 10:00:58 +08:00
DrSmoothl
e66b2eb662 feat: 添加安全静态文件路径解析测试,增强路径遍历保护 2026-03-19 18:05:10 +08:00
DawnARC
bd84e500e1 feat:新增记忆测试、检索工具与服务
新增完整的长期记忆支持及测试:引入中文记忆检索提示词、query_long_term_memory 检索工具、记忆服务与记忆流程服务,以及 WebUI 的记忆路由。新增大规模测试套件(包括单元测试与基准/在线测试),覆盖聊天历史摘要、知识获取器、事件(episode)生成、写回机制以及用户画像检索等功能。

更新多个模块以集成记忆检索能力(包括 knowledge fetcher、chat summarizer、memory_retrieval、person_info、config/legacy 迁移以及 WebUI 路由),并移除遗留的 lpmm 知识模块。这些变更完成了记忆运行时的接入,同时为基准测试提供嵌入适配器的 mock,并支持新测试与工具所需的导入与 episode 处理流程。
2026-03-18 21:35:17 +08:00
晴猫
34a8de56c3 feat: 添加静态路径准备和自动构建功能的单元测试 2026-03-15 10:06:59 +09:00
DrSmoothl
6378bb2052 fix Ruff 2026-02-21 16:29:30 +08:00
DrSmoothl
eaef7f0e98 Ruff Format 2026-02-21 16:24:24 +08:00
DrSmoothl
f97c24bf9e test(webui): add pytest tests for emoji, jargon, expression routes
- test_emoji_routes.py: 21 tests covering list/get/update/delete/batch operations
- test_jargon_routes.py: 25 tests covering CRUD + stats + chat list (2 skipped due to DB model)
- test_expression_routes.py: 24 tests covering legacy field compatibility + field removal
- All use in-memory SQLite + StaticPool for isolation
- All tests passing (68/68, 2 skipped)
2026-02-17 20:12:57 +08:00
DrSmoothl
4e5d091417 test(webui): add unit tests for ConfigSchemaGenerator
- Test field descriptions from field_docs
- Test json_schema_extra merging
- Test Pydantic constraints mapping
- Test nested model schema handling
- Test fields without extra metadata

All 5 tests passing. Completes Task 7 of webui-config-visualization-refactor plan.
2026-02-17 17:14:48 +08:00