{"version":"2.1.221","anchor":"srt-win-helper-rewritten-with-async-spawning-timeouts-and-ty","canonical_anchor":"srt-win-helper-rewritten-with-async-spawning-timeouts-and-ty","heading":"srt-win helper rewritten with async spawning, timeouts and typed errors","tier":"notice","area":"Sandbox","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.221\/e\/srt-win-helper-rewritten-with-async-spawning-timeouts-and-ty","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.221","markdown":"### srt-win helper rewritten with async spawning, timeouts and typed errors\n\nWindows sandbox setup no longer freezes the UI and reports specific failure reasons with timeouts.\n\n**What**\n\nThe Windows sandbox-runtime wrapper no longer blocks on synchronous subprocess calls, and its failures now surface as specific codes instead of generic errors.\n\n**Details**\n\n- Every subcommand can run asynchronously through a promise-based spawn with a timeout: 15 s default, 120 s for install, 60 s for trust-ca.\n- Failures throw a WindowsSandboxError carrying codes including spawn_failed, srt_win_timeout, install_timeout, install_wfp_failed, install_user_failed and install_config_conflict.\n- Status, user and wfp probes gained async variants that run in parallel via Promise.allSettled.\n- The sandbox dependency check invoked from \/sandbox is now awaited through checkDependenciesAsync instead of blocking synchronously.\n- Windows sandbox paths only.\n\n**Evidence**\n\n`srt-win install timed out \\u2014 the UAC prompt may still be open. `\n\n- Area: Sandbox\n- Names: `\/sandbox`\n- Tier: You'll notice\n- Useful: 3\/5\n- Signal: 0\/5"}