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

Function isLegacyProgressEntry

src/utils/sessionStorage.ts:169–178  ·  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

167 * parentUuid fields. loadTranscriptFile bridges the chain across them.
168 */
169function isLegacyProgressEntry(entry: unknown): entry is LegacyProgressEntry {
170 return (
171 typeof entry === 'object' &&
172 entry !== null &&
173 'type' in entry &&
174 entry.type === 'progress' &&
175 'uuid' in entry &&
176 typeof entry.uuid === 'string'
177 )
178}
179
180/**
181 * 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