# agent_ui: Update work dirs for all conversation threads \(\#52825\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 8ef64d99d8fbc86801c6d33cb20e2fb367b654cb

Requested commit: 8ef64d99d8fbc86801c6d33cb20e2fb367b654cb

Commit: 8ef64d99d8fbc86801c6d33cb20e2fb367b654cb

Tree: f9b1343fc172b5b66afba047c3233e5cd80b5635

Author: Ben Brandt

Committer: GitHub

## Message

```
agent_ui: Update work dirs for all conversation threads (#52825)

Propagate work directory changes through `ConversationView` instead
of only updating active and generating root threads.

This makes sure that all subagents are in sync, as well as any currently
"active" threads in the agent panel.

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:

- N/A

Co-authored-by: Bennet Bo Fenner <bennetbo@gmx.de>
```

## Parents

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

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