mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-23 11:29:54 +00:00
* fix(media-use): provider error lines print control characters as escapes The local video, local image, Codex image, local voice and HeyGen providers print a helper tool's output or an error message when a step fails. Those lines now go through terminalText, as the sound effect provider already does, so escape and bell bytes from a prompt or a helper's output show as visible \xNN escapes instead of reaching the terminal. Printable text, return values and thrown errors are unchanged. * fix(media-use): keep line breaks in escaped provider error lines A helper's multi-line error output printed as one long line, because every line break showed as a visible escape. A new terminalLines helper keeps each line break (a CRLF pair counts as one) and escapes every other control character, a lone carriage return included. Provider lines that can carry multi-line helper output now use it.