MCPcopy
hub / github.com/claude-code-best/claude-code / isTranscriptMessage

Function isTranscriptMessage

src/utils/sessionStorage.ts:140–147  ·  view source on GitHub ↗
(entry: Entry)

Source from the content-addressed store, hash-verified

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

Callers 5

appendEntryMethod · 0.85
loadTranscriptFileFunction · 0.85
processSessionFilesFunction · 0.85
teleportFromSessionsAPIFunction · 0.85
createForkFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected