fix: 全面审查修复 - 日志/死代码/工具卡片/技能描述

- sqlite.ts: 移除 console.warn,改用状态变量跟踪 FTS5 可用性
- tool-handlers.ts: download_file/append_file/edit_file 补充 sendLog 执行日志
- chat-area.ts: 工具卡片补齐 29 个工具的图标/名称/参数/结果渲染
- main.ts: 移除未使用的 stopAllMCPServers 导入
- skill-manager.ts: 修复 /** 注释语法错误,补充 browser*/spawn_task 工具描述
This commit is contained in:
Metona Dev
2026-04-18 10:47:38 +08:00
parent a6d38ed9cb
commit 8ffba1a857
5 changed files with 85 additions and 8 deletions
+1 -1
View File
@@ -233,7 +233,7 @@ export async function initDatabase(): Promise<SQL.Database> {
_hasFTS5 = true;
} catch {
_hasFTS5 = false;
console.warn('[sqlite] FTS5 不可用,记忆搜索降级为 LIKE 模式');
// FTS5 不可用降级为 LIKE 搜索,状态通过 _hasFTS5 跟踪
}
// 写入一次确保文件存在