Fusion AI launch film: the HAL 8 card and the widget's lightbox

A 32 s trailer rendered in Blender from the Apex Universe scene. The
pane in it is the real widget replaying answers Fusion AI gave on the
live route, voiced by ElevenLabs Brian, with an original score.
fusion/launch/ holds the 16:9 cut, its poster and English captions.
The HAL 8 section gets a 'Meet Fusion AI' card (Talk to Fusion AI opens
the widget through a fusion:open event), and the widget's welcome
screen a 'Watch the launch film' chip that plays it in a lightbox.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-09-27 01:34:11 -05:00
parent b9b9fe06d8
commit dfa72eec45
8 changed files with 117 additions and 3 deletions

View File

@@ -24,6 +24,8 @@ subprocess.run([sys.executable, str(tool), "decode", str(SITE / "index.html"), s
page = tmp.read_text("utf-8")
VER = hashlib.sha1((SITE / "fusion" / "fusion.js").read_bytes()).hexdigest()[:10]
FILM = SITE / "fusion" / "launch" / "fusion-ai-launch.mp4"
FILM_V = hashlib.sha1(FILM.read_bytes()).hexdigest()[:10] if FILM.exists() else "0"
COMPONENT = f"""/*F8-BEGIN*/
// ============================================================================
// FUSION AI — powered by HAL 8 (fusion/fusion.js; the key lives on HAL 8, never here)
@@ -39,6 +41,21 @@ function FusionAI() {{
}}, []);
return MG("div", {{ ref }});
}}
// the launch film, on the HAL 8 page (fusion/launch/; "Talk to Fusion AI" opens the widget)
function FusionLaunchCard() {{
const film = "fusion/launch/fusion-ai-launch";
return MG("div", {{ className: "f8-launch" }},
MG("div", {{ className: "f8-launch-media" }},
MG("video", {{ src: film + ".mp4?v={FILM_V}", poster: "fusion/launch/poster.jpg?v={FILM_V}", controls: true, playsInline: true, preload: "none" }},
MG("track", {{ kind: "captions", src: film + ".vtt?v={FILM_V}", srcLang: "en", label: "English" }}))),
MG("div", {{ className: "f8-launch-copy" }},
MG("div", {{ className: "f8-launch-kicker" }}, "NEW · FUSION AI"),
MG("h3", null, "Meet Fusion AI. ", MG("span", {{ className: "serif-i" }}, "Powered by HAL 8.")),
MG("p", null, "The assistant on this site. Ask anything, write and run code, make images and short video, or just talk. Standard keeps your chat in this browser; Incognito keeps nothing."),
MG("div", {{ className: "h8-cta" }},
MG("button", {{ className: "mgx-btn pri", onClick: () => window.dispatchEvent(new CustomEvent("fusion:open")) }}, "Talk to Fusion AI"),
MG("a", {{ className: "mgx-btn", href: film + ".mp4", download: "fusion-ai-launch.mp4" }}, "Download the film"))));
}}
/*F8-END*/
"""
@@ -54,6 +71,11 @@ else:
assert old.count("function ") == 1 and "SYSTEM_PROMPT" in old and "Powered by Claude" in old, "unexpected old block"
page = page[:i] + COMPONENT + page[j:]
assert "Powered by Claude" not in page and page.count("function FusionAI()") == 1
# the card sits in the HAL 8 section, right above "Inside the harness"
HOOK = 'MG("div", { className: "mg-subhead" }, "Inside the harness"),'
if "MG(FusionLaunchCard, null)" not in page:
assert page.count(HOOK) == 1, "HAL 8 section hook not found"
page = page.replace(HOOK, "MG(FusionLaunchCard, null),\n " + HOOK)
css = (SITE / "fusion" / "fusion.css").read_text("utf-8")
page = re.sub(r"<style>/\*f8-css-begin\*/.*?/\*f8-css-end\*/</style>\n", "", page, flags=re.S)