Improve tracking for agent edits (#27857)

Release Notes:

- N/A

---------

Co-authored-by: Nathan Sobo <nathan@zed.dev>
Co-authored-by: Max Brunsfeld <maxbrunsfeld@gmail.com>
4a252515b1Antonio Scandurra committed on 4/1/2025, 10:13:28 PM· committed by GitHubparentd26c477
19 files changedLine totals unavailable