(entry: Entry)
| 137 | * messages on resume (see #14373, #23537). |
| 138 | */ |
| 139 | export function isTranscriptMessage(entry: Entry): entry is TranscriptMessage { |
| 140 | return ( |
| 141 | entry.type === 'user' || |
| 142 | entry.type === 'assistant' || |
| 143 | entry.type === 'attachment' || |
| 144 | entry.type === 'system' |
| 145 | ) |
| 146 | } |
| 147 | |
| 148 | /** |
| 149 | * Entries that participate in the parentUuid chain. Used on the write path |
no outgoing calls
no test coverage detected