feat: 实时刷新档案会话列表

收到新消息后增量更新会话摘要和时间

自动按最新消息重新排序并保留当前选择状态
This commit is contained in:
Wxw-Gu
2026-09-13 11:15:30 +08:00
parent add16885fe
commit cef1ad493c
4 changed files with 190 additions and 5 deletions
+2
View File
@@ -22,6 +22,7 @@ export async function launchTestApp(
aiFailure?: string
updateSimulation?: boolean
unsignedMacUpdate?: boolean
realtimeReorder?: boolean
now?: number
appearanceTheme?: 'light' | 'dark'
stableUserData?: string
@@ -52,6 +53,7 @@ export async function launchTestApp(
WXE_E2E_AI_FAILURE: options.aiFailure || '',
WXE_E2E_UPDATE_SIMULATION: options.updateSimulation ? '1' : '0',
WXE_E2E_UNSIGNED_MAC_UPDATE: options.unsignedMacUpdate ? '1' : '0',
WXE_E2E_REALTIME_REORDER: options.realtimeReorder ? '1' : '0',
WXE_E2E_NOW_MS: options.now ? String(options.now) : '',
WXE_E2E_APPEARANCE_THEME: options.appearanceTheme || 'light'
}