# Show command in sandbox permission prompts \(\#59362\) · gitcafe/zed

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

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

Visibility: public

Requested revision: a3e15cefac837944640447b9d4f7033ff485adbb

Requested commit: a3e15cefac837944640447b9d4f7033ff485adbb

Commit: a3e15cefac837944640447b9d4f7033ff485adbb

Tree: 72729c3ca4f1e19bca83c6434534a9a54dde6728

Author: MartinYe1234

Committer: GitHub

## Message

```
Show command in sandbox permission prompts (#59362)

Summary:

- Include terminal command text in sandbox authorization metadata.
- Render the command in sandbox permission prompts, including prompts to
run outside the sandbox.
- Keep write-path details visible alongside the command when both are
present.

Tests:

- cargo test -p agent sandbox
- cargo check -p agent_ui

Release Notes:

- Improved agent sandbox permission prompts to show the command being
requested.
```

## Parents

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

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