Commit Graph

14 Commits

Author SHA1 Message Date
digua
346a38da5a feat: 重构 AI 工具分类体系 2026-04-02 23:29:06 +08:00
digua
e099dde435 feat: 新增获取聊天概览工具 2026-04-02 23:29:06 +08:00
digua
b3d1171f71 feat: 废弃部分AI工具 2026-04-02 23:29:06 +08:00
digua
7eaba396ec refactor: 清理 parser worker rag merger 的历史类型问题 2026-03-25 22:43:12 +08:00
digua
7a1a9fc2b1 feat: 聊天对话支持使用技能 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
digua
1b8bbb6e49 feat: 主进程配置国际化 2026-02-13 14:15:38 +08:00
digua
f6b4b6dc4c refactor: 代码格式化 2026-02-01 01:11:34 +08:00
digua
f14c18d68f feat: 支持向量模型配置和相关检索 2026-01-25 17:51:12 +08:00
digua
63ed7765aa feat: 改造聊天记录分析为agent模式 2025-12-03 20:33:38 +08:00