Skip to content

Commit 069fc2a

Browse files
Merge main into miao/billing-stop-hardening
Main's checkout now goes through postCheckout with a return_url retry and CheckoutError; the stop signal is threaded through postCheckout's headers and request signal (createCheckout takes it as source.stop). Main's postToTokenEndpoint already bounds the token refresh, so this branch's own refresh timeout is dropped and its test now guards main's bound. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01HebQXN7wsMK6GqT3MNtqXw
2 parents 03312f9 + fa1942d commit 069fc2a

264 files changed

Lines changed: 10923 additions & 1430 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.claude-plugin/plugin.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "hyperframes",
33
"description": "HyperFrames by HeyGen. Write HTML, render video. Compositions, GSAP and runtime adapter animations, captions, voiceovers, audio-reactive visuals, and website capture for HyperFrames.",
4-
"version": "0.9.12",
4+
"version": "0.9.15",
55
"author": {
66
"name": "HeyGen",
77
"email": "[email protected]",

‎.codex-plugin/plugin.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "hyperframes",
33
"description": "Write HTML, render video. Compositions, Tailwind v4 styles, GSAP and runtime adapter animations, captions, voiceovers, audio-reactive visuals, and website capture for HyperFrames.",
4-
"version": "0.9.12",
4+
"version": "0.9.15",
55
"author": {
66
"name": "HeyGen",
77
"email": "[email protected]",

‎.cursor-plugin/plugin.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"name": "hyperframes",
44
"displayName": "HyperFrames by HeyGen",
55
"description": "Write HTML, render video. Compositions, Tailwind v4 styles, GSAP and runtime adapter animations, captions, voiceovers, audio-reactive visuals, and website capture for HyperFrames.",
6-
"version": "0.9.12",
6+
"version": "0.9.15",
77
"author": {
88
"name": "HeyGen",
99
"email": "[email protected]"

‎.github/workflows/ci.yml‎

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -623,7 +623,9 @@ jobs:
623623
name: Flake gate
624624
if: github.event_name == 'pull_request'
625625
runs-on: ubuntu-latest
626-
timeout-minutes: 30
626+
# The gate budgets by file count, not elapsed time (flake-gate.mjs runsFor), so a PR that
627+
# changes heavy browser or render tests needs the time: 5 engine blur files x 10 runs take ~26 min.
628+
timeout-minutes: 60
627629
steps:
628630
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
629631
with:
@@ -978,6 +980,14 @@ jobs:
978980
- run: bun run --filter '@hyperframes/{parsers,lint,studio-server}' build
979981
- run: bun run --cwd packages/core build
980982
- run: bun run --cwd packages/core build:hyperframes-runtime
983+
- name: Set up the Chrome build the work-count ceilings were measured on
984+
# The ceilings are counted on one Chrome build, so a Chrome release cannot move them.
985+
# Bump this with the ceilings in packages/studio/tests/e2e/perf-ceilings.json, never alone.
986+
id: chrome
987+
uses: browser-actions/setup-chrome@c785b87e244131f27c9f19c1a33e2ead956ab7ce # v1
988+
with:
989+
chrome-version: 156.0.8078.47
990+
- run: echo "CHROME_PATH=${{ steps.chrome.outputs.chrome-path }}" >> "$GITHUB_ENV"
981991
- name: Install the fixture as a Studio project
982992
# Studio resolves projects from packages/studio/data/projects, which is
983993
# gitignored. The fixture composition is tracked under tests/e2e, so

‎README.md‎

Lines changed: 54 additions & 52 deletions
Large diffs are not rendered by default.

‎docs/catalog-gallery.css‎

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
.hfc-gallery .hfc-media :is(img,video) { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; margin:0; border:0; border-radius:0; }
1818
.hfc-gallery .hfc-preview-host { position:absolute; inset:0; pointer-events:none; opacity:0; }
1919
.hfc-gallery .hfc-preview-host[data-ready="true"] { opacity:1; }
20-
.hfc-gallery .hfc-preview-host hyperframes-player { display:block; width:100%; height:100%; pointer-events:none; }
2120
.hfc-gallery .hfc-fallback { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:12px; padding:24px; height:100%; text-align:center; color:#ccc; background:#141414; }
2221
.hfc-gallery .hfc-fallback span { color:#999; font-size:10px; }
2322
.hfc-gallery .hfc-fallback strong { font-size:18px; line-height:1.2; }
@@ -79,3 +78,38 @@
7978
.hfc-gallery .mw .sq path{stroke-dasharray:220;stroke-dashoffset:220;}
8079
@media(prefers-reduced-motion:reduce){.hfc-gallery .mw .sq path{stroke-dashoffset:0;}}
8180
@media(max-width:600px){.hfc-gallery{padding:0 18px;}.hfc-gallery .hfc-hero{padding:28px 0;}}
81+
82+
/* The catalog's own search: filters the cards below as you type. */
83+
.hfc-search {
84+
display: block;
85+
width: min(560px, 100%);
86+
margin-top: 18px;
87+
padding: 12px 16px;
88+
border: 1px solid color-mix(in srgb, currentColor 18%, transparent);
89+
border-radius: 999px;
90+
background: color-mix(in srgb, currentColor 4%, transparent);
91+
color: inherit;
92+
font: inherit;
93+
font-size: 15px;
94+
}
95+
.hfc-search:focus-visible {
96+
outline: 2px solid color-mix(in srgb, currentColor 40%, transparent);
97+
outline-offset: 2px;
98+
}
99+
100+
/* Pause previews: the visitor's stop for the looping cards. */
101+
.hfc-gallery .hfc-pause {
102+
margin-top: 14px;
103+
padding: 7px 14px;
104+
border: 1px solid color-mix(in srgb, currentColor 22%, transparent);
105+
border-radius: 999px;
106+
background: transparent;
107+
color: inherit;
108+
font: inherit;
109+
font-size: 13px;
110+
cursor: pointer;
111+
}
112+
.hfc-gallery .hfc-pause:focus-visible {
113+
outline: 2px solid color-mix(in srgb, currentColor 45%, transparent);
114+
outline-offset: 2px;
115+
}

‎docs/changelog.mdx‎

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,90 @@ Recent HyperFrames releases, including user-facing features, fixes, and migratio
88

99
{/* New release entries are prepended by `bun run changelog:draft <version> --write`. */}
1010

11+
<Update
12+
label="HyperFrames v0.9.15"
13+
description="Released - 2026-11-05"
14+
tags={["Release", "Producer", "Core"]}
15+
>
16+
Local renders on FFmpeg 4 no longer turn a finished mix down by several dB when they match its length to the video. Motion blur can now choose when its shutter opens.
17+
18+
## Features
19+
20+
- **Core:** `data-motion-blur-phase` sets when the motion-blur shutter opens in each frame ([aace91b](https://github.com/heygen-com/hyperframes/commit/aace91b5ec0d937772f66ab06e63c5755e579646), [#6983](https://github.com/heygen-com/hyperframes/pull/6983)).
21+
22+
## Fixes
23+
24+
- **Render:** On FFmpeg 4, a mix already under the peak limit is no longer turned down by several dB when its length is matched to the video. Two near-identical mixes no longer land about 4 LU apart ([f6ae9bf](https://github.com/heygen-com/hyperframes/commit/f6ae9bfb43a4e4bee0d132a5ac2a0b1ce4bf383f), [#7199](https://github.com/heygen-com/hyperframes/pull/7199)).
25+
26+
[View the full commit range](https://github.com/heygen-com/hyperframes/compare/v0.9.14...v0.9.15).
27+
</Update>
28+
29+
<Update
30+
label="HyperFrames v0.9.14"
31+
description="Released - 2026-11-04"
32+
tags={["Release", "CLI", "Fonts", "Catalog"]}
33+
>
34+
Cloud renders no longer fail on common font styles, and they now carry the system fonts a project uses. A wedged render stops itself, and `check` no longer hangs on long videos.
35+
36+
## Features
37+
38+
- **CLI:** Cloud render carries the system fonts a project uses in its zip ([cba66f20a69c9](https://github.com/heygen-com/hyperframes/commit/cba66f20a69c9e929564a756852dac71c4c437de), [#7165](https://github.com/heygen-com/hyperframes/pull/7165)).
39+
40+
## Fixes
41+
42+
- **CLI:** Tell a failed billing checkout apart from a payment not finished in time ([60ca970ed60df](https://github.com/heygen-com/hyperframes/commit/60ca970ed60df041e95f7d9194561e412bbbaf45), [#7185](https://github.com/heygen-com/hyperframes/pull/7185)).
43+
- **Fonts:** Stop failing cloud renders on var() shorthands, font-X-400 names and linked font sheets ([af0c815c72b14](https://github.com/heygen-com/hyperframes/commit/af0c815c72b14bb3d70f6ef762012e87927dff6b), [#7166](https://github.com/heygen-com/hyperframes/pull/7166)).
44+
- **CLI:** Check copies only the stretch of a video it plays and stops after 2 minutes of copies ([c6f87f59b0c9a](https://github.com/heygen-com/hyperframes/commit/c6f87f59b0c9ab17fc704aa8609cfee5294a3951), [#7182](https://github.com/heygen-com/hyperframes/pull/7182)).
45+
- **CLI:** Report why a reverse session could not be recorded ([21e2038595047](https://github.com/heygen-com/hyperframes/commit/21e2038595047a1ab2dfb2c79489acbb7c94d519), [#7186](https://github.com/heygen-com/hyperframes/pull/7186)).
46+
- **CLI:** Check thins its craft samples when frames are slow, so the pass ends near 90 seconds ([be8122d0c4054](https://github.com/heygen-com/hyperframes/commit/be8122d0c4054c785fddb277b330267555080cd0), [#7183](https://github.com/heygen-com/hyperframes/pull/7183)).
47+
- **CLI:** A command waiting on the project lock says what it waits for ([00ea86570a8c8](https://github.com/heygen-com/hyperframes/commit/00ea86570a8c8dc60c66bb6018b4826844cac6a0), [#7184](https://github.com/heygen-com/hyperframes/pull/7184)).
48+
- **Engine:** A background image that never finishes decoding no longer stalls the frame ([73e65e2c7826b](https://github.com/heygen-com/hyperframes/commit/73e65e2c7826ba1e33382f1f09d66f4e115e3aaa), [#6972](https://github.com/heygen-com/hyperframes/pull/6972)).
49+
- **CLI:** A track with no beats answers an empty result, not an error ([cffd70f2f9b24](https://github.com/heygen-com/hyperframes/commit/cffd70f2f9b24475de0b772f028361cca7c0d551), [#7173](https://github.com/heygen-com/hyperframes/pull/7173)).
50+
- **Core:** A logo image no longer renders stretched to the frame bottom ([3d78ac0fa6671](https://github.com/heygen-com/hyperframes/commit/3d78ac0fa6671c31ba69186d084951aeb8dc8e18), [#7179](https://github.com/heygen-com/hyperframes/pull/7179)).
51+
- **CLI:** A wedged render trips its 60 s watchdog, one local render at a time, and fonts the cloud can't resolve are flagged ([d4e4b07e3cbc1](https://github.com/heygen-com/hyperframes/commit/d4e4b07e3cbc101eae5d1a59d858a113ea1cf6f1), [#7168](https://github.com/heygen-com/hyperframes/pull/7168)).
52+
53+
## Docs & Examples
54+
55+
- **Nav:** The docs menu button names the section you are in ([054cf4f119a76](https://github.com/heygen-com/hyperframes/commit/054cf4f119a769615a1c8ab8534a03447f914a01), [#7133](https://github.com/heygen-com/hyperframes/pull/7133)).
56+
- Drop the hidden add-a-transition button; hand-off now works on windows and linux ([97b805dcbdb11](https://github.com/heygen-com/hyperframes/commit/97b805dcbdb119454510ea3b10f8b5fa173b0ab1), [#7132](https://github.com/heygen-com/hyperframes/pull/7132)).
57+
- Say HyperFrames is free, and what the Studio app's Pro plan adds ([c3eb052545668](https://github.com/heygen-com/hyperframes/commit/c3eb052545668af14ab7578f964c5e7dacfdc6ce), [#7131](https://github.com/heygen-com/hyperframes/pull/7131)).
58+
59+
## Catalog
60+
61+
- **Catalog:** A search box over the cards; it fills the ?q= filter the gallery already reads ([b2b034fcd88f9](https://github.com/heygen-com/hyperframes/commit/b2b034fcd88f95dc52377279d556a9a8e3434885), [#7147](https://github.com/heygen-com/hyperframes/pull/7147)).
62+
63+
## Internal
64+
65+
- **Studio:** The studio-open journey counts the same thumbnails on every runner image ([2f321e0b0bb13](https://github.com/heygen-com/hyperframes/commit/2f321e0b0bb13eedefe3f8d206df33956347a809), [#7187](https://github.com/heygen-com/hyperframes/pull/7187)).
66+
- **Studio:** The timeline viewport gate runs one pinned Chrome build, not the runner's ([2679bcdee71aa](https://github.com/heygen-com/hyperframes/commit/2679bcdee71aa0b1d706fd845f399fa07fc2c48f), [#7180](https://github.com/heygen-com/hyperframes/pull/7180)).
67+
68+
[View the full commit range](https://github.com/heygen-com/hyperframes/compare/v0.9.13...v0.9.14).
69+
</Update>
70+
71+
<Update
72+
label="HyperFrames v0.9.13"
73+
description="Released - 2026-11-04"
74+
tags={["Release", "Producer", "Lint", "Studio Server"]}
75+
>
76+
A render that stalls while its pages load now retries with fewer workers instead of hanging. A full disk now says so, and splitting a clip that follows another clip cuts where it plays.
77+
78+
## Fixes
79+
80+
- **Producer:** Retry with fewer workers when every page times out loading ([04bc4737ad1d3](https://github.com/heygen-com/hyperframes/commit/04bc4737ad1d300e45c8ad3ebb220ebec1b7ed2d), [#7171](https://github.com/heygen-com/hyperframes/pull/7171)).
81+
- **Lint:** Flag a data-automation or data-fx-chain the render cannot read ([cd7b7383cb19c](https://github.com/heygen-com/hyperframes/commit/cd7b7383cb19c36d63e6d7ad039221bcaccce34a), [#7169](https://github.com/heygen-com/hyperframes/pull/7169)).
82+
- **Studio Server:** Splitting a clip that starts after another clip cuts where it plays ([0bbc9b2943ad6](https://github.com/heygen-com/hyperframes/commit/0bbc9b2943ad6d97edd4acd9b50bb8d648e208d2), [#7172](https://github.com/heygen-com/hyperframes/pull/7172)).
83+
- **Producer:** A drive that refuses frame links gets a copy, whatever code it refuses with ([845bd638a7784](https://github.com/heygen-com/hyperframes/commit/845bd638a7784d0859df047e16c61b8790b9a8bb), [#7163](https://github.com/heygen-com/hyperframes/pull/7163)).
84+
- **Engine:** A full disk during frame extraction says so, not that the video is broken ([ac1948a88b89a](https://github.com/heygen-com/hyperframes/commit/ac1948a88b89a2ef08d02d748f107d55e50d3f9c), [#7161](https://github.com/heygen-com/hyperframes/pull/7161)).
85+
- **CLI:** Address skills install and update hints to the person ([604a25fbaaba5](https://github.com/heygen-com/hyperframes/commit/604a25fbaaba5c3b9dac5deab1d51859fee2516c), [#7160](https://github.com/heygen-com/hyperframes/pull/7160)).
86+
- **CLI:** A failed run exits 1 when its output pipe closes early ([b3b6a8116bb58](https://github.com/heygen-com/hyperframes/commit/b3b6a8116bb58afd100d6a16a79d03310ad486f8), [#7158](https://github.com/heygen-com/hyperframes/pull/7158)).
87+
88+
## Docs & Examples
89+
90+
- Discord in the top bar and footer, and each Discord link tagged by where it sits ([21f2119194ffd](https://github.com/heygen-com/hyperframes/commit/21f2119194ffdf525ff9f423d67cf09e788afa6c), [#7153](https://github.com/heygen-com/hyperframes/pull/7153)).
91+
92+
[View the full commit range](https://github.com/heygen-com/hyperframes/compare/v0.9.12...v0.9.13).
93+
</Update>
94+
1195
<Update
1296
label="HyperFrames v0.9.12"
1397
description="Released - 2026-11-04"

‎docs/custom.css‎

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -503,11 +503,11 @@ samp {
503503
color: var(--hf-heading);
504504
}
505505

506-
#navbar .nav-tabs-item[aria-current] {
507-
background: var(--hf-brand-soft);
508-
box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--hf-brand) 55%, transparent);
506+
/* Mintlify marks the current tab with aria-current, except the Docs dropdown, which gets .text-primary instead */
507+
#navbar .nav-tabs-item[aria-current],
508+
#navbar .nav-tabs-item.text-primary {
509+
background: color-mix(in srgb, var(--hf-heading) 9%, transparent);
509510
color: var(--hf-heading) !important;
510-
font-weight: 600;
511511
}
512512

513513
#navbar .nav-tabs-item:focus:not(:focus-visible) {
@@ -1421,12 +1421,6 @@ h2 { clear: both; }
14211421
-webkit-backdrop-filter: blur(20px);
14221422
}
14231423

1424-
@media (min-width: 1024px) {
1425-
#navbar .nav-tabs-item.text-primary {
1426-
background: var(--hf-chip);
1427-
}
1428-
}
1429-
14301424
/* Headlines: hyperframes.dev's heavy, tight TT Norms. */
14311425
#page-title {
14321426
font-size: clamp(2.25rem, 4vw, 3.5rem);

‎docs/docs-menu-label.js‎

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
// The top bar's "Docs" menu holds three sections with their own sidebars (docs.json, navigation.tabs[0].menu). Once a
2+
// visitor is inside one, the bar still says "Docs" and two of the sidebars both start with "Start here", so nothing on
3+
// the page says which section this is. This names the open section in the menu's own button ("Studio app ▾"), the way
4+
// a picker shows what is picked. Mintlify runs every .js file in docs/ on every page
5+
// (mintlify.com/docs/customize/custom-scripts). A section is known by its first page, which only its sidebar links to;
6+
// keep these in step with docs.json. Anywhere else (Catalog, a page in no section) the button keeps "Docs".
7+
(function () {
8+
var MENU = "Docs";
9+
var SECTIONS = [
10+
{ name: "Studio app", firstPage: "/studio-app" },
11+
{ name: "Developers", firstPage: "/developers/overview" },
12+
{ name: "Make a video", firstPage: "/introduction" },
13+
];
14+
15+
var NAMES = [MENU].concat(
16+
SECTIONS.map(function (section) {
17+
return section.name;
18+
}),
19+
);
20+
21+
// The button's own text node, renamed in place: React keeps its node, so its next update of the bar still works.
22+
function menuLabel() {
23+
var buttons = document.querySelectorAll("#navbar button.nav-tabs-item[aria-haspopup=menu]");
24+
for (var i = 0; i < buttons.length; i++) {
25+
var walker = document.createTreeWalker(buttons[i], NodeFilter.SHOW_TEXT);
26+
for (var node = walker.nextNode(); node; node = walker.nextNode()) {
27+
if (NAMES.indexOf(node.nodeValue.trim()) !== -1) return node;
28+
}
29+
}
30+
return null;
31+
}
32+
33+
function openSection() {
34+
var sidebar = document.getElementById("sidebar-content");
35+
if (!sidebar) return null;
36+
for (var i = 0; i < SECTIONS.length; i++) {
37+
if (sidebar.querySelector('a[href="' + SECTIONS[i].firstPage + '"]')) return SECTIONS[i].name;
38+
}
39+
return null;
40+
}
41+
42+
function update() {
43+
var label = menuLabel();
44+
if (!label) return;
45+
var text = openSection() || MENU;
46+
if (label.nodeValue !== text) label.nodeValue = text;
47+
}
48+
49+
// Mintlify swaps pages without a reload and redraws the bar, so the label is set again after the page changes, at
50+
// most once a frame.
51+
var queued = false;
52+
new MutationObserver(function () {
53+
if (queued) return;
54+
queued = true;
55+
requestAnimationFrame(function () {
56+
queued = false;
57+
update();
58+
});
59+
}).observe(document.documentElement, { childList: true, subtree: true });
60+
update();
61+
})();

‎docs/docs.json‎

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -326,13 +326,13 @@
326326
"item": "Community",
327327
"icon": "users",
328328
"description": "Videos people made",
329-
"href": "https://hyperframes.studio/?view=community"
329+
"href": "https://hyperframes.studio/?view=community&src=docs-navbar"
330330
},
331331
{
332332
"item": "App changelog",
333333
"icon": "sparkles",
334334
"description": "What's new in the app",
335-
"href": "https://hyperframes.studio/changelog"
335+
"href": "https://hyperframes.studio/changelog?src=docs-navbar"
336336
}
337337
]
338338
},
@@ -1012,8 +1012,7 @@
10121012
"socials": {
10131013
"github": "https://github.com/heygen-com/hyperframes",
10141014
"discord": "https://discord.gg/7uMDe3PwQn",
1015-
"x": "https://x.com/HeyGen",
1016-
"instagram": "https://www.instagram.com/heygen_official/"
1015+
"x": "https://x.com/HyperFrames_"
10171016
},
10181017
"links": [
10191018
{
@@ -1058,14 +1057,23 @@
10581057
"href": "/product-updates"
10591058
},
10601059
{
1061-
"label": "Download the Studio app",
1060+
"label": "Download the app",
10621061
"href": "https://hyperframes.studio/studio/download?src=docs-footer"
10631062
},
10641063
{
10651064
"label": "GitHub",
10661065
"href": "https://github.com/heygen-com/hyperframes"
10671066
}
10681067
]
1068+
},
1069+
{
1070+
"header": "Made by HeyGen",
1071+
"items": [
1072+
{
1073+
"label": "heygen.com",
1074+
"href": "https://www.heygen.com"
1075+
}
1076+
]
10691077
}
10701078
]
10711079
},

0 commit comments

Comments
 (0)