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