# Add Windows terminal sandboxing via WSL \(\#58971\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/dfd44a45dde9a191f37194f8c6d40fefd9a32bc9)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: dfd44a45dde9a191f37194f8c6d40fefd9a32bc9

Requested commit: dfd44a45dde9a191f37194f8c6d40fefd9a32bc9

Commit: dfd44a45dde9a191f37194f8c6d40fefd9a32bc9

Tree: 85869334ccbe606966426ed8f469e922663ff23a

Author: MartinYe1234

Committer: GitHub

## Message

```
Add Windows terminal sandboxing via WSL (#58971)

Summary

- Adds Windows agent terminal sandboxing by routing commands through WSL
and Bubblewrap.
- Supports native Windows and WSL project paths, including elevated
write grants for WSL paths.
- Shows a confirmation prompt to turn off sandboxing when WSL sandbox
setup is unavailable.

This builds on the work in the sandbox-linux branch.

Closes AI-376

Release Notes:

- Added Windows terminal sandboxing for agent commands when sandboxing
is enabled.

---------

Co-authored-by: cameron <cameron.studdstreet@gmail.com>
Co-authored-by: Richard Feldman <oss@rtfeldman.com>
Co-authored-by: zed-zippy[bot] <234243425+zed-zippy[bot]@users.noreply.github.com>
```

## Parents

- [1bc9d8e80ec78a5f2d724c85105bd31a9e4b8898](https://git.cafe/gitcafe/zed/commit/1bc9d8e80ec78a5f2d724c85105bd31a9e4b8898?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/dfd44a45dde9a191f37194f8c6d40fefd9a32bc9?format=markdown)
