Commit Graph

24 Commits

Author SHA1 Message Date
digua db9b67071c feat: 支持@选择成员 2026-03-16 00:27:55 +08:00
digua 7a1a9fc2b1 feat: 聊天对话支持使用技能 2026-03-16 00:27:55 +08:00
digua a633b4f326 feat: 支持繁体中文和日语国际化 2026-03-16 00:27:55 +08:00
digua e7f2ee7db7 style: format and lint codebase 2026-03-16 00:27:55 +08:00
digua 6edb3e3b95 feat: 优化助手逻辑 2026-03-10 21:35:53 +08:00
digua 60be78b767 feat: 完善助手功能,新增分析tools 2026-03-10 20:42:25 +08:00
digua f36623d72e feat: 完成助手模式初版 2026-03-02 01:19:54 +08:00
digua c36878c58d feat(ai): 实现聊天记录预处理管道
- 新增 preprocessor 模块:数据清洗(XML卡片)、黑名单过滤、智能去噪、连续发言合并、数据脱敏
- 内置多国脱敏规则(中国手机号/身份证、美国SSN、日韩号码等)+ 自定义规则支持
- 工具层统一 wrapWithPreprocessing 包装,自动对 rawMessages 执行预处理+格式化
- 昵称匿名化:用 U{id} 替代真实昵称,跨工具调用一致
- SQL 查询补充 senderId/senderPlatformId
- PreprocessConfig 类型定义(preload + 主进程)
2026-02-28 00:02:08 +08:00
digua f7c427df50 refactor(tools): modularize tool system with AgentTool + TypeBox + i18n
- Delete monolithic registry.ts (−1185 lines)
- Add tools/definitions/ with 12 individual tool files + index.ts,
  each using AgentTool interface and TypeBox schemas
- Add tools/utils/ with shared helpers (format.ts, schemas.ts, time-params.ts)
- Rewrite tools/index.ts to provide getAllTools() factory
- Clean up tools/types.ts, keep only ToolContext and OwnerInfo
- Use i18n keys for tool descriptions, preserve Chinese as comments
2026-02-26 21:05:39 +08:00
n-WN 284118ca21 feat(agent): add session-based context timeline and runtime status 2026-02-23 19:17:25 +08:00
digua 1b8bbb6e49 feat: 主进程配置国际化 2026-02-13 14:15:38 +08:00
digua f6b4b6dc4c refactor: 代码格式化 2026-02-01 01:11:34 +08:00
digua 9d84c35b7a feat: 优化部分文案和交互 2026-01-30 00:43:06 +08:00
digua 99315e56be feat: 逻辑优化 2026-01-25 21:37:34 +08:00
digua f14c18d68f feat: 支持向量模型配置和相关检索 2026-01-25 17:51:12 +08:00
digua af6418ffe9 feat: 新增会话相关function calling调用 2026-01-12 01:11:04 +08:00
digua 7bb735533b feat: 完成最终国际化 2026-01-07 22:05:20 +08:00
digua ce436da526 feat: AI对话中,系统提示词中支持传递给用户身份 2025-12-25 00:58:15 +08:00
digua 8303a34c66 feat: AI token消费优化 2025-12-21 23:50:22 +08:00
digua 8ea454ed07 feat: 新增tool_call 2025-12-08 23:24:58 +08:00
digua cd2dc0b8db feat: 逻辑优化 2025-12-06 02:20:11 +08:00
digua 14c93bbed3 feat: 优化LLM配置逻辑 2025-12-06 01:11:30 +08:00
digua ac99203075 feat: 新增群成员管理 & 改造成员表模型 2025-12-04 23:49:57 +08:00
digua 63ed7765aa feat: 改造聊天记录分析为agent模式 2025-12-03 20:33:38 +08:00