* chore: release v0.9.80
* chore: release v0.9.80 notes list the changes merged since the draft
* chore: release v0.9.80 notes list the changes merged since the draft
A refused delete, or a ripple shift that fails after its delete, now moves
back only the clips that delete shifted, on the timeline as it is now,
instead of restoring the timeline from before it.
* fix(studio): a sealed undo of a GSAP-animated layer's style shows in place, without a reload
* fix(studio): a sealed undo refused after a later one reloads instead of replaying the older state
* fix(studio): a sealed undo's script re-run travels in its restore request, so no write races it
* fix(studio): import the sealed re-run builder where the undo sends it
* refactor(studio): one shape guard for the restore parser and a named re-run choice
* refactor(studio): the sealed undo attaches its re-run in one helper
* test(studio): count only the restore's own requests to the sealed frame
* fix(studio): a sealed re-run keeps a newer scrub and an unusable re-run keeps the plain restore
* fix(studio): a deferred re-run keeps a newer scrub and a newer edit; sealed preloads MotionPath
* refactor(studio): name a soft reload's mark and its script run
* test(studio): share the Chrome bundle's node shim and read the composition's own script
* fix(studio): a waiting re-run leaves the composition's script until it runs
* fix(studio): the soft-reload wait only swaps timelines a newer run left alone
* test(studio): the soft-reload wait tables drive each step from one map
* fix(studio): one MotionPath loader settles every waiting re-run when the plugin loads
* test(core): a failed MotionPath load is retried by the next re-run
* test(studio): a wait-table step after the swap waits for the swap's render
* fix(studio): only the newest soft-reload run may swap, reload or move the playhead
* fix(studio): a refused sealed tween patch re-runs the script instead of reloading
* test(studio): the playing-through-the-wait row allows the player's frame snap
* fix(studio): a late preview answer acts only when no later re-run carries its change
* test(studio): held-answer rows release a still-waiting run when the page closes
* test(core): a restore says whether it re-ran the script
* test(studio): sealed preview equals a fresh load after late answers in any order
* fix(studio): a late refusal recovers with the whole saved snapshot, attributes and timing
* fix(studio): only an explicit refusal keeps an undo's attributes from being covered
* test(studio): ordering table holds a refusal until its request posts, restores a safe attribute
* test(studio): ordering fixture carries the hf ids Studio's server serves
* fix(studio): a refused retime is never covered by a script-only re-run
* test(studio): ordering table keeps the title undo and restores safe and unsafe attributes
* refactor(studio): a restore's snapshot comes from one helper
* test(studio): a refused request is answered at its own step, as in the retime probe
* test(studio): the ordering runner lives in a shared sequence harness
* test(studio): a patch recovery after a live retime carries the retime's timing
* test(studio): the ordering fixture sends its own script instead of parsing the file
* test(studio): the sequence harness keeps its refusal table private
* test(studio): ordering table generates live retimes, scrubs and port rejections
* test(studio): a harness reload shows the new load at Studio's playhead
* test(studio): the ordering table carries the reviewer's round-8 sequences
* test(studio): the first round-8 sequence holds the live retime's refusal
* test(studio): the ordering table pins the seeds that found each round-8 class
* fix(studio): sealed recoveries keep saved timing, the live playhead and port rejections
* test(studio): sealed mocks answer through previewAnswer; channel row for error vs no reply
* test(studio): the timing sync and script commit mocks answer through previewAnswer
* refactor(studio): a late live retime's recovery is its own step
* test(studio): ordering table generates two-script files, missed deadlines and unanswered requests
* test(studio): the data-start undo restores a clip no script animates
* test(studio): a save that reloads at once counts as one nothing can apply in place
* fix(studio): sealed writes count as covered only by a newer applied run that carried their state
* test(studio): the ordering table pins the seeds that found each round-9 class
* fix(studio): a sealed re-run covers from its send only what it carried
* test(studio): the ordering fixture marks each save as Studio's write does
* test(studio): a two-script sequence may recover only by reloading
* test(studio): the harness reload loads again after a save, as Studio's shadow reload does
* test(studio): the ordering table splits its fixed rows from fresh seeds to fit the flake gate
* test(studio): the ordering fixture keeps its generator private
* fix(studio): a sealed write's file version is its save's, and timing coverage survives a later run
* fix(studio): the ledger keeps each timeline's newest snapshot by its save's version
* test(studio): soft-reload expectations name the save revision where a real save made one
* test(studio): the ordering table pins the seeds that found reversed save responses
* refactor(studio): a sealed restore's send moves to its own module under the file size cap
* test(studio): the wait table settles two waiting runs and a pause before it reads them
* test(studio): the ordering table reverses older timing writes behind a newer data-start undo
* fix(studio): a sealed write older than a file already sent to the preview is not sent
* test(studio): mocked preview channels run the send gate as the real one does
* test(studio): the patch request names its default deadline
* test(studio): the ledger pins an older live retime sent after a newer file
* fix(studio): a sealed tween patch carries its save's version without a snapshot too
* test(studio): the undo row expects the in-place re-run of the undone file
* test(studio): the ordering table loads the newer file between reversed timing syncs
* fix(studio): a new sealed preview load refuses writes older than the file it shows
* refactor(studio): the sequence runner plays a reversed step in its own function
* test(studio): a sealed preview's fx badge lights from what discovery read
* fix(studio): fx badges in a sealed preview show the clip's look, crop and duck
* test(studio): a paused untagged video is drawn as the export reads it
* fix(studio): a paused untagged video shows the colours the export renders, not BT.709
* feat(studio): dropping a clip onto main-track clips can insert it there
* fix(studio): say why a dropped clip went back, from the timeline's own notice
* fix(studio): keep the drag commit file under the line cap
* fix(studio): an insert never puts a linked clip on top of another clip in its lane
* fix(studio): trimming a main-track clip with Ripple on closes the gap
* fix(studio): a trim and its ripple shift join the edit queue together
* fix(studio): a delete and its ripple shift join the edit queue together
* fix(studio): a deleted clip leaves the preview at once so the next delete ripples from it
* fix(studio): the poster rendered for the next open no longer delays a clip's picture
Studio renders a missing preview poster for the next open as a low-priority composition thumbnail. Started in a free slot, it could not be overtaken: when the preview was ready before the timeline's clips existed (a sealed preview, on a first open), a clip's thumbnail asked for a moment later waited for a slot and landed about a second after the rest. Work nobody reads now starts only when no other thumbnail of its kind is running.
* test(studio): the thumbnail connection check expects the one request a held open starts
The check's proxy never answers a thumbnail render, and it counted two held requests per project: the composition's thumbnail and the poster rendered for the next open. That poster now waits for an idle bucket, so behind a render that never ends it never starts. One held request per project is what Studio sends; the check still fails when a hidden page keeps its request.
* fix(studio): browser test scripts launch the Chrome Studio itself picks
The scripts in tests/e2e chose Chrome from their own list: a system Chrome before the downloaded one, and no version check, so an old system Chrome hung every script at browser start. They now use Studio's one finder (an environment variable first, then the downloaded Chrome, then a system Chrome new enough), moved to a file plain Node can load.
* test(studio): the Chrome finder test builds its path as the finder does
The finder joins the cache path with the host's separator, so on a Windows runner the stand-in never saw the path the test spelled with forward slashes.
* chore: release v0.9.78
* chore: list main's latest changes in the v0.9.78 notes
* chore: add the history fix to the v0.9.78 notes
* chore: list main's latest changes in the v0.9.78 notes
* test(studio): spaces between child text fields survive a panel write
* fix(studio): adding or removing a text field keeps the spaces between words
* refactor(studio): text-field markup writing gets its own file
* 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
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.
* 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
* 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.
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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>
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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.
* 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
* 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