mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-25 16:37:32 +00:00
A stems folder that arrived with a project was trusted by its shape, so its stems were read, mixed and, at the default local quality, described through HeyGen with the person's credential. fetchStems now writes a record under the HyperFrames config folder, outside the project, naming each file it saved by device, inode, size and modification time, and cachedStems reuses stems only when that record matches every file, before reading any of them. Stems are described only at --quality best, so local and fast resolve no credential and make no request. Every reader of a stem, the voice-free mix included, opens it through the file protocol as one self-contained audio format, so a stem that is a playlist is refused before it is decoded, mixed or sent.