Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。
TypeScript agentai-agentai-assistantandroidclaude-codecodexelectroniosllmmacosreact-nativetypescriptwindows
test(desktop): widen Windows unit timeout
DavidShenb54ec57ad87a
diff --git a/apps/desktop/vitest.config.ts b/apps/desktop/vitest.config.tsindex f7405ff86a..a08095bbf9 100644--- a/apps/desktop/vitest.config.ts+++ b/apps/desktop/vitest.config.ts@@ -69,11 +69,11 @@ export default defineConfig({// are markedly slower and, under the full desktop suite's worker-pool// contention, light tests intermittently blow past vitest's 5s default and// time out non-deterministically (a different test each run). Give Windows- // a wider default so those pass reliably; keep the standard 5s on- // Linux/macOS/CI so genuine hangs still surface promptly. Tests that need+ // a wider 60s default so those pass reliably; keep the standard 5s on+ // Linux/macOS so genuine hangs still surface promptly. Tests that need// even more (multi-step real-git orchestration) still set their own higher// per-file timeout, which overrides this.- testTimeout: process.platform === 'win32' ? 20_000 : 5_000,+ testTimeout: process.platform === 'win32' ? 60_000 : 5_000,// Node 25 默认开启 webstorage,globalThis.localStorage 变成一个未配// --localstorage-file 时方法全缺的残缺对象:node 环境下骗过// `typeof localStorage !== 'undefined'` 探测,jsdom 环境下又因 key 已存在