* 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)
| 167 | * parentUuid fields. loadTranscriptFile bridges the chain across them. |
| 168 | */ |
| 169 | function 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). |
no outgoing calls
no test coverage detected