(text: string, width: number)
| 1664 | } |
| 1665 | |
| 1666 | function renderLegacyAutomationBlock(text: string, width: number): string[] { |
| 1667 | if (!text.trim()) return []; |
| 1668 | return [ |
| 1669 | fitLine(ansi.dim('Legacy Automation (history only)'), width), |
| 1670 | ...renderIndented(text, width, 2).map((line) => fitLine(line, width)), |
| 1671 | ]; |
| 1672 | } |
| 1673 | |
| 1674 | /** An assistant turn: bare markdown prose, no speaker label or indent. */ |
| 1675 | function renderAssistantBlock(text: string, width: number): string[] { |
no test coverage detected