Expand description
Block-aware transcript renderer.
Goal-144 replaces the single-line StyledMessage::to_line() ladder
with one render function per TranscriptBlock variant. A block
produces 1-or-more Lines; the chat panel concatenates the
results separated by a blank line.
Functionsยง
- render_
block - Render a single block. Exposed for unit tests.
- render_
blocks - Convert the entire transcript into a flat
Vec<Line>with one blank line between adjacent blocks. Folded ToolResult blocks honour theexpandedflag.