新增: ai_list_recoverable IPC+桌面可恢复入口双轨数据源(B3)

This commit is contained in:
lxy
2026-10-06 12:54:11 +08:00
parent 40392ebded
commit 7c252cff96
5 changed files with 56 additions and 5 deletions
+5
View File
@@ -327,6 +327,11 @@ export const aiApi = {
})
},
/** B3 可恢复会话清单(loop_state='parked' 完备真相,不受侧栏 limit 截断) */
listRecoverable(): Promise<{ id: string; title: string | null; model: string | null; updated_at: string }[]> {
return invoke('ai_list_recoverable')
},
/** 切换到指定对话 */
switchConversation(conversationId: string): Promise<AiConversationDetail> {
return invoke('ai_conversation_switch', { conversationId })