(entry: MakaPiTranscriptEntry, width: number)
| 1238 | } |
| 1239 | |
| 1240 | function renderTranscriptEntryBlock(entry: MakaPiTranscriptEntry, width: number): string[] { |
| 1241 | switch (entry.kind) { |
| 1242 | case 'user': |
| 1243 | return renderUserBlock(entry.text, width); |
| 1244 | case 'legacy_automation': |
| 1245 | return renderLegacyAutomationBlock(entry.text, width); |
| 1246 | case 'assistant': |
| 1247 | return renderAssistantBlock(entry.text, width); |
| 1248 | case 'thinking': |
| 1249 | return renderThinkingBlock(entry, width, entry.expanded); |
| 1250 | case 'tool': |
| 1251 | return renderToolBlock(entry, width, entry.expanded); |
| 1252 | case 'notice': |
| 1253 | return renderNotice(entry, width); |
| 1254 | } |
| 1255 | } |
| 1256 | |
| 1257 | function transcriptEntrySignature(entry: MakaPiTranscriptEntry, width: number): string { |
| 1258 | switch (entry.kind) { |
no test coverage detected