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-18 09:38:59 +00:00
2025-08-25 16:04:44 -06:00
2025-09-04 17:14:53 +02:00
2025-09-16 08:07:02 +00:00
2025-09-12 18:07:59 +02:00
2025-09-13 20:17:13 +02:00
2025-09-17 15:41:46 +00:00
2025-09-16 10:23:49 +00:00
2025-09-17 19:15:56 +00:00
2025-09-10 20:11:07 +00:00
2025-09-04 06:02:13 +02:00
2025-08-19 21:26:17 +02:00
2025-08-13 13:25:52 -06:00
2025-09-04 17:14:53 +02:00
2025-08-27 23:24:19 +00:00
2025-09-17 19:15:56 +00:00
2025-09-11 22:18:42 -04:00
2025-09-16 19:18:39 +00:00
2025-09-16 21:58:40 +00:00
2025-09-16 08:07:02 +00:00
2025-08-29 17:18:52 -07:00
2025-09-14 14:01:04 +02:00
2025-07-22 11:55:24 -04:00
2025-08-29 18:13:06 -04:00
2025-08-27 23:24:19 +00:00
2025-09-04 17:14:53 +02:00
2025-09-14 14:01:04 +02:00
2025-09-08 21:53:17 -06:00
2025-09-17 10:11:51 +02:00
2025-09-16 10:18:10 +00:00
2025-05-04 08:28:39 +00:00
2025-08-22 11:45:47 -04:00
2025-09-10 20:11:07 +00:00
2025-09-16 22:24:03 +00:00
2025-09-17 20:31:03 +00:00
2025-09-14 14:01:04 +02:00
2025-04-02 13:26:34 -07:00
2025-08-26 00:27:52 +00:00
2025-09-05 14:22:32 +02:00
2025-09-08 12:23:33 +03:00
2025-09-14 14:01:04 +02:00
2025-09-09 13:28:26 -06:00
2025-09-17 10:11:51 +02:00
2025-08-19 21:26:17 +02:00
2025-09-09 18:48:22 +00:00
2025-08-28 07:53:32 +00:00
2025-09-03 22:10:14 +00:00
2025-07-06 14:52:16 +02:00
2025-08-20 12:20:13 +02:00
2025-09-13 00:43:16 +02:00
2025-09-04 05:51:48 +00:00
2025-09-17 10:38:49 +00:00
2025-09-08 09:14:24 -06:00
2025-08-27 03:24:50 +08:00
2025-08-22 11:45:47 -04:00
2025-09-12 14:22:35 -03:00
2025-09-17 16:45:47 -04:00
2025-09-17 18:37:36 +00:00
2025-09-14 14:01:04 +02:00
2025-07-10 21:08:43 +02:00
2025-08-19 20:33:44 +00:00
2025-09-11 13:56:06 -07:00
2025-08-16 19:00:31 +00:00
2025-09-17 21:36:06 +02:00
2025-09-13 00:43:16 +02:00
2025-09-12 18:07:59 +02:00
2025-08-21 19:59:42 -04:00
2025-09-14 14:01:04 +02:00
2025-09-12 14:55:25 -04:00
2025-09-17 10:28:05 +00:00
2025-08-19 13:27:24 +00:00
2025-08-06 10:53:20 +02:00
2025-09-12 14:45:38 -04:00
2025-09-14 14:01:04 +02:00
2025-09-18 08:22:26 +00:00
2025-09-12 15:55:19 -04:00
2025-08-28 12:00:44 +00:00
2025-09-17 11:26:53 +02:00
2025-08-29 16:56:10 -04:00
2025-08-21 17:19:57 +00:00
2025-08-19 13:27:24 +00:00
2025-09-16 10:18:10 +00:00
2025-04-02 13:26:34 -07:00
2025-09-17 10:47:09 +00:00
2025-09-04 15:19:02 -04:00
2025-09-16 19:18:39 +00:00
2025-09-09 20:56:08 +02:00
2025-08-19 20:33:44 +00:00
2025-09-10 23:06:09 +05:30
2025-09-04 15:19:02 -04:00
2025-09-14 15:53:07 -04:00
2025-09-17 07:25:14 +00:00
2025-09-12 09:37:45 +00:00
2025-09-13 20:17:13 +02:00
2025-09-16 22:24:03 +00:00
2025-09-15 09:43:04 +02:00
2025-09-10 23:06:09 +05:30
2025-09-15 10:17:27 +00:00
2025-09-17 10:09:15 +00:00
2025-09-10 23:06:09 +05:30
2025-05-20 23:06:07 +00:00
2025-09-17 10:11:51 +02:00
2025-09-03 01:22:57 +02:00
2025-09-12 09:37:45 +00:00
2025-09-17 06:48:47 +00:00
2025-09-15 10:17:27 +00:00
2025-05-20 23:06:07 +00:00
2025-07-02 21:14:33 -04:00
2025-08-20 12:20:13 +02:00
2025-09-03 01:22:57 +02:00
2025-09-15 16:29:58 -06:00
2025-07-17 14:25:55 +00:00
2025-07-08 14:34:57 +00:00
2025-08-19 20:33:44 +00:00
2025-09-08 21:53:17 -06:00
2025-09-15 06:34:26 +00:00
2025-09-15 19:55:02 -03:00
2025-09-08 22:01:55 +02:00
2025-09-12 11:17:55 +02:00
2025-09-09 13:26:35 -06:00
2025-09-15 16:29:58 -06:00
2025-08-20 12:20:13 +02:00
2025-09-11 21:00:03 -04:00
2025-09-13 00:43:16 +02:00
2025-08-19 21:26:17 +02:00
2025-09-17 16:45:47 -04:00
2025-09-17 17:58:46 +02:00
2025-09-10 23:06:09 +05:30
2025-08-20 12:20:13 +02:00
2025-09-12 23:24:04 +03:00
2025-09-17 17:55:30 +00:00
2025-09-12 23:24:04 +03:00
2025-05-23 14:53:53 +00:00
2025-09-15 12:43:41 +00:00
2025-09-18 00:02:44 -04:00
2025-09-14 14:01:04 +02:00
2025-09-03 00:52:04 +00:00
2025-08-19 13:27:24 +00:00
2025-09-17 17:02:13 +00:00
2025-09-08 21:53:17 -06:00
2025-09-10 15:38:19 +00:00
2025-09-10 22:02:23 +00:00
2025-04-02 13:26:34 -07:00
2025-09-17 13:08:29 +00:00
2025-05-20 23:06:07 +00:00
2025-08-19 13:27:24 +00:00
2025-09-18 00:02:44 -04:00
2025-09-10 23:06:09 +05:30
2025-09-12 15:03:24 -04:00
2025-09-12 23:24:04 +03:00
2025-08-19 21:26:17 +02:00
2025-08-19 21:26:17 +02:00
2025-09-10 23:06:09 +05:30
2025-09-17 10:11:51 +02:00
2025-04-02 13:26:34 -07:00
2025-08-20 12:20:13 +02:00
2025-08-19 20:33:44 +00:00
2025-09-04 17:14:53 +02:00
2025-09-04 17:14:53 +02:00
2025-08-29 16:17:22 -04:00
2025-09-14 14:01:04 +02:00
2025-09-12 18:08:21 +00:00
2025-08-21 19:59:42 -04:00
2025-09-10 23:06:09 +05:30
2025-09-15 12:43:41 +00:00
2025-09-10 23:06:09 +05:30
2025-09-12 23:24:04 +03:00
2025-08-15 15:37:52 -04:00
2025-09-18 08:15:52 +00:00
2025-09-15 09:53:33 +00:00
2025-09-17 12:02:39 +00:00
2025-09-14 14:01:04 +02:00
2025-04-02 13:26:34 -07:00
2025-09-14 14:01:04 +02:00
2025-09-10 23:06:09 +05:30
2025-05-06 10:18:48 +00:00
2025-09-17 10:47:09 +00:00
2025-09-10 23:06:09 +05:30
2025-09-16 14:47:10 +00:00
2025-09-15 05:08:38 +00:00
2025-09-12 23:24:04 +03:00
2025-07-30 23:03:53 +05:30
2025-09-17 15:39:47 +00:00
2025-06-13 06:32:29 +00:00
2025-08-15 13:54:24 +03:00
2025-09-18 08:47:15 +00:00
2025-09-12 15:55:19 -04:00
2025-08-25 14:28:11 -04:00
2025-08-20 12:20:13 +02:00
2025-08-19 20:33:44 +00:00
2025-09-17 13:08:29 +00:00
2025-09-16 07:31:28 +00:00
2025-08-26 21:08:45 +00:00
2025-09-17 14:45:25 +00:00
2025-09-17 17:55:30 +00:00
2025-09-15 03:36:24 +00:00
2025-09-11 19:57:24 +00:00
2025-09-11 19:00:51 +00:00
2025-09-06 00:27:14 +02:00
2025-09-04 15:19:02 -04:00