Eric Traut
d7ebabf7b7
Fix TUI prompt editing with partially loaded history ( #64199 )
...
## Why
A late result from an earlier turn can appear on a loaded transcript
page even when that turn's prompt and prompts from intervening turns
are still unloaded. Counting prompts from a single history boundary can
then map a visible prompt to the wrong turn. Rewinding can also remove
that late result, leaving a stale boundary for the next edit.
## What changed
Resolve prompt selections against the loaded items in each turn,
including turns with no loaded items. After a rewind, refresh the
retained transcript items from app-server so the next edit uses
boundaries that still exist.
## Testing
Cover selection of a visible prompt whose text matches an unloaded
prompt, and extend the in-place editing scenario to exercise a second
rewind after the first removes a late item.
GitOrigin-RevId: 53ec2595a56b45c2fc1077a94338215b4b0b7382
2026-11-26 18:47:00 +00:00
..
2026-11-26 00:33:01 +00:00
2026-11-19 00:06:45 +00:00
2026-11-14 01:34:43 +00:00
2026-11-26 00:30:45 +00:00
2026-11-26 03:33:06 +00:00
2026-11-26 02:35:01 +00:00
2026-11-17 06:32:38 +00:00
2026-11-06 07:43:44 +00:00
2026-11-25 22:54:56 +00:00
2026-11-26 02:35:01 +00:00
2026-11-22 21:20:06 +00:00
2026-11-18 02:04:55 +00:00
2026-11-25 11:49:41 +00:00
2026-11-06 07:43:44 +00:00
2026-11-18 22:13:26 +00:00
2026-11-21 15:14:53 +00:00
2026-11-21 15:14:53 +00:00
2026-11-18 22:13:26 +00:00
2026-11-26 00:33:01 +00:00
2026-11-22 23:02:09 +00:00
2026-11-21 15:14:53 +00:00
2026-11-22 23:02:09 +00:00
2026-11-22 15:50:07 +00:00
2026-11-21 15:14:53 +00:00
2026-11-21 15:14:53 +00:00
2026-11-24 23:38:37 +00:00
2026-11-22 15:50:07 +00:00
2026-11-18 00:46:17 +00:00
2026-11-21 15:14:53 +00:00
2026-11-26 00:33:01 +00:00
2026-11-24 10:02:49 +00:00
2026-11-24 11:05:19 +00:00
2026-11-24 06:15:04 +00:00
2026-11-13 21:51:53 +00:00
2026-11-18 18:28:58 +00:00
2026-11-20 23:23:32 +00:00
2026-11-18 22:13:26 +00:00
2026-11-24 06:15:04 +00:00
2026-11-12 01:57:33 +00:00
2026-11-23 20:43:38 +00:00
2026-11-25 22:43:24 +00:00
2026-11-17 05:52:43 +00:00
2026-11-17 05:52:43 +00:00
2026-11-18 03:36:14 +00:00
2026-11-21 05:56:42 +00:00
2026-11-25 02:00:08 +00:00
2026-11-25 06:20:31 +00:00
2026-11-26 00:33:01 +00:00
2026-11-20 07:14:27 +00:00
2026-11-20 07:14:27 +00:00
2026-11-24 06:15:04 +00:00
2026-11-26 18:47:00 +00:00
2026-11-15 07:28:15 +00:00
2026-11-19 00:59:23 +00:00
2026-11-10 07:06:53 +00:00
2026-11-26 17:55:06 +00:00
2026-11-15 01:46:01 +00:00
2026-11-15 01:46:01 +00:00
2026-11-17 00:13:04 +00:00
2026-11-25 22:48:50 +00:00
2026-11-25 01:42:33 +00:00
2026-11-25 22:54:56 +00:00
2026-11-26 00:30:45 +00:00
2026-11-25 22:43:58 +00:00
2026-11-21 01:14:17 +00:00
2026-11-20 07:14:27 +00:00
2026-11-24 06:15:04 +00:00
2026-11-24 06:15:04 +00:00
2026-11-25 22:54:56 +00:00
2026-11-25 22:54:56 +00:00
2026-11-25 06:20:31 +00:00
2026-11-10 18:32:00 +00:00
2026-11-25 01:13:00 +00:00
2026-11-23 01:51:00 +00:00
2026-11-26 03:33:06 +00:00
2026-11-26 17:55:06 +00:00
2026-11-05 21:05:51 +00:00
2026-11-13 04:51:06 +00:00
2026-11-24 19:55:43 +00:00
2026-11-24 06:15:04 +00:00
2026-11-14 01:34:43 +00:00
2026-11-25 02:31:54 +00:00
2026-11-05 16:55:40 +00:00
2026-11-11 18:59:32 +00:00
2026-11-24 10:02:49 +00:00
2026-11-20 07:14:27 +00:00
2026-11-20 07:14:27 +00:00
2026-11-25 22:54:56 +00:00
2026-11-22 15:50:07 +00:00
2026-11-25 06:20:31 +00:00
2026-11-26 17:55:06 +00:00
2026-11-26 17:55:06 +00:00
2026-11-24 06:15:04 +00:00
2026-11-18 22:40:03 +00:00
2026-11-20 07:14:27 +00:00
2026-11-25 06:20:31 +00:00
2026-11-21 15:14:53 +00:00
2026-11-18 22:13:26 +00:00
2026-11-25 22:54:56 +00:00
2026-11-26 02:35:01 +00:00
2026-11-25 22:43:58 +00:00
2026-11-23 21:24:20 +00:00
2026-11-26 00:30:45 +00:00
2026-11-25 11:49:41 +00:00
2026-11-26 00:30:45 +00:00
2026-11-26 02:35:01 +00:00
2026-11-26 00:30:45 +00:00
2026-11-25 11:49:41 +00:00
2026-11-18 22:13:26 +00:00
2026-11-26 02:34:20 +00:00
2026-11-26 02:35:01 +00:00
2026-11-18 02:04:55 +00:00
2026-11-22 20:15:11 +00:00
2026-11-24 23:57:49 +00:00
2026-11-25 11:49:41 +00:00
2026-11-26 02:35:01 +00:00
2026-11-26 02:35:01 +00:00
2026-11-15 07:28:15 +00:00
2026-11-25 22:43:58 +00:00
2026-11-19 00:59:23 +00:00
2026-11-17 13:10:04 +00:00
2026-11-19 00:59:23 +00:00
2026-11-19 00:59:23 +00:00
2026-11-26 17:55:06 +00:00
2026-11-26 18:47:00 +00:00
2026-11-18 22:13:26 +00:00
2026-11-10 14:28:13 +00:00
2026-11-10 14:28:13 +00:00
2026-11-24 11:05:19 +00:00
2026-11-18 18:28:58 +00:00
2026-11-26 00:19:57 +00:00
2026-11-21 01:14:17 +00:00
2026-11-18 22:39:26 +00:00
2026-11-15 03:17:50 +00:00
2026-11-15 03:17:50 +00:00
2026-11-24 20:50:04 +00:00
2026-11-24 20:50:04 +00:00
2026-11-10 23:35:28 +00:00
2026-11-13 18:50:28 +00:00
2026-11-24 06:15:04 +00:00
2026-11-13 04:51:06 +00:00
2026-11-13 04:51:06 +00:00
2026-11-25 02:31:54 +00:00
2026-11-18 03:08:53 +00:00
2026-11-21 05:55:23 +00:00
2026-11-21 21:51:31 +00:00