(m: Message)
| 216 | return count; |
| 217 | } |
| 218 | function assistantHasVisibleText(m: Message): boolean { |
| 219 | if (m.type !== 'assistant') return false; |
| 220 | for (const b of m.message.content) { |
| 221 | if (b.type === 'text' && b.text.trim() !== '') return true; |
| 222 | } |
| 223 | return false; |
| 224 | } |
| 225 | export type UnseenDivider = { |
| 226 | firstUnseenUuid: Message['uuid']; |
| 227 | count: number; |
no outgoing calls
no test coverage detected