MCPcopy Create free account
hub / github.com/AnukarOP/claude-code-leaked / isTranscriptMessage

Function isTranscriptMessage

source code/utils/sessionStorage.ts:141–148  ·  view source on GitHub ↗
(entry: Entry)

Source from the content-addressed store, hash-verified

139 * messages on resume (see #14373, #23537).
140 */
141export function isTranscriptMessage(entry: Entry): entry is TranscriptMessage {
142 return (
143 entry.type === 'user' ||
144 entry.type === 'assistant' ||
145 entry.type === 'attachment' ||
146 entry.type === 'system'
147 )
148}
149
150/**
151 * 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