Files
hyperframes/packages/cli/src
Michael Wang 9e3fb696c0 fix(media-use): media writes replace a link at the output name instead of following it (#8324)
* 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.
2026-11-20 23:44:54 +00:00
..
…