Files
zed/crates
Ben Brandt 32c868ff7d acp: Fix behavior of read_text_file for ACP agents (#38401)
We were incorrectly handling the line number as well as stripping out
line breaks when returning portions of files.

It also makes sure following is updated even when we load a snapshot
from cache, which wasn't the case before.

We also are able to load the text via a range in the snapshot, rather
than allocating a string for the entire file and then another after
iterating over lines in the file.

Release Notes:

- acp: Fix incorrect behavior when ACP agents requested to read portions
of files.
2025-09-18 09:38:59 +00:00
..
2025-09-12 18:07:59 +02:00
2025-08-13 13:25:52 -06:00
2025-09-08 21:53:17 -06:00
2025-04-02 13:26:34 -07:00
2025-09-03 22:10:14 +00:00
2025-09-12 14:45:38 -04:00
2025-09-17 11:26:53 +02:00
2025-09-17 10:47:09 +00:00
2025-08-19 20:33:44 +00:00
2025-07-17 14:25:55 +00:00
2025-07-08 14:34:57 +00:00
2025-09-08 21:53:17 -06:00
2025-09-08 21:53:17 -06:00
2025-04-02 13:26:34 -07:00
2025-09-17 10:47:09 +00:00
2025-09-17 14:45:25 +00:00