Commit Graph

132 Commits

Author SHA1 Message Date
SengokuCola
98294b39ad fix:maibot内部配置字段在amem中过滤 2026-05-06 15:50:06 +08:00
SengokuCola
8c73424583 feat:为webui配置名提供中文翻译,并修改优化布局 2026-05-06 15:45:50 +08:00
DawnARC
85cb2b45dc feat(A_memorix)&fix(Docker): 记忆搜索支持平台/用户筛选及界面优化
新增平台和用户账号维度的筛选能力,并对记忆/画像功能进行交互体验优化
前端:MemoryEpisodeManager 与 MemoryProfileManager 组件增加了平台和用户 ID 输入项,人员 ID 调整为可折叠的“高级”入口,新增原始 JSON 切换、人员名称展示,优化了标签文案和列表模式;搜索触发逻辑现已支持基于账号的查询和画像搜索结果的展示。
API客户端:统一记忆 API 的基础路径,请求携带凭证,增加 HTML 回退页面的检测和本地备用地址的重试机制,优化了错误提示信息。
服务端:记忆路由在返回片段和画像时,补充了来自数据库的人员名称字段,新增 /profiles/search 及兼容性接口,并在片段/画像列表接口中支持传入 platform 和 user_id 参数
其他优化:防止 SPA 路由劫持 /api 路径,入口脚本改用 venv 中的 Python,Dockerfile 中将 venv 加入 PATH 并调整了 uv sync 相关参数。
2026-05-06 01:03:51 +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
SengokuCola
a5e4ac8531 pref:优化webui界面,增加prompt模板元信息 2026-05-05 17:57:19 +08:00
SengokuCola
0d43d3ec05 feat:webui默认infoLog,移除display_message字段 2026-05-05 16:39:35 +08:00
SengokuCola
a4afa58fe9 fix:模型加载慢,错误热重载 2026-05-05 02:05:02 +08:00
SengokuCola
e2ff2c8524 fix:重复保存导致的加载慢问题 2026-05-05 00:52:40 +08:00
SengokuCola
caec568a24 feat:优化插件显示 2026-05-05 00:39:24 +08:00
SengokuCola
4641fa1a15 fix:修复qq号为int的问题,修复部分多行配置问题,修复多语言prompt问题 2026-05-05 00:32:49 +08:00
SengokuCola
94a0cb3a62 fix:数字配置读取有问题的问题 2026-05-04 23:09:46 +08:00
DawnARC
ce81e31644 merge: 同步上游 dev 并增强人物画像查询 2026-05-04 23:00:39 +08:00
SengokuCola
eea95c1961 feat:webui支持更加优化的模型配置,优化多处UI体验,支持设置视觉和cache价格,修复多重表达不生效的问题,修复表情包路径错误 2026-05-04 22:52:41 +08:00
DrSmoothl
ccabcf5e36 feat: 更新maibot-dashboard版本至1.0.4 2026-05-04 18:19:01 +08:00
DrSmoothl
623ba29347 去除锁文件不上传的 ignore 2026-05-04 18:19:01 +08:00
SengokuCola
f57fc1ff80 fear:持续获取maisak监控(壳开关 2026-05-04 18:19:01 +08:00
SengokuCola
ccb1d60e06 feat:优化配置项分类,maisaka聊天流监控展示 2026-05-04 18:19:01 +08:00
SengokuCola
120acb835f fix:优化图片识别,优化webui配置和排版,优化聊天流监控,新增mcp显示,新增prompt修改面板,优化插件状态显示,优化长期记忆控制台, 2026-05-04 18:19:00 +08:00
SengokuCola
c5cd47adc2 feat:模型支持高级配置 2026-05-04 18:18:59 +08:00
SengokuCola
75e9453495 feat:优化webui多个页面的人机交互,修复插件地址问题,放宽插件id限制,增加高级页面缩进,统计页面快捷按钮,优化新手引导 2026-05-04 12:46:55 +08:00
SengokuCola
041ff63fba feat:支持高级配置 2026-05-03 20:28:30 +08:00
SengokuCola
db46551b51 允许本地webui构建运行 2026-05-03 17:59:29 +08:00
DawnARC
cb25f677f9 Merge remote-tracking branch 'upstream/dev' into dev 2026-05-02 21:46:04 +08:00
DrSmoothl
23ca574a81 feat: 添加获取不兼容原因的功能,优化插件兼容性提示 2026-05-02 19:08:24 +08:00
DrSmoothl
8090c2873c feat: 更新版本号至1.0.2,并添加适配器配置禁用页,指引用户前往插件配置 2026-05-02 18:47:40 +08:00
DrSmoothl
86d4e57cf0 feat: 更新Joyride z-index配置,确保tooltip按钮可点击 2026-05-02 14:24:48 +08:00
DrSmoothl
be79d09a07 feat: 更新Sidebar和Dialog组件,优化样式和布局,增强ScrollArea功能
Co-authored-by: Copilot <copilot@github.com>
2026-05-02 11:42:34 +08:00
DrSmoothl
b132a64de6 feat: 更新模型获取逻辑,处理返回的模型数组并添加鉴权头 2026-05-02 00:08:12 +08:00
DawnARC
58999f3ad9 Merge upstream/dev into dev 2026-05-01 20:36:20 +08:00
DrSmoothl
9e48cd2848 feat: add TuningTab component for tuning task management and utility functions for memory operations
- Implemented TuningTab component to handle tuning objectives, intensity, sample size, and evaluation settings.
- Added UI elements for creating tuning tasks and displaying current configurations and recent tasks.
- Introduced utility functions for normalizing and formatting memory operation data, including feedback actions and delete operations.
2026-05-01 20:14:37 +08:00
Dawn ARC
4b0d30d808 Merge branch 'Mai-with-u:dev' into dev 2026-05-01 19:51:57 +08:00
DrSmoothl
d9a509b6c2 feat(chat): refactor chat message handling and introduce private messaging support
- Updated `uni_message_sender.py` to allow for private messaging by removing the mandatory group ID and adding user ID handling.
- Enhanced chat history retrieval and clearing functions in `routes.py` and `service.py` to support both group and private chat scenarios.
- Introduced a new `ChatScrollContext` for managing message scrolling and highlighting in the chat UI.
- Created a `ListItemEditorHookFactory` for rendering a rich UI editor for list items in configuration settings, replacing the previous JSON text display.
- Improved message serialization for consistent display in chat history.
- Added detailed logging for chat history operations and error handling.

Co-authored-by: Copilot <copilot@github.com>
2026-05-01 17:54:13 +08:00
DrSmoothl
f85eb11edb feat: 更新WebUI版本号至 1.0.1 2026-05-01 17:00:05 +08:00
A-Dawn
edc8d40d03 feat(A_Memorix): 补全长期记忆控制台管理功能 2026-04-27 17:01:58 +08:00
DawnARC
e8c2751a03 feat: 优化长期记忆控制台体验 2026-04-25 11:43:12 +08:00
DrSmoothl
5dfd6a60c5 Refactor personality and emoji configuration forms; add chat components
- Updated PersonalityForm to handle multiple reply styles and probabilities.
- Removed unused fields from PersonalityConfig and adjusted default values.
- Refactored loadPersonalityConfig and loadEmojiConfig to align with new structure.
- Introduced ChatComposer, ChatHeaderBar, ChatWorkspaceSidebar, and MessageList components for improved chat interface.
- Enhanced user experience with dynamic message rendering and connection status indicators.
- Cleaned up API calls for saving configurations, focusing on essential fields.

Co-authored-by: Copilot <copilot@github.com>
2026-04-25 00:02:14 +08:00
DrSmoothl
201efe66a1 feat: 更新 CodeEditor 组件,重构为懒加载并添加 CodeEditorImpl,优化导入路径 2026-04-24 23:10:01 +08:00
DawnARC
df281c71dd fix:修复knowledgebase反馈详情类型报错
仅保留knowledge-base页面的类型约束修复,解决反馈纠错详情字段在联合类型下触发的TS构建错误,不再包含package-lock变更。
2026-04-17 08:44:31 +08:00
DawnARC
b192a362c6 Revert "fix:修复dashboard构建的反馈详情类型报错"
This reverts commit 967b197bb9.
2026-04-17 08:44:01 +08:00
DawnARC
967b197bb9 fix:修复dashboard构建的反馈详情类型报错
为反馈纠错详情补齐显式类型约束,解决action_logs与详情字段在联合类型下的TS编译报错;同步提交锁文件变更,保持本地依赖解析结果一致。
2026-04-17 08:41:35 +08:00
A-Dawn
21b642d07d feat:同步本地非算法改动到上游基线
保留反馈纠错、WebUI 与运行时增强。\n移除不应提交的 algorithm_redesign 设计目录及其专项测试。
2026-04-16 13:57:07 +08:00
SengokuCola
56d1071c01 Merge branch 'r-dev' of https://github.com/Mai-with-u/MaiBot into r-dev 2026-04-05 02:10:47 +08:00
SengokuCola
87cd992a9f feat:wait现在会正确重试,给planner打断添加防抖 2026-04-05 02:05:03 +08:00
DrSmoothl
c816ad4179 feat: add MaiSaka real-time chat flow monitoring component and WebSocket event handling
- Implemented the MaiSakaMonitor component for real-time monitoring of chat flow using WebSocket.
- Created a custom hook `useMaisakaMonitor` to manage WebSocket subscriptions and event states.
- Developed a backend module for broadcasting various monitoring events through WebSocket.
- Added serialization functions for messages and tool calls to optimize data transmission.
- Included event emission functions for session start, message ingestion, cycle start, timing gate results, planner requests/responses, tool executions, and replier requests/responses.
2026-04-05 00:23:34 +08:00
DrSmoothl
2fb911a8d5 feat: 添加启动绑定地址解析功能,支持从配置文件和环境变量迁移 2026-04-04 20:13:04 +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