mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-17 15:24:19 +00:00
The build script already copies hyperframe.manifest.json into the producer's dist/ directory, but the runtime loader never checked there. This caused `window.__hf not ready` timeouts when rendering via the published npm package outside the monorepo, since the only candidate paths were monorepo-relative. Add a sibling-directory lookup (same dir as the bundled module) as the first candidate, so the manifest is found whether running from source, a bundled dist/, or an npm install. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>