Files
hyperframes/packages
Miguel ÁngelandClaude Opus 4.6 df2cf47d20 fix(core): load head styles and scripts from non-template sub-compositions
When a sub-composition is a full HTML document (not wrapped in
<template>), the composition loader only extracted <style> and
<script> elements from within the [data-composition-id] root
element. Any CSS in <head> (backgrounds, positioning, fonts) or
scripts in <head> (GSAP CDN) were silently dropped.

This caused the iris-wipe eval (prompt 25, scored 1.0/5) to
render entirely black — the scene background colors and absolute
positioning were defined in <head><style> and never loaded.

Now extracts <head> styles and scripts from non-template sub-comp
documents and injects them before the content-level assets.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-07 14:54:26 +00:00
..
2026-04-03 04:36:19 +00:00