feat: 优化问问微信检索性能与分析交互

- 补充 Worker、WCDB、sender、IPC、序列化时间账
- 增加 Agent 增量覆盖统计和重复检索停止条件
- 补充性能与交互回归测试
This commit is contained in:
Wxw-Gu
2026-08-07 15:28:45 +08:00
parent 43654bf0e2
commit 0b845db2e0
20 changed files with 1304 additions and 184 deletions
+4
View File
@@ -942,6 +942,10 @@ app.whenReady().then(async () => {
if (!event.sender.isDestroyed()) event.sender.send('ai-search:progress', progress)
})
})
ipcMain.handle('ai-search:cancel', (_, requestId: string) => {
if (!aiSearchPipelineService) throw new Error('本地搜索服务尚未初始化')
return aiSearchPipelineService.cancel(requestId)
})
voiceBatchService = new VoiceBatchService(voiceRecognition)
voiceBatchService.onProgress((progress) => {
for (const window of BrowserWindow.getAllWindows()) {