# Fix ACP extension root dir \(\#42131\) · gitcafe/zed

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

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

Visibility: public

Requested revision: d21184b1d3f8f3303e22b765dca1ce4cf2aa6048

Requested commit: d21184b1d3f8f3303e22b765dca1ce4cf2aa6048

Commit: d21184b1d3f8f3303e22b765dca1ce4cf2aa6048

Tree: bb0abf1cc42703df1858853e9293e3b5910c998e

Author: Richard Feldman

Committer: GitHub

## Message

```
Fix ACP extension root dir (#42131)

Agents running in extensions need to have a root directory of the
extension's dir for installation and authentication, but *not* for the
conversation itself - otherwise the agent is running things like
terminal commands in the wrong dir.

Release Notes:

- Fixed Agent Server extensions having the current working directory of
the extension rather than the project
```

## Parents

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

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