Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。
TypeScript agentai-agentai-assistantandroidclaude-codecodexelectroniosllmmacosreact-nativetypescriptwindows
test(desktop): 补齐协同入口测试的 Session mock
DavidShenb4bdef12e4a4
diff --git a/apps/desktop/src/main/mcp-integrations/__tests__/collabSendOutcome.test.ts b/apps/desktop/src/main/mcp-integrations/__tests__/collabSendOutcome.test.tsindex 417cb1d0a3..c7cc3e8eae 100644--- a/apps/desktop/src/main/mcp-integrations/__tests__/collabSendOutcome.test.ts+++ b/apps/desktop/src/main/mcp-integrations/__tests__/collabSendOutcome.test.ts@@ -48,6 +48,7 @@ vi.mock('../../maker-ipc/register.js', () => ({tryGetOrcaCollabService: () => mockState.collabService,isSessionInTurn: () => false,getTaskActionInputState: () => ({ key: 'owner-input', ownerInput: true, boundary: 'runtime-1' }),+ getTaskActionSession: () => undefined,confirmTaskAction: vi.fn(async () => true),}));