assistant edit tool: Track read buffers and notify model of user edits (#26952)

When the model reads file, we'll track the version it read, and let it
know if the user makes edits to the buffer. This helps prevent edit
failures because it'll know to re-read the file before.

Release Notes:

- N/A
This commit is contained in:
Agus Zubiaga
2025-03-17 21:50:16 +00:00
committed by GitHub
parent cb439e672d
commit a05066cd83
7 changed files with 83 additions and 23 deletions
Generated
+1
View File
@@ -692,6 +692,7 @@ name = "assistant_tool"
version = "0.1.0"
dependencies = [
"anyhow",
"clock",
"collections",
"derive_more",
"gpui",