mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-25 16:37:32 +00:00
A received project could carry links at .media, at a type folder, at the next asset name or its .tmp name, or at the preferences store's temp names, and resolve or prefs record wrote through them to files outside the project. - ownMediaDir now checks every folder down to the type folder, making each one level at a time, before the lock, the allocator, the record append or a project preference write touches anything inside it. - The allocator ignores ids past nine digits, so a planted huge id can't push it back onto a name the project holds, and it skips any name that already exists. - The asset writers and the LUT .tmp writers create new files only. - The preferences store writes through replaceFile, a random temp name created exclusively and renamed into place. Both copies of manifest.mjs and prefs-store.mjs change together.