MCPcopy Create free account
hub / github.com/codeaashu/claude-code / assistantHasVisibleText

Function assistantHasVisibleText

src/components/FullscreenLayout.tsx:217–223  ·  view source on GitHub ↗
(m: Message)

Source from the content-addressed store, hash-verified

215 return count;
216}
217function 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}
224export type UnseenDivider = {
225 firstUnseenUuid: Message['uuid'];
226 count: number;

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected