mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-19 19:36:04 +00:00
When a scene names a real entity the LLM can't invent (a brand logo, a real person, a named product), the scriptwriting agent may emit an optional assetNeeds marker; the new Source phase resolves each via the media-use skill, freezes it into public/, and fills assetCandidates.
Fully conditional + non-breaking: with no assetNeeds, or media-use / a search backend not installed, it self-detects and no-ops — the video stays faceless. Adds phases/source/{guide.md,resolve-assets.mjs} and threads assetNeeds through the scriptwriting docs + resume table; no change to prep/validator/workers.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>