Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。
TypeScript agentai-agentai-assistantandroidclaude-codecodexelectroniosllmmacosreact-nativetypescriptwindows
test: remove stale mobile exemption and allow Windows startup I/O
zqchris8364ef71437e
diff --git a/apps/desktop/src/main/remote-agent/__tests__/guestHost.test.ts b/apps/desktop/src/main/remote-agent/__tests__/guestHost.test.tsindex 68b0f3d3a6..2b934ecfe3 100644--- a/apps/desktop/src/main/remote-agent/__tests__/guestHost.test.ts+++ b/apps/desktop/src/main/remote-agent/__tests__/guestHost.test.ts@@ -465,7 +465,11 @@ describe('guest provider access and usage', () => {const host = makeHost(started, { bindGuestProviderRoute: bind });await host.handle(GUEST, { op: 'open', runId: RUN_1, agentKind: kind, payload: { json: openPayload('task-1') } });await host.handle(OWNER, { op: 'open', runId: RUN_2, agentKind: kind, payload: { json: openPayload('task-2') } });- await vi.waitFor(() => expect(started).toHaveLength(2));+ // Open acknowledges before filesystem preparation/startHosted finishes.+ // Keep Linux's default; Windows already allows this suite 60s for async disk I/O.+ await vi.waitFor(() => expect(started).toHaveLength(2), {+ timeout: process.platform === 'win32' ? 10_000 : 1_000,+ });const guestRun = started.find((entry) => entry.input.guest)!;const ownerRun = started.find((entry) => !entry.input.guest)!;expect(bind).toHaveBeenCalledTimes(1);diff --git a/apps/mobile/src/__tests__/designTokenDiscipline.test.ts b/apps/mobile/src/__tests__/designTokenDiscipline.test.tsindex e5a5ceb7eb..1a19ed01d8 100644--- a/apps/mobile/src/__tests__/designTokenDiscipline.test.ts+++ b/apps/mobile/src/__tests__/designTokenDiscipline.test.ts@@ -51,11 +51,6 @@ const ALLOWLIST: Array<{ file: string; snippet: string; reason: string }> = [snippet: '? 19 : iconSize.lg',reason: 'Claude logo 视觉重量偏小的 +1px 光学补偿',},- {- file: 'src/session/ContextSheetCollabView.tsx',- snippet: '? 19 : iconSize.lg',- reason: '协同 Worker 行与首页任务行同一个 Agent 标,Claude logo +1px 光学补偿同值',- },{file: 'app/sessions/[sessionId].tsx',snippet: 'size={10}',