- Capture lastAction and prompt in preview request, like query and env. Preview goroutine read t.lastAction and t.promptString while the main loop wrote them. - Do not write merger.final on a cached merger. Cache hit already requires the same value, and the terminal may be reading it. Close #4947