MCPcopy Index your code
hub / github.com/claude-code-best/claude-code / isLegacyProgressEntry

Function isLegacyProgressEntry

src/utils/sessionStorage.ts:170–179  ·  view source on GitHub ↗

* Progress entries in transcripts written before PR #24099. They are not * in the Entry type union anymore but still exist on disk with uuid and * parentUuid fields. loadTranscriptFile bridges the chain across them.

(entry: unknown)

Source from the content-addressed store, hash-verified

168 * parentUuid fields. loadTranscriptFile bridges the chain across them.
169 */
170function isLegacyProgressEntry(entry: unknown): entry is LegacyProgressEntry {
171 return (
172 typeof entry === 'object' &&
173 entry !== null &&
174 'type' in entry &&
175 entry.type === 'progress' &&
176 'uuid' in entry &&
177 typeof entry.uuid === 'string'
178 )
179}
180
181/**
182 * High-frequency tool progress ticks (1/sec for Sleep, per-chunk for Bash).

Callers 1

loadTranscriptFileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected