mirror of
https://github.com/zed-industries/zed.git
synced 2026-11-27 11:02:33 +01:00
5e40758731
The Zed Agent's sandbox on Windows now runs terminal commands in a native Windows AppContainer, using the new [Process Security Environment](https://learn.microsoft.com/en-us/windows/win32/api/_processmodel/) (PSEC) API, instead of under Bubblewrap in WSL. The WSL-based sandbox is removed. The AppContainer sandbox supports the same policies as Linux and macOS and closes the WSL-based sandbox's filesystem-isolation gaps. Host-restricted network access through the HTTP/HTTPS proxy is now supported on Windows too. Some tools aren't yet compatible with AppContainer. Most notably, Cygwin- and MSYS2-based tools, such as the Unix tools that come with Git for Windows (`bash`, `perl`, and so on), don't currently run inside it. When sandboxing is enabled on Windows, the Zed Agent runs terminal commands in PowerShell. PSEC requires a recently patched version of Windows 11 24H2, 25H2, 26H1, or 26H2. The sandbox isn't supported on Windows 10. Release Notes: - On Windows, the Zed Agent now runs commands through a native Windows AppContainer sandbox instead of through WSL. --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Richard Feldman <oss@rtfeldman.com>