Represent user message presentation with an enum (#57291)

## What changed

Replace `UserHistoryCell`'s `spoken` boolean with `UserMessagePresentation`, defaulting to `Plain` and using `Spoken` for speech transcripts. Route rendering checks through `is_spoken()`, preserving the existing prompt styling and whitespace handling.

GitOrigin-RevId: d0683a2b536a7d71f68fd9a089e6839d0ab0cc65
This commit is contained in:
Ian MacLeod
2026-10-26 22:11:27 +00:00
committed by copyberry
parent 16effdfc8c
commit a014908c50
15 changed files with 47 additions and 36 deletions
@@ -53,7 +53,7 @@ pub(super) fn line(
Some((
truncate_line_with_ellipsis_if_overflow(
Line::from(vec![
if prompt.spoken {
if prompt.is_spoken() {
"› ".red().bold()
} else {
"› ".bold().dim()