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
90afe5f087
refactor(llm): unify LLM access layer via pi-ai
...
- Refactor llm/index.ts: remove chat()/chatStream() wrappers, inline
provider info from deleted service files, add buildPiModel() for
direct pi-ai model construction
- Migrate summary/index.ts to use pi-ai's completeSimple directly
- Migrate rag/pipeline/semantic.ts to use pi-ai's completeSimple directly
2026-02-26 21:05:28 +08:00
digua
da3d2531f5
chore: remove over-engineered sessionLog module
...
Delete sessionLog.ts and its test — this module was never used in production
and added unnecessary complexity to the context system.
2026-02-26 21:05:17 +08:00
digua
b9daae8cb4
chore: remove @ai-sdk dependencies and legacy LLM service implementations
...
- Remove @ai-sdk/google, @ai-sdk/openai, ai packages from dependencies
- Delete SDK-based service files: gemini.ts, openai-compatible.ts, sdkUtils.ts
- Clean up unused types from llm/types.ts (ChatMessage, ChatOptions, LLMConfig, ILLMService, etc.)
2026-02-26 21:05:08 +08:00
n-WN
284118ca21
feat(agent): add session-based context timeline and runtime status
2026-02-23 19:17:25 +08:00
digua
8a12aa5c1b
refactor: 重构部分图表为插件形式
2026-02-19 22:56:41 +08:00
digua
90e4502e1d
fix: Windows 上动态更新 overlay 颜色以匹配主题
2026-02-16 17:14:23 +08:00
digua
89b479e292
feat: 优化聊天记录嗅探层,支持轮询检测和fallback
2026-02-13 17:11:55 +08:00
digua
2a925aef29
feat: 增强LINE和WhatsApp解析器兼容格式
2026-02-13 17:11:55 +08:00
digua
ab1778a6d6
feat: 管理页面支持显示聊天对话的 摘要数量和AI对话数量
2026-02-13 17:11:55 +08:00
digua
35768bbfbd
feat: 支持tg的单个对话导入
2026-02-13 17:11:55 +08:00
digua
d52769ce46
feat: 日志国际化
2026-02-13 14:15:38 +08:00
digua
1b8bbb6e49
feat: 主进程配置国际化
2026-02-13 14:15:38 +08:00
digua
83c0641bf3
fix: 修复增量导入后索引失效的问题 resolve #81
2026-02-13 14:15:38 +08:00
digua
c7e6457221
feat: support telegram message import
2026-02-13 14:15:38 +08:00
digua
98de8d857c
fix: 修复WhatsApp使用iPhone导出后无法识别的问题 resolve #82
2026-02-13 14:15:38 +08:00
digua
f3ba043140
refactor: format with eslint & prettier
2026-02-13 14:15:38 +08:00
digua
d3f5c1acaa
fix: 增量更新后,仅对增量内容生成会话索引( fix #79 )
2026-02-11 00:01:23 +08:00
digua
448f28da14
feat: 互动频率分析
2026-02-10 23:36:03 +08:00
digua
2d6c4d085a
refactor: query session
2026-02-09 22:37:33 +08:00
digua
7175e6e5dc
feat: 逻辑优化
2026-02-09 22:28:11 +08:00
n-WN
f2398a6c53
fix(database): skip non-chat sqlite files in migration and session scan
2026-02-09 22:13:16 +08:00
haotien91
26d4164098
fix: 修復 LINE 聊天紀錄 parser
2026-02-08 20:54:48 +08:00
digua
b1bf4ff8f9
feat: 对于API key进行本地加密
2026-02-04 23:20:25 +08:00
digua
a1da54a57c
feat: 数据目录迁移后立即重启软件
2026-02-03 23:57:24 +08:00
digua
7093364c74
feat: 逻辑优化
2026-02-03 00:25:09 +08:00
digua
f0e502e865
fix: 修复部分whatsApp聊天记录不会被正确识别的问题
2026-02-03 00:25:09 +08:00
digua
6506eafd77
fix: 修复部分第三方中转API调用tool_call导致对话异常结束的问题 #67
2026-02-03 00:25:09 +08:00
digua
206beb02e6
refactor: 重构session查询文件
2026-02-03 00:25:09 +08:00
digua
878507ba8a
fix: 修复windows用户自定义筛选时消息量过大导致软件崩溃的BUG
2026-02-03 00:25:09 +08:00
digua
38738eb090
feat: 优化数据存储目录迁移逻辑
2026-02-03 00:25:09 +08:00
xuncha
a7fc8e45c0
fix: 增加日志输出
2026-02-03 00:25:09 +08:00
xuncha
5f072628b4
fix: 修改目录后新增确认弹窗
2026-02-03 00:25:09 +08:00
xuncha
574e286f27
feat: 设置内新增可选目录位置
2026-02-03 00:25:09 +08:00
digua
d9e9e0b9f3
feat: 重构榜单为图表
2026-02-02 01:00:15 +08:00
digua
b77db9497b
feat: 优化词云
2026-02-01 20:26:12 +08:00
digua
7a2a512ab4
chore: 优化 analytics
2026-02-01 16:35:33 +08:00
digua
55878256c3
refactor: preload模块化拆分
2026-02-01 12:50:05 +08:00
digua
889ec4341a
feat: 对推理模型进行优化
2026-02-01 12:35:07 +08:00
digua
f6b4b6dc4c
refactor: 代码格式化
2026-02-01 01:11:34 +08:00
digua
f308875eb6
feat: 成员列表改为后端分页 #55
2026-01-31 00:10:55 +08:00
digua
51ed4a9f53
feat: 新增批量管理,支持批量删除和合并
2026-01-31 00:10:55 +08:00
digua
3d333476a5
feat: 支持 LINE 聊天记录导入
2026-01-31 00:10:55 +08:00
digua
fc3143563d
feat: 兼容weflow导出的json格式
2026-01-31 00:10:55 +08:00
digua
9d84c35b7a
feat: 优化部分文案和交互
2026-01-30 00:43:06 +08:00
digua
9c721b8eaf
fix: 修复Windows在更新时,Worker占用导致软件无法关闭的问题
2026-01-29 14:16:55 +08:00
digua
036141bcb0
feat: 引入分词能力,并新增词云子Tab
2026-01-28 00:43:04 +08:00
digua
7930a4d2b5
feat: 网络代理支持跟随系统代理
2026-01-28 00:43:04 +08:00
digua
79db5ba228
feat: 优化批量生成会话摘要逻辑
2026-01-25 23:33:45 +08:00
digua
99315e56be
feat: 逻辑优化
2026-01-25 21:37:34 +08:00