MCPcopy Create free account
hub / github.com/heygen-com/hyperframes / pushCue

Function pushCue

packages/cli/src/whisper/normalize.ts:324–329  ·  view source on GitHub ↗
(cues: Cue[], cue: Cue | undefined)

Source from the content-addressed store, hash-verified

322}
323
324function pushCue(cues: Cue[], cue: Cue | undefined): void {
325 if (!cue) return;
326 const text = cue.text.trim();
327 if (!text) return;
328 cues.push({ text, start: round3(cue.start), end: round3(cue.end) });
329}
330
331/** Whether `word` should start a new cue rather than extend `current`. */
332function breaksCue(

Callers 2

entriesToCuesFunction · 0.85
flushFunction · 0.85

Calls 1

round3Function · 0.70

Tested by

no test coverage detected