docs: 更新 README 和 docs 中数据库描述为 sql.js (WASM)

This commit is contained in:
thzxx
2026-04-17 16:29:48 +08:00
parent 16266ebdde
commit 1b66ee5f19
4 changed files with 11 additions and 10 deletions
+3 -2
View File
@@ -13,8 +13,9 @@
### Desktop v4.0.0 — SQLite & ReAct Agent & 全新主题
- 📦 **数据库迁移:IndexedDB → SQLite (better-sqlite3)**
- 新增 `src/main/db/sqlite.ts`,使用 better-sqlite3 替代 IndexedDB
- 📦 **数据库迁移:IndexedDB → SQLite (sql.js WASM)**
- 新增 `src/main/db/sqlite.ts`,使用 sql.js (WASM) 替代 IndexedDB
- 零原生依赖,无需 electron-rebuild,消除 ABI 版本不匹配问题
- 6 张表:sessions、messages、tool_calls、memoriesFTS5 全文搜索)、settings、traces
- WAL 模式 + NORMAL 同步,性能显著提升
- 支持全量导出/导入(JSON 格式)