You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
media-use tts.mjs leaves one hf-txt-* temp directory per synthesized line #5466
Environment: skills installed from heygen-com/hyperframes on 2026-10-10, CLI 0.8.145.
skills/media-use/audio/scripts/lib/tts.mjs → writeTmpText() creates mkdtempSync(join(tmpdir(), "hf-txt-")) for every synthesized line (ElevenLabs and Kokoro paths) and never removes it. A 40-line voiceover leaves 40 directories in the temp folder per run.
Fix: remove the directory after the synthesis call returns (e.g. rmSync(dirname(p), { recursive: true, force: true }) in a finally), as transcodeToWav() already does for its own temp dir.
Activity