Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。
TypeScript agentai-agentai-assistantandroidclaude-codecodexelectroniosllmmacosreact-nativetypescriptwindows
fix(windows): allow packaged barrier helper cold start
DavidShen89eb06a7bb40
diff --git a/apps/desktop/src/main/windowsPackagedInstanceBarrier.ts b/apps/desktop/src/main/windowsPackagedInstanceBarrier.tsindex 291b528412..ba1988df24 100644--- a/apps/desktop/src/main/windowsPackagedInstanceBarrier.ts+++ b/apps/desktop/src/main/windowsPackagedInstanceBarrier.ts@@ -1,7 +1,10 @@import { spawn, type ChildProcessWithoutNullStreams } from 'node:child_process';const DEFAULT_ACQUIRE_TIMEOUT_MS = 5_000;-const HELPER_START_TIMEOUT_MS = 5_000;+// PowerShell cold start is independent from mutex contention. On loaded Windows+// CI workers two shards can start this helper together and exceed five seconds+// before the script emits its first status line.+const HELPER_START_TIMEOUT_MS = 15_000;const HELPER_PROBE_TIMEOUT_MS = 5_000;const HELPER_EXIT_TIMEOUT_MS = 2_000;const MAX_HELPER_OUTPUT_BYTES = 16 * 1024;