Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。
TypeScript agentai-agentai-assistantandroidclaude-codecodexelectroniosllmmacosreact-nativetypescriptwindows
test(desktop): keep handoff route cleanup within its regression
guyong502a00039bfa
diff --git a/apps/desktop/src/main/__tests__/notificationService.test.ts b/apps/desktop/src/main/__tests__/notificationService.test.tsindex 5a3313a774..9259a80afb 100644--- a/apps/desktop/src/main/__tests__/notificationService.test.ts+++ b/apps/desktop/src/main/__tests__/notificationService.test.ts@@ -161,7 +161,6 @@ async function freshService() {markSessionNeedsAttention.mockClear();sendMobileSessionNotify.mockReset().mockReturnValue(true);getMobileNotifyGeneration.mockClear();- pendingHandoffSessions.clear();latestMessageText.mockClear();readSessionNotificationPreview.mockReset().mockImplementation(async (sessionId, includeReply = true) => {if (!includeReply) return {};@@ -252,6 +251,7 @@ describe('notificationService — channels 分发', () => {await notify('im-bot'); // a removed route cannot suppress a fallbackexpect(feishuIm.sendMarkdownText).toHaveBeenCalledTimes(5);} finally {+ pendingHandoffSessions.clear();clearInputHandoffChannelNotices();}});