mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-23 11:29:54 +00:00
* fix(media-use): replace a link at a generated media output instead of writing through it heygen-tts writes its audio and --words file, and hyperframes generate writes its download and its cropped video, by renaming a new file onto the output name. A link already at that name is replaced, and the file it points at is left alone. The crop is encoded in a private staging folder instead of at <out>.fit<ext>. * fix(media-use): replace a link at the Gemini, ElevenLabs and Kokoro voice outputs Gemini now writes its wav with replaceFile. ElevenLabs and Kokoro write into the private text folder, and the result then replaces the output, so a link at the output name is replaced instead of followed. replaceFile removes its temp file when the write fails, and retries a rename Windows briefly holds.