mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-25 08:32:45 +00:00
* perf(parsers): judge private paths in linear time isStudioPrivatePath decided whether each segment sat at the project root by copying and scanning every earlier segment, so its work grew with the square of the segment count. It now finds the first named segment once. The two media-use copies change the same way, and lint refuses a data-composition-src longer than any file path before resolving it. * chore(skills): regenerate the media-use audio-carve bundle It bundles the private-path rule, which this branch makes linear. * test: bound the long-path tests by input size, not wall time The isPrivateFileUnder test runs on 200,000 segments, and the lint test's 40,000-character source has no timer. CI runners took just over the old limits while the results stayed right. * chore(parsers): raise the unpacked size budget by 1,000 bytes The linear private-path check adds a few dozen bytes to @hyperframes/parsers, which put it 22 bytes past its budget's 1% margin (924,172 against 924,150).