2062 Commits
Author SHA1 Message Date
Miguel Ángel 028ab75535 chore: release v0.9.59 (#7973) 2026-11-17 00:10:38 +00:00
Miguel Ángel c77cd301c8 fix(studio): a long audio file from outside the project is never decoded for its waveform (#7961) 2026-11-16 17:20:32 +00:00
Miguel Ángel 51ae925105 feat(core): describe replies carry the picker's element label, and studio exports standInHandle (#7936)
* feat(core): describe replies carry the picker's element label, and studio exports standInHandle

* fix(core): label an element by its rendered text, and read a describe reply without a label

* style(core): format the rendered-text walk
2026-11-16 16:10:26 +00:00
Miguel Ángel 87955b890e fix(studio): beat analysis never picks a recording longer than a song (#7944)
* fix(studio): beat analysis never picks a recording longer than a song

* fix(studio): a long music track keeps its saved beats; the cap judges the file alone

* fix(studio): a music track's beat edits survive its file length arriving
2026-11-16 16:10:12 +00:00
Miguel Ángel 725d13bb1d chore: release v0.9.58 (#7932) 2026-11-16 15:15:30 +00:00
Miguel Ángel b741ecf132 feat(studio): a sealed preview frame forwards Studio's playback keys (#7844)
* feat(studio): a sealed preview frame forwards Studio's playback keys

* fix(core): a key held while Studio re-sends its watch list still forwards its keyup

* fix(core): the key watch adds and removes its listeners by name, as the runtime typecheck needs

* chore(producer): raise the unpacked size budget for the runtime's key forwarding
2026-11-16 08:09:03 +00:00
Miguel Ángel 889143eac9 fix(core): a color-graded video's dissolve and wipe play in preview and export (#7756)
* fix(core): a graded video's opacity animation reaches its export

* fix(core): a graded clip keeps its own clip-path, so it never renders black

* test(producer): golden render of graded video dissolve and wipe

* fix(core): a graded clip stays clickable in the preview, hidden by a filter not a clip

* chore(studio): drop an import the reader no longer uses, and format the graded fixture
2026-11-16 07:06:33 +00:00
Miguel Ángel 1e040f6fef fix(studio): the preview picture takes its box's size in the same frame, scaled or not (#7907)
* fix(studio): the preview picture takes a new box size in the same frame

The preview stage measured its box in a ResizeObserver and stored the size
in React state, which rendered a frame later. A box that grows at once (the
window going full screen) painted one frame with the old, small picture, and
macOS animated that frame for its whole full-screen transition.

* fix(studio): the preview picture takes a new box size in the same frame

* fix(studio): the preview picture is sized from its box's layout, not its on-screen rect

* style(studio): format the preview stage size test
2026-11-16 06:27:15 +00:00
Miguel Ángel 1b29623f18 chore: release v0.9.57 (#7921) 2026-11-16 06:16:47 +00:00
Miguel Ángel dab8dc8070 fix(studio): a host that shows a still gets a preview reload with one page at a time (#7905)
* fix(studio): a host that shows a still gets a preview reload with one page at a time

A full reload kept the live page beside the reload's own until it was promoted, so a heavy project held two
whole pages at once. A host that can show the live frame as a still (holdPreviewStill) now has the live page
dropped behind it while the reload's page loads alone; the still goes once the new page shows the live time,
and a reload that gives up brings the live page back at its time. With no still, nothing changes.

* fix(studio): keep the reload hook's comment share at the base

* fix(studio): pause before the still so a held reload resumes from the frame it shows

* fix(studio): drop a give-up's still on the live page's own load, not a polled load event

* fix(studio): a host that throws while taking the still falls back to the two-page reload
2026-11-16 05:21:00 +00:00
Miguel Ángel 2be03408db fix(studio): recovery drafts are kept by each project's own server, never the browser (#7904)
* fix(studio): recovery drafts are kept by each project's own server, never the browser

* fix(studio): a restored draft stays offered when Studio settles which composition is open

* fix(studio): a draft read never waits on a pipe or loads an oversized record

* test(studio): the draft read's child fixture is an entry point, and its note sits in the test

* chore(studio-server): size budget covers the recovery-draft route

* chore(cli): unpacked size budget covers the recovery-draft route
2026-11-16 04:48:52 +00:00
Miguel Ángel a0848ad353 feat(studio): export a sealed preview's checked element reads and stand-ins (#7918)
* feat(studio): export a sealed preview's checked element reads and stand-ins

* refactor(studio): drop the comment on the sealed preview exports
2026-11-16 03:33:02 +00:00
Miguel Ángel 79990aed9a chore: release v0.9.56 (#7915) 2026-11-16 03:29:27 +00:00
Miguel Ángel 846cce4891 fix(cli): the CLI trusts a preview only once it proves this user started it (#7899)
* fix(cli): the CLI trusts a preview only once it proves this user started it

* test(cli): a listener that cannot prove it is the user's preview is never trusted

* test(cli): stand-in previews answer the challenge as the user's own do

* style(cli): format the preview proof changes

* fix(cli): a preview's proof names its own endpoint and config, and the token file must be private

* style(cli): format the proof changes

* test(studio): the fake request in the host check has a socket, as every real one does

* fix(studio): a Studio started by hand proves it is the user's, so the CLI still finds it

* fix(cli): the challenge travels in a header, so Studio's routes keep their exact paths

* style(studio): keep the config producer compact
2026-11-16 03:15:26 +00:00
Xuanru Li 1e542956d9 fix(studio): take playback posts from a preview its server sandboxed (#7815)
A preview made opaque by its server (Content-Security-Policy: sandbox) under a
frame with no sandbox attribute posts as null. frameOrigins now accepts null
for such a frame, only from that frame's own window and only while its window
refuses reads.
2026-11-16 01:23:09 +00:00
Michael Wang b650d0d198 fix(studio): keep a host's sandbox-origin seal on the preview frame (#7886) 2026-11-16 01:01:13 +00:00
Michael Wang 4067efc454 fix: present refuses other sites' framing; Studio preview reads only its own frame's messages (#7877)
* fix(studio): the preview reads hf-preview messages only from its own frame

The preview message router acted on a message with no sender window, and on
any message that arrived before the preview frame existed. It now takes an
hf-preview message only when the preview frame exists, the message comes from
that frame's window, and its origin is one the frame can have: the page's own
origin, or "null" for a sealed frame. The element picker checks the same.

* fix(cli): present sandboxes deck pages another site loads and refuses framing by other sites

present now applies the same another-site decision as play to its
/composition/* route: a load by another site gets a sandbox CSP, its
validators are dropped, and the document is marked so its runtime offers
that site no editing port. Every present response also sends
frame-ancestors 'self' and X-Frame-Options SAMEORIGIN, so only the
presenter page itself can frame the deck. The route setup moves into
buildPresentApp so tests exercise the server as run() builds it.
2026-11-16 00:30:46 +00:00
Miguel Ángel 894f0808b3 chore: release v0.9.55 (#7864)
* chore: release v0.9.55

* chore: release v0.9.55 notes include #7830

* chore: release v0.9.55 notes include #7859 and #7867

* chore: release v0.9.55 notes name the docs change and cloud render

* chore: release v0.9.55 notes include #7866 and #7801

* chore: release v0.9.55 notes match the style bar
2026-11-15 22:33:02 +00:00
Miguel Ángel 1f17b3dfeb fix(studio): a sealed preview's reload asks under one current frame token (#7862) 2026-11-15 20:22:28 +00:00
Miguel Ángel ae5829db7e fix(studio-server): a sealed preview's wait for a video's proxy copy passes its preflight (#7856) 2026-11-15 19:50:59 +00:00
Miguel Ángel 064c436557 chore: release v0.9.54 (#7850)
* chore: release v0.9.54

* chore: release v0.9.54 notes include #7827, #7825, #7845, #7848 and #7849

* chore: release v0.9.54 notes include #7853

* chore: release v0.9.54 notes include #7851 and #7855
2026-11-15 19:17:45 +00:00
Miguel Ángel 3a4f572523 feat(studio): hosts can share the preview's editing-port client (#7811) 2026-11-15 17:16:15 +00:00
Miguel Ángel a73ecff2be feat(studio): hosts can seal the preview frames NLEPreview draws (#7817)
* feat(studio): hosts can seal the preview frames NLEPreview draws

* refactor(studio): Player builds its frame src in a helper, keeping its complexity at main's
2026-11-15 17:15:24 +00:00
Miguel Ángel 5341d7255c feat(studio): the console errors panel reads a sealed preview over its editing port (#7824) 2026-11-15 17:14:34 +00:00
Miguel Ángel 39dc1e232d fix(studio): GSAP keyframe and 3D previews stop throwing on a sealed preview (#7833) 2026-11-15 17:13:42 +00:00
Miguel Ángel ce18c3a102 chore: release v0.9.53 (#7841)
* chore: release v0.9.53

* chore: release v0.9.53 notes include #7836 and #7839

* chore: release v0.9.53 notes include #7840 and #7843
2026-11-15 15:50:38 +00:00
Miguel Ángel ef42bef9c3 refactor(core): Studio's key combo and typing-target rules live in core (#7835)
* refactor(core): Studio's key combo and typing-target rules live in core

* chore(core): raise the packed size budget for the key-combo and typing-target subpaths
2026-11-15 15:42:04 +00:00
ClippyandClaude Opus 5.5 beeb17e85a fix(deps): bump @mcp-b/global to 6.1.0 to clear @modelcontextprotocol/server advisories (#7742)
* fix(deps): bump @mcp-b/global to 6.1.0 to clear @modelcontextprotocol/server advisories

@mcp-b/global 5.x and 6.0.x pin @modelcontextprotocol/server 2.0.0, which is
affected by GHSA-f897-62hf-6gxq, GHSA-46jr-4wx8-v453, GHSA-jm63-cq47-j5jp and
GHSA-rvq5-wwqv-78pq (>=2.0.0 <2.3.0). 6.1.0 is the first release that pins
server 2.4.0.

6.x installs the W3C WebMCP polyfill and passes { signal } to execute; the
real-package tests now drive the 6.x surface (secure context, MCP tools/call).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* test(studio): close the WebMCP polyfill after the real-package suite

6.x's BrowserMcpServer sends a tools-changed event on a timer after the
last tool unregisters. Without cleanupWebModelContext() it fired after jsdom
teardown and vitest failed the run on an unhandled rejection. Also scope the
transport test's header to the MCP transports it actually checks.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 05:42:08 +00:00
Miguel Ángel ad3a2389ee chore: release v0.9.52 (#7800) 2026-11-14 21:38:34 -05:00
Miguel Ángel b5f5ab36a1 fix(studio): menu row highlight follows the menu's corner (#7791)
* fix(studio): menu row highlight follows the menu's corner

* fix(studio): keep the menu row's comment share flat

* fix(studio): export the menu row class so hosts reuse it
2026-11-14 21:20:03 -05:00
Miguel Ángel cb15cb0e54 chore: release v0.9.51 (#7799) 2026-11-14 21:09:12 -05:00
Miguel Ángel 5e0577f124 chore: release v0.9.50 2026-11-14 19:39:50 -05:00
Miguel Ángel fd7217c8af chore: release v0.9.49 (#7767) 2026-11-14 18:15:46 -05:00
Miguel Ángel f33f137b2d chore: release v0.9.48 (#7761) 2026-11-14 17:04:22 -05:00
Miguel Ángel 5aea6d5b68 Merge pull request #7754 from heygen-com/release/v0.9.47
chore: release v0.9.47
2026-11-14 14:48:31 -05:00
karl songcuan a03e85f43a feat(studio): press ? to open the keyboard shortcuts panel (#7478)
* feat(studio): press ? to open the keyboard shortcuts panel

Adds a rebindable `shortcuts` action bound to `?` (Shift+/) that toggles
the shortcuts panel; Esc still closes it. The key is ignored while focus
is in an input, textarea or contenteditable, and the panel lists `?`
under Panels.

Refs heygen-com/hyperframes#5580

* docs(studio): document the ? shortcut for the shortcuts panel
2026-11-14 18:55:54 +00:00
Miguel Ángel f7f2c535be fix(studio): a refused edit names the file and why, on every edit path (#7749)
* fix(studio): a refused edit names the file and why, on every edit path

* fix(studio): freeze frame and caption save name a refused file too
2026-11-14 18:44:45 +00:00
Miguel Angel Simon Sierra 2f46a88dea chore: release v0.9.47 2026-11-14 12:13:11 -05:00
Miguel Ángel b723874462 fix(studio): HEVC with long-term reference pictures keeps its pixel aspect ratio (#7739)
* fix(studio): HEVC with long-term reference pictures keeps its pixel aspect ratio

* style(studio): format the HEVC SPS test
2026-11-14 15:29:22 +00:00
Miguel Ángel 43132411c8 chore: release v0.9.46 (#7732) 2026-11-14 13:40:20 +00:00
Miguel Ángel fe8d93056c chore: release v0.9.45 (#7729) 2026-11-14 09:45:48 +00:00
Miguel Ángel 58ef24c6d8 chore: release v0.9.44 (#7708) 2026-11-14 06:22:47 +00:00
Miguel Ángel 690b07e455 feat(studio): toasts show as a centred pill that rises in (#7714)
* feat(studio): toasts show as a centred pill that rises in

* fix(studio): error toasts stay up on a click so their text can be copied
2026-11-14 04:15:03 +00:00
Miguel Ángel 062515bfa9 fix(studio): menus and popovers ease their scale in, not only their opacity (#7583)
* fix(studio): menus and popovers ease their scale in, not only their opacity

* style(studio): format the floatingMotion test
2026-11-14 03:37:05 +00:00
Miguel Ángel f207f612f1 perf(studio): scale timeline strip frames off the main thread (#7651) 2026-11-14 03:05:19 +00:00
Miguel Ángel cb072eb047 fix(studio): edit clips added to a project outside Studio (#7686)
* fix(studio): edit clips added to a project outside Studio

A clip written into a composition after its ids were last stamped (a hand
edit, an outside agent) has a data-hf-id only in the served preview. The
timeline's client-side patch looked that id up in the file's raw bytes, so
Hide, Mute, move, resize and attribute saves failed with "Unable to patch
timeline element ... (by hf-id; no file on the clip)".

Resolve the target against the file stamped in place the way the preview
stamps it, as the server's own saves and the GSAP save already do. The save
then persists that id.

* fix(studio): save volume on several clips added outside Studio

The multi-clip attribute save (gain or volume on a selection) patched each
clip in the file's raw bytes, so a clip with no ids on disk was skipped and
the save reported success with nothing written.

The by-target read and patch helpers now resolve a clip by the id the
preview served it with, so every caller finds it. The multi-clip save goes
through the same batch patch as the other timeline saves, which refuses a
clip the file does not hold; the error reaches the person instead of a
silent no-op. The preview picker finds the file holding an unstamped
element the same way.
2026-11-14 02:48:59 +00:00
Miguel Ángel 45882027bd feat(cli): check warns when text leaves the 9:16 social safe areas (#7680)
* feat(cli): check warns when text leaves the 9:16 social safe areas

* feat(core): safe areas owned by core; check adds --safe-zone standard

* style(cli): format

* refactor(core): name the safe-area band fields

* fix(cli): defects outrank safe-zone warnings at the issue cap

* style(cli): format

* test: read the safe-box constants from core
2026-11-14 02:00:15 +00:00
Miguel Ángel c727e890f2 chore: release v0.9.43 (#7664) 2026-11-13 22:42:53 +00:00
James RussoandClaude Opus 5.5 6bdf929164 feat(studio): drag and resize on an opaque preview start from one gesture-start read (#7657)
* feat(studio): drag and resize on an opaque preview start from one gesture-start read

A gesture on a preview frame Studio cannot script read nothing from the
frame as it started. A drag snapped to nothing; a layer GSAP holds moved by
a CSS translate that its save then dropped; a resize grew from the overlay
rect, the layer's GSAP scale included; and the pointer reached the element
only through the canvas zoom.

The runtime answers a new `gesture-start` request. For each pressed element
it gives the overlay geometry, the transform-free layout size, how far the
centre moves per px of translate (probed the way a draft draws it, every
transform above it applied), and GSAP's x/y when GSAP owns its position,
with whether a tween moves it. It also lists the boxes of the page the
gesture can snap to, walked by the rule Studio's own snap collection now
takes from core.

On an opaque preview every press waits for that one read, on the existing
waiting-press path, and the gesture starts from it: the snap targets, the
move route and GSAP base (so the save writes GSAP's x plus the drag, not the
drag alone), the pointer-to-offset matrix, and the resize's base size. A
layer a tween moves is refused with a notice, since saving that move still
reads the frame.

Same-origin frames do not change: their presses start at once from the
element, and their snap collection walks the same elements by the same rule.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* chore(inspector): raise the packed size budget for the gesture-start runtime

The inspector bundles core's preview runtime. Main alone packs to 866206
bytes, 420 under the 1% tolerance on the old 858046 budget; the
gesture-start request adds 713 bytes (866919), which tipped the merge
queue's Build over. Set the budget to 880000 to leave room for the
remaining opaque-preview requests.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 19:42:26 +00:00
Miguel Ángel 30c0935a24 chore: release v0.9.42 (#7655) 2026-11-13 17:54:21 +00:00