Commit Graph

23 Commits

Author SHA1 Message Date
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
DrSmoothl
e7ac064a80 WebUI 后端类型注解补全,使用全 typing 库类型注解 2026-03-16 13:09:12 +08:00
DrSmoothl
172615f18a WebUI 前端 & 后端超级大重构 2026-03-14 21:06:36 +08:00
墨梓柒
ffafbf0a26 WebUI后端整体重构 2026-01-13 07:24:27 +08:00
墨梓柒
d6dde4a7d5 feat:新增API 2025-12-27 21:52:36 +08:00
墨梓柒
a5880522e7 feat: 增强认证 Cookie 设置,支持协议检测和跳过注释行 2025-12-16 13:04:37 +08:00
墨梓柒
4482be7142 feat: 更新认证 Cookie 设置和状态检查日志记录 2025-12-16 12:50:13 +08:00
墨梓柒
74a2f4346a Ruff Format 2025-12-14 21:39:09 +08:00
墨梓柒
6055b087f0 添加 WebSocket 认证模块,支持临时 token 认证机制,增强安全性并解决 Cookie 不可用问题 2025-12-14 20:08:49 +08:00
墨梓柒
ea420f9f59 添加认证依赖和请求频率限制模块,增强安全性和防止API滥用 2025-12-14 19:39:56 +08:00
墨梓柒
e680a4d1f5 Ruff format 2025-12-13 17:14:09 +08:00
墨梓柒
6680afaa4a feat: 更新 token 处理逻辑,清除 Cookie 并要求用户重新登录;保留 first_setup_completed 状态 2025-12-03 11:31:13 +08:00
墨梓柒
b79ee9855c feat: 添加黑话管理路由,支持黑话的增删改查功能 2025-12-02 13:46:16 +08:00
墨梓柒
c790dcb705 feat: Enhance authentication mechanism to support token retrieval from both Cookie and Header
- Added a new auth module to manage authentication-related functions.
- Updated existing routes in expression_routes, person_routes, plugin_routes, and routes to utilize the new authentication methods.
- Implemented CORS middleware in webui_server for development environment support.
- Introduced functions to set and clear authentication cookies.
- Enhanced token verification to prioritize Cookie over Header for improved security and flexibility.
2025-11-30 15:53:39 +08:00
墨梓柒
0a0fb8ee55 feat:添加模型列表获取API路由 2025-11-26 22:42:46 +08:00
墨梓柒
44f427dc64 Ruff fix 2025-11-19 23:35:14 +08:00
墨梓柒
9eb893e831 feat: 添加系统控制路由,支持重启和状态查询功能 2025-11-19 22:58:53 +08:00
墨梓柒
74f9beb231 feat: 添加首次配置状态管理功能,支持获取、标记完成和重置配置状态 2025-11-19 14:59:31 +08:00
墨梓柒
4141c25fdd feat: add WebSocket plugin progress notification module and integrate with plugin management routes
- Implemented a WebSocket endpoint for broadcasting plugin loading progress.
- Created functions to update and broadcast progress status to connected clients.
- Integrated progress updates into plugin management routes for operations like fetching, cloning, installing, uninstalling, and updating plugins.
- Added error handling and logging for progress updates and WebSocket connections.
2025-11-18 22:54:25 +08:00
墨梓柒
4e03cfac2a feat: 添加人物信息、表达方式和表情包管理 API 路由 2025-11-17 21:04:29 +08:00
墨梓柒
6307d92acc feat: 添加统计数据API路由以支持统计信息的获取 2025-11-17 15:43:11 +08:00
墨梓柒
1c1d8fd3af feat: 添加配置管理API路由和配置架构 2025-11-17 00:09:17 +08:00
墨梓柒
cae61281a0 feat: 添加 WebUI 模块及相关 API 路由和 Token 管理功能 2025-11-14 23:31:53 +08:00