# agent: Push diffs of user edits to the agent \(\#34487\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 406ffb1e20f2db900e6d6f1fb99d348d6f4dffac

Requested commit: 406ffb1e20f2db900e6d6f1fb99d348d6f4dffac

Commit: 406ffb1e20f2db900e6d6f1fb99d348d6f4dffac

Tree: 0c037d7761085c9b05e7a662eb0f32b6d80a7f22

Author: Oleksiy Syvokon

Committer: GitHub

## Message

```
agent: Push diffs of user edits to the agent (#34487)

This change improves user/agent collaborative editing.

When the user edits files that are used by the agent, the
`project_notification` tool now pushes *diffs* of the changes, not just
file names. This helps the agent to stay up to date without needing to
re-read files.

Release Notes:

- Improved user/agent collaborative editing: agent now receives diffs of
user edits
```

## Parents

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

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