2154 Commits
Author SHA1 Message Date
Miguel Ángel a86ad213ed chore: release v0.9.77 (#8360) 2026-11-21 08:25:09 +00:00
Miguel Ángel bf966b0cf3 chore: release v0.9.75 (#8343) 2026-11-21 04:47:22 +00:00
Miguel Ángel 06ba53b7c5 fix(studio): the Layers panel shows the undone order after an in-place undo (#8328)
* test(studio): the layers panel lists an in-place undo's new stacking order

* fix(studio): the layers panel re-reads its rows when an undo lands in place

* test(studio): an undo shown in place is announced once on every path

* test(studio): an unsealed in-place undo keeps the selection and its box

* test(studio): split the layers test's element setup out of its layer builder

* fix(studio): keep the layers panel within its size limit

* test(studio): fake preview frames take the in-place announce a real iframe does

* fix(studio): panels re-read an undone preview after the undo's write lands

* test(studio): a refused write and a sealed undo still announce the in-place restore
2026-11-21 04:44:58 +00:00
Miguel Ángel 80d968a94c chore: release v0.9.74 (#8338) 2026-11-21 01:44:02 +00:00
Miguel Ángel ca91e800e2 fix(studio): a clip dropped on a sealed preview shows on the timeline (#8330)
A reloaded film posts its clip list while it loads hidden, so the router,
which only hears the live frame, drops it. A sealed frame then goes live with
no way to read its manifest off the window, and the timeline keeps the old
clips. The router now reads the clip list of a live frame it has not heard
from: off the window, or over the editing port for a sealed frame.
2026-11-21 00:30:03 +00:00
Miguel Ángel 047bd87dc9 chore: release v0.9.73 (#8277)
* chore: release v0.9.73

* docs(release): add main's later fixes to the v0.9.73 notes

* docs(release): add main's newest fixes to the v0.9.73 notes

* docs(release): add main's latest fixes to the v0.9.73 notes
2026-11-20 17:32:37 -05:00
Miguel Ángel 5f024e34e2 fix(studio): thumbnails of compositions with no code of their own load in under a second (#8316)
* fix(studio): thumbnails of compositions with no code of their own load in under a second

Both thumbnail paths (the CLI's preview server and Studio's dev server) waited up to 5 s for
a GSAP timeline before shooting a card. A composition with no script never registers one, so
each of its cards took the full 5 s, and the route shoots one card at a time, so the third
card came at about 16 s.

The wait cannot simply go: a composition may register its timeline late, in a timer or a
load handler, after the runtime is ready, and shooting it then shows the wrong moment.

So the preview route now marks the page a thumbnail loads when nothing on it can register a
timeline: no script but Studio's own (the runtime, GSAP core, an import map, the registry
line), no inline event handler, frame, template or child composition loaded at run time, and
no Studio motion. A marked page is shot once the runtime is ready. Every other page is held
for its timeline exactly as before.

The rule lives once, in studio-server, and both thumbnail paths wait on it.

fails without the fix: "is skipped for a composition with no code of its own" and "holds for
a composition whose script registers its timeline late"
(packages/studio-server/src/routes/preview.thumbnailMark.test.ts), "thumbnailSeekReadyInBrowser"
(packages/studio-server/src/helpers/screenshotClip.test.ts), "hasAuthoredCode"
(packages/studio-server/src/helpers/authoredCode.test.ts), and "holds a thumbnail's shot on
the thumbnail readiness rule" (packages/cli/src/server/studioServer.test.ts and
packages/studio/vite.browser.test.ts).

* test(studio-server): the thumbnail mark test builds its page from elements, not parsed text

The test read the served page back through DOMParser and innerHTML to hand its metas to the
readiness rule, which code scanning reports as DOM text reinterpreted as HTML. It now finds
the served page's meta tags with the compiler's own tag scanner and creates each one as an
element, so no text is parsed as markup.

Also adds a row to the code check's table: a script inside an inline SVG counts as code.

fails without the fix: "is skipped for a composition with no code of its own"
(packages/studio-server/src/routes/preview.thumbnailMark.test.ts) still fails when the route
writes no mark.
2026-11-20 21:19:26 +00:00
Miguel Ángel 8d5863cfb2 test(studio): a sealed preview's reload waits for a resize on its stand-in to end (#8222)
* fix(studio): a scene edit swaps in place and a far scene mounts for selection in a sealed preview

* test(studio): a sealed undo that reloads marks its scenes stale first

* fix(studio): a timing drag moves the animation in place in a sealed preview

* fix(studio): a sealed timing drag moves the clip's window and the film length with its tweens

* test(studio): the sealed retime test checks both requests were sent before comparing them

* refactor(studio): the sealed live retime code passes the quality audit

* style(core): format the sealed live retime parser

* fix(studio): a reload waits for a drag to end in a sealed preview

* refactor(studio): manual edit gesture tracking lives in its own module

* test(studio): a sealed preview's reload waits for a resize on its stand-in to end
2026-11-20 21:15:14 +00:00
Miguel Ángel 6a15e8af9e fix(studio): text fields and text edits work in a sealed preview (#8156)
* test(studio): text fields and text edits in a sealed preview

* fix(studio): text fields and text edits work in a sealed preview

* refactor(core): shorter notes on edit-element markup

* refactor(studio): name the sealed text edit's steps so the code audit passes

* refactor(studio): share the text commits' steps and split the put-back check

* refactor(studio): say the sealed text edit's steps in names, not comments
2026-11-20 20:53:16 +00:00
Miguel Ángel aa05198583 fix(studio): a reload waits for a drag to end in a sealed preview (#8164)
* fix(studio): a scene edit swaps in place and a far scene mounts for selection in a sealed preview

* test(studio): a sealed undo that reloads marks its scenes stale first

* fix(studio): a timing drag moves the animation in place in a sealed preview

* fix(studio): a sealed timing drag moves the clip's window and the film length with its tweens

* test(studio): the sealed retime test checks both requests were sent before comparing them

* refactor(studio): the sealed live retime code passes the quality audit

* style(core): format the sealed live retime parser

* fix(studio): a reload waits for a drag to end in a sealed preview

* refactor(studio): manual edit gesture tracking lives in its own module
2026-11-20 20:13:38 +00:00
Miguel Ángel 2b0294b735 fix(studio): a sealed crop frame turns with its layer (#8310)
* fix(studio): a sealed crop frame turns with its layer, before a press and after a scrub

* refactor(studio): the crop handles hand a sealed card's earlier press layout to the crop frame

* fix(studio): keep the frame's raw planar out of a parsed gesture start
2026-11-20 19:34:36 +00:00
Miguel Ángel 7b2c6dc1ad fix(studio): paste refuses an element with an event handler or a script link (#8298)
* test(studio): pasting a preview's own element keeps only markup that runs no code

* fix(studio): paste refuses an element with an event handler or a script link

* fix(studio): paste checks only markup that is not in the saved file

* test(studio): paste refuses code in elements and in links spelled to slip past

* fix(studio): paste refuses scripts, inline frames and links a browser would read as script

* refactor(studio): one owner for markup safety and the saved-or-live copy plumbing

* refactor(studio): keep the saved-markup helpers private to their module

* test(studio): clipboard text cannot mark a pasted clip as saved

* fix(studio): clipboard text cannot mark a pasted clip as saved
2026-11-20 19:06:46 +00:00
Miguel Ángel 99fcdfb5c1 fix(studio): the first edit of a film without ids no longer reloads the preview (#8274)
* test(studio): the first save of a film without ids writes the ids the preview served

* fix(studio): the first edit of a film without ids saves the preview's ids, so it does not reload
2026-11-20 18:50:13 +00:00
Miguel Ángel 6cf81c6689 fix(studio): a timing drag moves the animation in place in a sealed preview (#8163)
* fix(studio): a scene edit swaps in place and a far scene mounts for selection in a sealed preview

* test(studio): a sealed undo that reloads marks its scenes stale first

* fix(studio): a timing drag moves the animation in place in a sealed preview

* fix(studio): a sealed timing drag moves the clip's window and the film length with its tweens

* test(studio): the sealed retime test checks both requests were sent before comparing them

* refactor(studio): the sealed live retime code passes the quality audit

* style(core): format the sealed live retime parser
2026-11-20 18:49:29 +00:00
Miguel Ángel 0ecb6671f1 test(studio): a test chrome launch that fails with a non-error names what it holds (#8305) 2026-11-20 18:46:16 +00:00
Miguel Ángel 44d805c444 fix(studio): a host can own the live preview's load deadline, so a slow sealed film isn't an error (#8206)
* test(studio): a sealed preview whose film boots after 8 s comes ready without an error

* test(studio): wait for the sealed player to mount before reading it

* fix(studio): a host can own the live preview's load deadline, so a slow sealed film isn't an error
2026-11-20 18:46:00 +00:00
Miguel Ángel 3c735ad01c fix(studio): a sealed audio group's undo reads the frame's reply only in its shape (#8291)
* test(studio): a sealed audio group's undo survives a reply of the wrong shape

* fix(studio): a sealed audio group's undo reads the frame's reply only in the shape it asked for
2026-11-20 15:32:56 +00:00
Wenbo ZhuandClaude Opus 5.5 4e3c960457 fix(cli): preview answers unknown paths with an inert refusal, not the Studio shell (#8161)
* fix(cli): preview answers unknown paths with an inert refusal, not the Studio shell

Studio routes by location.hash only, yet the preview server answered every
unknown GET with the Studio shell (200, same origin, query kept). An OAuth
redirect to the preview port (/oauth/callback?code=...&state=...) therefore
re-mounted the project, and project script read the code from the address.

The shell is now served only at / and /index.html. Any other path gets a
plain-text 404, and a request carrying `code` or `state` at any path (entry
and preview routes included) gets a plain-text 400. Both carry a sandbox CSP
(opaque origin), COOP same-origin, frame-ancestors 'none' / X-Frame-Options
DENY, nosniff, no-referrer and no-store, and never echo the request.

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

* fix(studio): preview's Vite modes refuse an OAuth return too

`preview` from a source checkout (dev mode) and with the local studio
(HYPERFRAMES_LOCAL_STUDIO=1) run packages/studio/vite.config.ts, whose SPA
fallback served the Studio shell at /oauth/callback?code=... with no COOP or
sandbox. devProjectApi now refuses a `code` or `state` at any path as its
first middleware, with the same inert response as the embedded server.

The refusal moves to @hyperframes/studio-server so both servers share one
helper.

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 14:31:56 +00:00
Miguel Ángel 9b7be276a9 fix(studio): a sealed resize of a layer whose GSAP keyframes animate its width saves (#8288)
* fix(studio): a sealed resize of a keyframed size keeps the box's other side

* fix(studio): say where a sealed resize's pre-gesture box comes from

* refactor(studio): read a resize's pre-gesture box one side at a time
2026-11-20 14:02:07 +00:00
Miguel Ángel 468ab907ee fix(studio): a sealed move, resize or turn takes GSAP's route when GSAP animates the layer (#8286)
* fix(studio): a sealed move, resize or turn takes GSAP's route when GSAP animates the layer

* fix(studio): a live layer's route is decided at once, and a turn the press routed keeps it

* fix(studio): a sealed resize's anchor move waits for the frame's GSAP read before choosing CSS
2026-11-20 11:12:47 +00:00
Miguel Ángel 89edb0af00 fix(studio): a sealed resize, move or turn typed or made by the agent shows in the preview (#8283)
* fix(studio): a sealed resize, move or turn typed in or made by the agent shows in the preview

* test(studio): a sealed geometry save leaves the frame to a live drag draft
2026-11-20 10:03:39 +00:00
Miguel Ángel c34df57abd fix(studio): agent tools see the film in a sealed preview (#8281)
* fix(studio): agent tools read a sealed preview through its runtime

* test(studio): agent tool tests build selections from live elements

* test(studio): agent tools on a sealed preview look, select, inspect, write and read back

* test(studio): resolver and tool tests find elements through the preview read

* test(studio): the socket-pool walk waits for studio_look's ready scene
2026-11-20 09:29:25 +00:00
Miguel Ángel a755e3f585 fix(studio): a sealed crop lands where it was dragged (#8279)
* fix(studio): a sealed crop of a turned or scaled layer saves the crop an unsealed one saves

* fix(studio): a sealed style edit shows on the selection at once, so a crop stays where it was let go

* fix(studio): a sealed undo restored in place re-reads the selection, so it shows the undone edit
2026-11-20 08:24:02 +00:00
Ular Kimsanov 2c3427089c fix(share): ask before sharing from Studio and bind each action to the confirmed review (#8268)
* fix(share): ask before sharing from Studio, naming the review it changes

A composition's script runs on Studio's origin by default, and a received
folder's .hyperframes/review.json can point Studio at an existing review.
Every share action except sign-in now asks the person first, naming the
review (its link), who can open it, the workspace and whether project files
are uploaded. The request carries the manage link of the review that was
shown, and the server refuses it with share_target_changed when the
project's review no longer matches, so nothing is shared or changed.

* fix(share): bind each Studio share action to the review id the person confirmed

Studio now gets the id and title of the review an action reaches, including a folder
whose record names a review it never opened (a received folder can ship one). The
confirmation names that review, its workspace and who can open it, and says plainly
when a folder arrives already linked. Actions carry the confirmed id; a missing one is
refused as confirmation_required and a different one as share_target_changed, and
after that refusal Studio drops the earlier choice. The docs describe the
confirmation and that project files are included only when chosen.

* fix(share): show the review title on one quoted line in the confirmation

* fix(share): say a linked share also sets who can open it, and check the new state fields

* fix(share): separate the question from the details and say when a title is unknown

* docs(share): name the review record without a path the citation check reads as a file
2026-11-20 06:02:05 +00:00
Miguel Ángel fdc7d676c4 fix(studio): a sealed preview turns a rotated element live and saves the turn on its own route (#8271)
* fix(studio): a sealed preview turns a rotated element live and saves the turn on its own route

* fix(studio): a sealed rotate regrabbed mid-save cancels to where it started on the frame too

* refactor(studio): keep the gesture handlers file under the size limit
2026-11-20 05:50:24 +00:00
Miguel Ángel 4fd96e3533 fix(studio): a sealed undo or redo of a keyframe edit re-runs in place instead of reloading (#8272) 2026-11-20 05:24:28 +00:00
Miguel Ángel a8884522f4 fix(studio): a sealed preview's timeline names each file by its project path (#8213)
* fix(studio): a sealed preview's timeline names each file by its project path

* fix(studio): keep a file on another site at its own address in a sealed preview's timeline
2026-11-20 04:49:13 +00:00
Miguel Ángel f13969f13f fix(studio): a sealed preview's failed reload says only what the preview reported (#8194)
* test(studio): a sealed shadow's failed reload says only what it reported

* fix(studio): a sealed preview's failed reload no longer blames a page that never loaded

* fix(studio): a failed reload names the restore seek when the timeline already arrived

* test(studio): keep the restore seek test's comment under 120 characters
2026-11-20 04:49:05 +00:00
Miguel Ángel cf28a00053 chore: release v0.9.72 (#8265) 2026-11-19 22:02:17 -05:00
Miguel Ángel 012f26350e fix(studio): a scene edit swaps in place and a far scene mounts for selection in a sealed preview (#8162)
* fix(studio): a scene edit swaps in place and a far scene mounts for selection in a sealed preview

* test(studio): a sealed undo that reloads marks its scenes stale first
2026-11-20 01:53:42 +00:00
Miguel Ángel 9c3bfe150e fix(studio): dragging a layer in a sealed preview's layers panel restacks it (#8209)
* test(studio): a lane drag in a sealed preview restacks and saves its z-index

* fix(studio): a lane drag in a sealed preview saves the stacking change it implies

* test(studio): format the sealed restack test and skip a clip with no stored z-index

* fix(studio): dragging a layer in a sealed preview's layers panel restacks it

* fix(studio): a sealed layer drag restacks nothing from a malformed sibling reply

* chore(studio): drop a doc line the comment check counts against the stack base
2026-11-20 00:36:09 +00:00
Miguel Ángel 9dd8be3ac4 fix(studio): save the stacking reorder of a timeline drag in a sealed preview (#8167)
* test(studio): a lane drag in a sealed preview restacks and saves its z-index

* fix(studio): a lane drag in a sealed preview saves the stacking change it implies

* test(studio): format the sealed restack test and skip a clip with no stored z-index

* fix(studio): a sealed lane drag restacks from the z-index the preview paints

A sealed preview's lane drag read the clip's z-index from the store, which holds only inline styles and the value
from when the drag began. It now asks the frame for the computed z-index when the gesture runs, so a stylesheet's
value and an earlier queued gesture's save both count.
2026-11-19 22:24:42 +00:00
Miguel Ángel 8cb1945c90 chore: release v0.9.71 (#8251)
* chore: release v0.9.71

* chore: release notes for v0.9.71 link the commit after the first cut

* chore: release notes for v0.9.71 add the two commits merged after the review
2026-11-19 22:11:45 +00:00
Miguel Ángel d106f9c8c7 fix: stop crashing on SVG elements named template (#8241)
* test: pages holding an SVG element named template

* fix: read template content only from HTML templates

* test: SVG elements named template in previews, inline mounts and lint

* fix: treat only HTML templates as scenes and inline mounts

* test: scene ids next to SVG elements named template

* fix: take scene ids only from HTML templates
2026-11-19 12:27:21 +00:00
Miguel Ángel 592a9feff9 chore: release v0.9.70 (#8234)
* chore: release v0.9.70

* chore: release notes for v0.9.70 link the 3 commits after the first cut
2026-11-19 06:55:39 +00:00
Miguel Ángel 1cf98cf892 fix(studio): a sealed preview's timeline shows its text clips' words and look (#8228)
* fix(studio): a sealed preview's timeline shows its text clips' words and look

A sealed preview's timeline rows come from the clip list the film sends, which
carried no text, so its text clips drew as blank rows. The film now sends each
plain text layer's words (up to 200 characters) and look, read by the same rule
Studio uses for its own rows, and the row shows the words as plain text.

* fix(studio): check a sealed clip's text on arrival, cap only what the film sends

Studio now takes a clip's text from the film's message only when every field is
text within the film's limits; otherwise the clip keeps its row without words.
The 200-character limit applies to the film's message alone, so an open
preview's own rows keep their full words as before.
2026-11-19 03:51:53 +00:00
Miguel Ángel 81f89b8150 fix(studio): a sealed preview shows its loading overlay while media still loads (#8184)
* test(studio): a sealed preview keeps its loading overlay while media buffers

* fix(studio): a sealed preview's loading overlay waits for its media through the editing port

* fix(studio): Studio never calls a preview ready before its asset check has answered

* refactor(studio): the preview asset wait lives outside the Player component

* refactor(studio): the preview asset wait moves to its own file, out of the Player

* refactor(studio): one asset-wait state; a sealed frame's first check is its own value

* fix(studio): a sealed preview's missing asset answer is asked again, never taken as ready

* fix(studio): a closed preview frees its editing-port client

* style(studio): keep the client comment under the line limit
2026-11-18 22:57:06 +00:00
James RussoandClaude Opus 5.5 3229c3a8da chore: release v0.9.69 (#8220)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-18 22:28:58 +00:00
Miguel Ángel 1929f299b4 fix(studio): a sealed preview keeps Studio's size, move and turn edits after a seek (#8212)
* fix(studio): a sealed preview keeps Studio's size, move and turn edits after a seek

* fix(studio): a sealed preview reapplies Studio's edits on each frame it seeks or plays to

* fix(studio): build the sealed reapply script from constants, never a caller's value

* fix(studio): a sealed preview reapplies Studio's edits after a redraw at the same time

* fix(studio): serve the seek reapply only into sealed preview documents

* chore(core): shorten the redraw count's doc line
2026-11-18 22:17:54 +00:00
Miguel Ángel b8bb8b3803 fix(studio): a script edit re-runs in place in a sealed preview, without a reload (#8158)
* fix(studio): a script edit re-runs in place in a sealed preview, without a reload

* fix(studio): a sealed timing edit takes the saved clip and film timing along with its soft reload

* test(studio): the sealed timing test checks a soft reload was sent before reading it

* refactor(studio): the sealed soft reload code passes the quality audit without suppressions

* chore(core): core's size budget makes room for the sealed preview's frame-side editing code

Main already measured 1,841,737 bytes packed against a 1,830,000 budget; the sealed soft reload brings it to 1,855,277. Budgets follow SIZE_BUDGET_HEADROOM: ceil(1,855,277 x 1.05) packed, ceil(4,665,659 x 1.05) unpacked.

* fix(core): a sealed timing edit is not skipped when a nested file's root repeats a clip's id
2026-11-18 21:41:54 +00:00
Miguel Ángel 3ae9e7302d chore: release v0.9.68 (#8214) 2026-11-18 20:50:58 +00:00
Miguel Ángel f149d76ed6 fix(studio): a sealed resize saves its anchor on the route GSAP moves it by (#8193)
* fix(studio): a sealed resize saves its anchor on the route GSAP moves it by

* style(studio): format the sealed resize test and drop the new comment lines
2026-11-18 20:11:21 +00:00
Miguel Ángel 11cc1a519e fix(studio): a refused timeline delete keeps the server's status in its message (#8171) 2026-11-18 19:28:04 +00:00
Miguel Ángel f6c9d09de8 fix(studio): the property panel shows a sealed preview's animated values (#8203)
* fix(studio): the property panel shows a sealed preview's animated values

* fix(studio): a sealed preview's panel shows rotation and scale from tweens that only turn or grow
2026-11-18 19:27:41 +00:00
Miguel Ángel 30d4cd26c6 fix(studio): copy, duplicate and audio lane updates work in a sealed preview (#8192)
* fix(studio): copy, duplicate and audio lane updates work in a sealed preview

* fix(studio): a sealed copy keeps its starting selection, and a stale lane read is dropped

* fix(studio): a saved lane value outlasts an older sealed read, and cut deletes in its own project
2026-11-18 17:15:05 +00:00
Miguel Ángel e5566b3dc9 fix(studio): a sealed preview pauses on press and reopens a link's selection (#8135)
* fix(studio): a sealed preview pauses on press and reopens a link's selection

* fix(studio): a linked selection retries on a timer, whatever the playhead

* refactor(studio): one lookup-state hook keeps the URL-state hook's size where main had it

* fix(studio): a linked group member keeps the lookup waiting until the preview can answer for it
2026-11-18 16:46:11 +00:00
Miguel Ángel a1ee40094d fix(studio): a value or keyframe edit shows in place in a sealed preview (#8151)
* fix(studio): a value or keyframe edit shows in place in a sealed preview

* fix(studio): a sealed group edit reloads once at its end, and a batch renders its last tween

* refactor(studio): the sealed tween patch path lives in its own module

Keeps useGsapScriptCommits under Studio's 600-line limit, and records the authoredOpacity helpers' move into core as an intended deletion.

* refactor(studio): the sealed tween patch code passes the quality audit without suppressions

Splits the frame-side change parser per kind, the tween lookup and keyframe rebuild into small checks, and the reachable-preview patch out of applyPreviewSync; drops an unused type re-export.
2026-11-18 15:33:50 +00:00
Miguel Ángel 4a73363322 chore: release v0.9.67 (#8185) 2026-11-18 14:56:46 +00:00
Miguel Ángel 579feb02ee fix(studio): sealed previews fill scene children, clip parents and first-frame counts (#8180)
* test(studio): a sealed scene's children and clip parents fill as an open preview's do

* fix(studio): a sealed preview's scene children and clip parents come from the editing port

* test(studio): a sealed preview's first-frame event carries its clips and length

* fix(studio): a sealed preview's first-frame event counts its clips from the document copy

* refactor(studio): drop two comments the names already carry
2026-11-18 13:35:14 +00:00
Miguel Ángel 2efb55ecb5 fix(studio): refused group, freeze frame and animation saves keep the server's status (#8178)
* fix(studio): refused group, freeze frame and animation saves keep the server's status

* refactor(studio): withStatus says what it does without a comment
2026-11-18 12:39:41 +00:00