# acp: Enable ACP session usage and deletion features \(\#58680\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 56b71271c4d95f3c76afa37c33bfa73f1367a947

Requested commit: 56b71271c4d95f3c76afa37c33bfa73f1367a947

Commit: 56b71271c4d95f3c76afa37c33bfa73f1367a947

Tree: eabb448f468643f34bd0da35c83bdfc30c7903fb

Author: Ben Brandt

Committer: GitHub

## Message

```
acp: Enable ACP session usage and deletion features (#58680)

Stabilizes context windows + persistent session/delete for acp agents
that support them

Self-Review Checklist:

- [x] I've reviewed my own diff for quality, security, and reliability
- [x] Unsafe blocks (if any) have justifying comments
- [x] The content is consistent with the [UI/UX
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
- [x] Tests cover the new/changed behavior
- [x] Performance impact has been considered and is acceptable

Release Notes:

- acp: Show context window usage and cost metrics for external agents
that support it.
- acp: Persist session deletion from history for external agents that
support it.
```

## Parents

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

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