Commit Graph
6499 Commits
Author SHA1 Message Date
Miguel Ángel bef7b44bee chore: release v0.9.89 (#8666)
* chore: release v0.9.89

* chore: release notes for v0.9.89 list #8657 merged since the cut

* chore: end the v0.9.89 note for #8657 with a period like the others

* chore: release notes for v0.9.89 list the 13 changes merged since the cut

* chore: release notes for v0.9.89 list every change merged while it was queued
2026-11-24 10:27:48 +00:00
Miguel Ángel 1c20a107a6 fix(player): a sealed player plays media from hosts without CORS and names a missing runtime (#8142)
* feat(player): a composition can no longer read the page that embeds the player

BREAKING CHANGE: the player's composition frame no longer shares the embedding page's origin
by default. Add sandbox-origin="same-origin" to keep reading the composition's DOM or runtime
directly (editors, recorders, custom timelines), only for compositions you trust.

* chore(skills): refresh the slideshow skill's manifest hash

* fix(player): a sealed player's timeout says how to play a composition without the runtime

A sealed player cannot add the runtime to a composition, so one with a GSAP timeline and no runtime never became
ready and failed with a bare timeout. The timeout now names the two fixes, the README says a sealed composition
brings its own runtime, and a browser test covers the sealed, trusted and runtime-bundled paths.

* test(player): the heavy-films bench embeds the trusted player, since it reads the film from inside

* test(player): the bench host stays sealed; only the bench that reads the film asks for trust

* test(player): the perf server answers CORS, so a sealed player's film loads its own media

* test(player): a sealed film on a host without CORS must still play its videos

* test(core): a sealed video whose CORS load fails loads again once without crossorigin

* fix(core): a sealed film's video loads once more without CORS when its host refuses CORS

* fix(core): the sealed media fallback reads its event target without a realm-bound instanceof

* fix(player): keep the player's origin sharing as today; sealing stays opt-in with sandbox-origin

* test(core): a failed sealed media source spares its siblings; a refused URL drops the helper's CORS

* fix(core): a sealed film tries every CORS source before falling back and drops CORS for refused URLs

* fix(cli): the play page shares its origin as today; docs say sealing is opt-in

* refactor(core): split the sealed media fallback into small steps

* test(player): sealed media decides CORS per element in Chrome; probe advice follows the policy

* fix(core): each sealed media element owns its CORS choice; probe advice follows the policy

* test(player): a sealed player's late timeline expects the sealed advice; media cases await each read

* test(player): sealed media rows for a skipped first source, author writes and a recovered URL

* fix(core): sealed media falls back only when the browser has no source left, once per URL

* test(player): the skipped-source row's loads are never cached, so each one is counted

* test(player): the skipped-source row bounds the video's load attempts as well as its requests

* test(player): sealed media rows for a mismatched-source reload, an outage and two refusing sources

* fix(core): a sealed media element owns one fallback state; only a played fallback is remembered

* test(player): a generated table of sealed media edits, each element checked on its own

* fix(core): sealed media CORS is decided per element and chosen source, with no shared cache

* test(player): the media table counts the runtime's loads against other selections

* fix(core): a sealed media element guesses the source it last played

* test(player): the media table attributes loads exactly and lets a failing host stay down

* test: sealed media rows check per-element CORS; the generated table replaces the hand-picked ones

* fix(core): a media element's own src counts as the source that failed

* fix(core): starting sealed media CORS twice adds no second set of listeners

* test(player): judge the sealed media table against frames without the runtime

* test(player): compare the sealed media table with the same film unsealed

* test(player): run the unsealed control film before the sealed one in one tab

* test(player): judge an authored crossorigin only on the composition's value

* test(player): an all-own list returning to an upgraded URL keeps its pixels

* test(player): source and playback against the sealed film with the helper off

* test(player): count every runtime load of a table video, net of the film without the helper

* test(player): the all-own return row plays the other clip alone before the URL comes back

* test(player): judge every round of the sealed media table, not only the end

* fix(core): sealed media keeps the browser's source choice and its playback across our reloads

* test(player): the table plays a video only after the runtime has bound it

* fix(core): a sealed video drops a stale crossorigin its source already refused

* test(player): the table exempts foreign hosts from pixels and allows a range request per load

* test(core): unit rows for the source choice, down hosts and playback across reloads

* refactor(core): sealed media restores time through the media clock, and its failure path is split

* test(player): the table compares play() outcomes, recovers a down host, and reads a seek at seeked

* test(player): the table judges a seek by where it settles and lets a composition pause on rejection

* test(player): the table holds the helper to a play() the film without it resolved

* test(player): pin the generated sequences that found the recovery and play() faults

* test(player): a slow host keeps the composition's play() pending when its source fails

* test(player): pin the sequences that find the play() and recovery faults with the slow host

* test(player): the table can start its generated sequences at any seed

* test(player): pin the generated sequences that find the recovered source skipped

* test(player): keep the pinned sequences that are red in every run in both browsers

* test(player): a looping video starting over is not a seek after the composition's

* fix(core): a sealed video retries a recovered source and keeps the composition's play() alive

* test(core): the playback row watches the play() the runtime's retry makes

* test(player): a slow host delays its first answer only; the composition's own abort is skipped

* test(player): a loop restart is told from a seek by where the seek began

* test(player): restarts are read at metadata, and a buffering control judges no playback

* test(player): the table counts and limits the comparisons it skips

* test(player): our restore after a composition seek stays within a frame; all selections count

* test(player): a playhead counts as moving if it moves within a second

* fix(core): only the composition's own load() makes a sealed video retry a down source

* fix(core): a sealed video's down source stays down through the runtime's preload load

* test(player): judge sealed media rows by what each step makes possible, not page timing

* test(player): print sealed and unsealed seek landings each sealed media run

* test(player): read a looping clip after its loop restart in every film alike

* fix(core): the runtime's preload loads a media element once per source list

* fix(core): the runtime's prefetch shares the preload's one load per source list

* test(player): a table step interrupts the CORS handling's own reload, not the runtime's preload

* test(core): an undo puts a clip's colour grade back in a sealed preview in place

* fix(core): an undo of a colour grade applies in place in a sealed preview

* test(player): a second table seek lands during the CORS reload of a playing clip

* test(core): an undo in a sealed preview keeps the media attributes the runtime added

* fix(core): an undo in a sealed preview keeps the media attributes the runtime added

* test(player): the playing-clip seek row plays a clip that starts past 0, as a trimmed one does

* test(player): the playing-clip seek is armed with its video, before the play step waits

* test(player): the down-then-back row reloads again, so every film's control has a frame

* test(player): the playing-clip seek row's host answers late, so the clip plays before its reload

* fix(player): a sealed player plays a same-site composition with the runtime it ships

* fix(player): a switch to video unloads a sealed composition shown as srcdoc

* test(core): the runtime's preload mid-selection keeps a down source's mark

* fix(core): a sealed film's down source keeps its mark through the runtime's own loads

* chore(player): fallow reads the cjs and iife runtime file as an entry

* fix(core): declare the html-tokens subpath where package exports are generated

* fix(player): a sealed composition that brings its runtime loads by src under its own headers

* test(player): expect the sealed player's own timeout message in the late-runtime tests

* test(core): a grade undo on a far clip whose length is loading applies in place

* fix(core): a far clip's length probe records the preload it sets, so a grade undo applies

* fix(player): a sealed film shown as srcdoc keeps its URL, so its sound still plays

* test(player): the late-timeline switch uses a film from another origin, which must still fail

* fix(player): a sealed Studio preview keeps its own runtime and loads by src

* fix(player): the player package carries the runtime once, and Studio none

* fix(core): a sealed video reads its own source's pixels in a list that names another host

* fix(player): a sealed player with no bundler still gets the runtime, only when it needs it

* fix(core): keep the mixed-list change within the comment budget

* fix(core): opt a mixed list in only when its first source plays, so a reload keeps that video

* fix(core): a CORS reload keeps the source that was playing

* fix(core): the composition's own load() picks from its full source list again

* fix(core): a reload's pin keeps a source type the composition wrote meanwhile

* fix(core): a reload's pin stops at the source the browser picked, not a skipped copy of its URL

* fix(core): a reload's pin stops at the source element that played, not the first copy of its URL

* fix(core): a reload's pin keeps the source element that played or refused

* style(core): format the source pin

* style(player): keep the runtime source comment under the line limit

* fix(player): only a real </script> closing tag ends a script in the runtime check

* test(player): count the sealed helper's loads by the crossorigin they change

* fix(core): a sealed video asks its host once before treating a failed CORS load as a refusal

* test(player): the sealed table expects pixels from a host that answers CORS after a failed load

* test(core): each refusal row waits for the CORS question it starts

* test(player): the sealed media table waits on each clip's own events

* refactor(core): a pinned-out source's error gets its own check in the sealed media helper

* test(player): the loop restart wait keeps its two-second window

* style(player): format the table's event wait

* chore(fallow): resolve workspace exports to source as bun does, so no false package cycle

* refactor(player): read script tag attributes in small steps, the same result

* refactor(player): the shader loading attribute reads its words from one table

* refactor(player): the attribute helpers' names say what their comments did

* fix(core): the CORS question never follows a redirect, and stays quiet while it waits

* style(core): format the CORS question's rows

* test(player): a sealed same-site page keeps its own policy; a stuck fetch reports the limit

* fix(player): a sealed same-site page keeps its own policy, and a stuck fetch ends at the limit

* fix(player): a sealed page whose headers can't all be read, as after a redirect, loads by src

* style(player): format the sealed player and name the probe's preparation state
2026-11-24 09:22:41 +00:00
Miguel Ángel 91027eafb5 fix(producer): download links serve only the render's own file, removed once fetched (#8673)
* fix(producer): download links serve only the render's own file, removed once fetched

A download opens the registered file without following links and checks its identity. Server-named outputs get a unique name, live in a private default folder, and are deleted after a full download or on token expiry. Confined requests refuse output folders another account can change.

* fix(producer): a caller's own output file is not held open after its render

Only a server-named output is pinned. A caller-named one keeps its dev:ino check from a stat at register, so a caller that reads its file from disk and deletes it frees the space at once. The folder refusal names the folder.
2026-11-24 09:18:17 +00:00
Miguel Ángel 903051c40b fix(studio): class and descendant tween keyframe markers show in a sealed preview (#8675)
* fix(studio): class and descendant tween keyframe markers show in a sealed preview

* fix(studio): a sealed frame that does not answer keeps the shown keyframe markers

* fix(studio): a sealed frame removed during the markup read keeps the shown keyframe markers
2026-11-24 09:15:47 +00:00
Miguel Ángel 7b2bffef74 fix(studio): a sealed gesture recording shows every recorded value live (#8598)
* test(studio): a second sealed resize of a scaled layer starts from its saved size

* fix(studio): a second sealed resize of a scaled layer no longer jumps and saves the jump

* test(studio): count and time the two-resize bench cases

* test(studio): a sealed frame's GSAP values are read again after a save reruns its script

* fix(studio): a second sealed resize scales from the size the first one saved

* test(studio): leave GSAP value reads out of the sealed save's sent-edit list

* refactor(studio): name the sealed rerun's re-read so the answer handler stays simple

* test(studio): a sealed drag on GSAP's route leaves no offset on the stand-in, one re-read per rerun

* fix(studio): a sealed drag that GSAP saves clears Studio's offset, as an unsealed one does

* fix(studio): a sealed drag of a GSAP-held layer moves GSAP's x/y, as an open preview does

* fix(studio): a sealed gesture recording moves the layer live in the preview

* fix(studio): a sealed drag draws the rounded position an open preview's drag writes

* test(studio): a plain layer's frame draft is the open preview's rounded offset less its start

* fix(studio): a sealed recording sets every recorded GSAP value live, as unsealed does

* refactor(core): name the checks a recording's draft props pass

* fix(studio): queue every sealed recording sample in order instead of replacing a waiting one

* fix(studio): drop the move-only draw a merge doubled in the sealed recorder

* fix(studio): a sealed restore keeps a later position write, and a rejected undo redraws the drop

* fix(studio): a sealed restore keeps each axis a later write set, per landed patch

* fix(studio): a sealed restore keeps a tween edit's axes only once that edit has drawn

* fix(studio): a failed sealed batch keeps the axes an earlier landed batch queued

* fix(studio): a sealed restore shows the base and whatever the timeline draws over it

* fix(studio): restoring one sealed draft leaves every other live draft where it is drawn

* test(core): another layer's live recording survives a restore or a recording ending

* fix(studio): a sealed restore replays only what each live draft draws, rotation included

* test(core): the recording-ends row moves the other layer through the root timeline it redraws

* test(core): the recording-ends row animates the other layer on the root timeline at the playhead

* fix(core): replaying another layer's live recording leaves the playhead where it is

* refactor(core): split a live draft's carried rotation and merged props into named steps
2026-11-24 09:09:50 +00:00
Michael Wang 02636023f9 fix(sdk-playground): the dev server answers only local hosts and renders composition text as text (#8659)
* fix(sdk-playground): answer only local hosts and render composition text as text

The playground dev server's composition routes now answer only the Hosts
Vite serves the page on (localhost, *.localhost, IP literals and the
configured server.host). Saves started by another site are refused, and a
save body over 32 MB gets 413. The element list builds its rows from DOM
nodes, so composition ids and text show as literal text.

* fix(sdk-playground): follow Vite's host options and serve the composition as inert text

The composition routes accept every Host Vite accepts for the page:
server.allowedHosts (exact names, leading-dot entries, true), server.host,
server.origin and hmr.host, and any Host when Vite skips its own check.
The composition is served as text/plain with nosniff, a sandbox CSP and
frame denial, so a browser never renders or frames it. A save whose client
disconnects before the body ends gets 400 instead of waiting forever.
2026-11-24 08:56:29 +00:00
Miguel Ángel 928f9eabb3 fix(core): sub-compositions load only from inside the project (#8670)
* fix(core): sub-compositions load only from inside the project

* fix(core): fetch the authored sub-composition source the check resolved
2026-11-24 08:54:32 +00:00
Miguel Ángel 8c9e952162 fix(producer): a remote font stylesheet's text stays CSS when inlined (#8671) 2026-11-24 08:43:08 +00:00
Miguel Ángel 5f0fe71cc1 fix(aws-lambda): the handler ZIP ships ffmpeg only when it matches its pinned digest (#8665)
build-zip accepted whatever ffmpeg-static's install script downloaded as long as it had a
Linux x86-64 ELF header. It now compares the binary's sha256 with the one pinned for the
installed ffmpeg-static version and stops before the ZIP is built when they differ, or when
a version has no pinned digest.
2026-11-24 08:42:33 +00:00
Miguel Ángel 5e1a490c80 fix(cli): check keeps copy windows for videos with #, ? or % in the name (#8669) 2026-11-24 08:39:25 +00:00
Miguel Ángel 0ee98f87d0 fix(studio): sealed keyframe edits save the same values as a regular preview (#8668)
* test(studio): sealed rotation commit reads only its own tween's channels

* fix(studio): sealed keyframe commits compare GSAP values with the frame's CSS
2026-11-24 08:39:00 +00:00
Miguel Ángel 3ce07d4b1f fix(studio): element picker style, data and text edits draw in a sealed preview (#8663) 2026-11-24 08:38:53 +00:00
Miguel Ángel e6ba081bb9 fix(studio): property panel corner radius and copied source line read a sealed preview (#8662)
* test(studio): property panel corner radii and source line read the same sealed

* fix(studio): property panel corner radius and copied source line read a sealed preview

* refactor(studio): the panel's sealed reads live in their own module, under the file-size cap
2026-11-24 08:36:39 +00:00
Miguel Ángel bfadf5b2b3 fix(cli): lambda deploy and destroy use only the checkout the CLI itself is in (#8664)
A folder above the CLI's own package that holds packages/aws-lambda no longer counts as a checkout, and a source checkout is named before it is built or deployed from.
2026-11-24 08:31:39 +00:00
Michael Wang f43c35c21d fix(engine): read playlists in linear time and bound the whole walk (#8653)
* fix(engine): read playlists in linear time and bound the whole walk

The trailing-blank trim and the ffconcat file pattern backtracked, so one very long line took
quadratic time on the event loop. Both are now single scans. A line longer than ffmpeg reads
(4095 bytes) refuses the list before it is parsed, and the walk refuses past 16 MiB of list
text or 50,000 entries across all nested lists.

* test(engine): playlist walks finish in milliseconds and stop at their budget

Covers a single 8 MiB line in both list shapes, the 4095-byte line limit, ffconcat file lines
read as before, and the entry and byte budgets across nested lists.

* refactor(engine): keep the playlist parser at its comment share
2026-11-24 08:27:19 +00:00
Miguel Ángel 2fee394a8f fix(core): drop a text style a browser would split differently from the filter (#8658)
* fix(core): drop a text style a browser would split differently from the filter

* fix(core): keep a quoted font family whose name reads like a function
2026-11-24 08:15:42 +00:00
Michael Wang b746a83e6e fix(cli): measure refuses output paths ffmpeg would write as a pattern (#8660)
* fix(parsers): refuse media paths with digits between a percent sign and a wildcard

* test(parsers): end ffprobe options with -- in the installed-ffprobe check

* fix(cli): measure refuses output paths ffmpeg would write as a pattern

* fix(cli): measure probe --normalize refuses a pattern-like output
2026-11-24 08:05:34 +00:00
Michael Wang 24f474b960 fix(skills): refuse media paths ffmpeg would read as a pattern in skill scripts (#8661)
* fix(parsers): refuse media paths with digits between a percent sign and a wildcard

* fix(skills): refuse media paths ffmpeg would read as a pattern in skill scripts

* fix(cli): media-use probes refuse paths ffmpeg would read as a pattern
2026-11-24 08:05:08 +00:00
Miguel Ángel add940201e fix(studio): paste and duplicate no longer write the copy's HTML comments (#8657) 2026-11-24 07:52:27 +00:00
Michael Wang 03698f2511 fix(inspector): the page server answers only its own page (#8654)
The inspector's page server now answers only its own host and port, and
refuses requests that fetch metadata marks as coming from another site.
Every response refuses framing by another origin and sets a same-origin
resource policy. The served page carries the another-site mark at the
start of its head, so the runtime talks only playback to a parent frame.
2026-11-24 07:46:40 +00:00
Michael Wang b76bb07077 fix(studio-server): file routes and the received-files follower read one path (#8652)
requestSubPath now matches its route on decoded segments, as Hono does,
and returns null when the route is not in the URL. Every caller refuses
that request. The received-files follower refuses it too, so it and the
file route always act on the same path. The /api forwarder strips the
first segment however it is spelled.
2026-11-24 07:41:37 +00:00
Miguel Ángel 29a7d471ac fix(cli): check finding captures probe only the project's own videos (#8647) 2026-11-24 07:37:34 +00:00
Miguel Ángel faf4dd82a1 fix(engine): an upstream reply the capture proxy cannot re-send fails only that request (#8646) 2026-11-24 07:36:32 +00:00
Michael Wang de3e6153cc fix(cli): read every media path a command is given as that one file (#8650)
* fix(cli): read every media path a command is given as that one file

* test(cli): the hanging ffmpeg stand-in answers the demuxer listing
2026-11-24 07:35:57 +00:00
Michael Wang 40c4f98ba4 fix(parsers): refuse media paths with digits between a percent sign and a wildcard (#8648)
* fix(parsers): refuse media paths with digits between a percent sign and a wildcard

* test(parsers): end ffprobe options with -- in the installed-ffprobe check
2026-11-24 07:20:43 +00:00
Michael Wang 7b29b81011 fix(studio-server): studio no longer writes scripts node tooling may run (#8645)
Studio refuses TypeScript, JSX and CommonJS files everywhere. It writes .js
and .mjs files only when no package.json in their folder or above does more
than run the hyperframes CLI. This replaces the list of files read from
package.json script strings, which missed files reached through cd, default
entries, nested packages and imports.
2026-11-24 07:11:37 +00:00
Miguel Ángel 7051b2512b fix(cli): timeline undo restores only project files from the project's backups (#8643) 2026-11-24 07:06:46 +00:00
Miguel Ángel 7a1828f8ee fix(studio): a sealed drag draws and saves from the open preview's rounded position (#8587)
* test(studio): a second sealed resize of a scaled layer starts from its saved size

* fix(studio): a second sealed resize of a scaled layer no longer jumps and saves the jump

* test(studio): count and time the two-resize bench cases

* test(studio): a sealed frame's GSAP values are read again after a save reruns its script

* fix(studio): a second sealed resize scales from the size the first one saved

* test(studio): leave GSAP value reads out of the sealed save's sent-edit list

* refactor(studio): name the sealed rerun's re-read so the answer handler stays simple

* test(studio): a sealed drag on GSAP's route leaves no offset on the stand-in, one re-read per rerun

* fix(studio): a sealed drag that GSAP saves clears Studio's offset, as an unsealed one does

* fix(studio): a sealed drag of a GSAP-held layer moves GSAP's x/y, as an open preview does

* fix(studio): a sealed drag draws the rounded position an open preview's drag writes

* test(studio): a plain layer's frame draft is the open preview's rounded offset less its start

* fix(studio): a sealed restore keeps a later position write, and a rejected undo redraws the drop

* fix(studio): a sealed restore keeps each axis a later write set, per landed patch

* fix(studio): a sealed restore keeps a tween edit's axes only once that edit has drawn

* fix(studio): a failed sealed batch keeps the axes an earlier landed batch queued

* fix(studio): a sealed restore shows the base and whatever the timeline draws over it

* fix(studio): restoring one sealed draft leaves every other live draft where it is drawn

* fix(studio): a sealed restore replays only what each live draft draws, rotation included
2026-11-24 07:05:46 +00:00
Michael Wang 5a1b992a08 fix(producer): a video element naming a PNG cut short fails the render up front (#8644) 2026-11-24 07:03:09 +00:00
Miguel Ángel c5e3ac89e4 fix(core): a one-shot Studio capture shows a 4K clip as the server's frame instead of decoding it (#8626)
* fix(core): a one-shot Studio capture shows a 4K clip as the server's frame instead of decoding it

* fix(core): a capture stand-in video is marked, so a frame capture knows it is drawn

* fix(studio-server): a preview still shows the colours the browser decodes its video with

* test(core): a capture stand-in follows each seek of a page seeked many times

* fix(core): a failed capture still leaves the clip to decode its file; stills stay in the clip

* fix(core): a capture keeps see-through clips decoding and takes only the latest still

* refactor(core): one check says whether a capture still may stand in for a file

* fix(core): a capture still's answer leaves alone a poster the page set meanwhile

* fix(core): a capture page never hands a clip its still stands in for its own file

* fix(studio-server): a capture still keeps a browser's colours on every FFmpeg CI and Studio run
2026-11-24 06:55:36 +00:00
Vance Ingallsand郑润泽 4354b177ee fix(producer): a compile's ffmpeg runs end with it, and are bounded on their own (#8638)
A render's compile can start ffmpeg and ffprobe children (the animated GIF to VP9 and HEIC to JPEG conversions, and media probes). They now end with the compile, however it ends, and their temp output goes with them.

- The compile's abort signal reaches the GIF and HEIC conversions.
- The compile worker reports each child and its temp file to the parent, which kills the children still recorded and removes their temp files just before ending the thread, only inside the compile's own folders.
- The conversions carry -timelimit (CPU seconds, enforced by the kernel) and -fs (output bytes); a capped output is rejected, not cached.
- Temp names carry a uuid, since worker threads share process.pid.

Co-authored-by: 郑润泽 <506166760@qq.com>
2026-11-23 21:46:15 -08:00
Miguel Ángel a383d0205b fix(studio): a deleted clip's focus fallback no longer re-renders every player store subscriber (#8633)
* fix(studio): a deleted clip's focus fallback no longer re-renders every player store subscriber

* fix(studio): keep the focus coordinator's doc comment and fallow marker on the coordinator
2026-11-24 05:04:05 +00:00
Miguel Ángel 304a9444e9 chore: release v0.9.88 (#8635)
* chore: release v0.9.88

* chore: release notes for v0.9.88 list #8634 merged since the cut

* chore: release notes for v0.9.88 list #8618 merged since the cut

* chore: release notes for v0.9.88 list #8618 in its section, after the summary
2026-11-24 05:18:37 +00:00
Miguel Ángel 779bed5c0a fix(player): a film ready before load no longer times the frame's next own document from it (#8634) 2026-11-24 04:20:08 +00:00
Miguel Ángel 66eeb13a92 fix(core): a held clip shows its own frame, not black, while its lighter copy is made (#8618)
* fix(core): a held clip shows its own frame, not black, while its lighter copy is made

* test(core): the held clip's still asks the auto variant like its copy
2026-11-24 04:18:05 +00:00
Miguel Ángel 8cdf5b22dc fix(producer): a cloud chunk is not stopped as stalled while its video frames are still extracting (#8632) 2026-11-24 03:39:50 +00:00
James RussoandClaude Fable 5.2 d04d8fe468 fix(studio): a media reader reads only the file it was opened on (#8630)
* fix(studio): a media reader reads only the file it was opened on

Studio's probe, thumbnail and paused-frame readers accepted every input format
the media library ships, including playlists, which name further addresses to
read. They now accept only formats that hold their media in the file itself,
and one reader's fetch reads one address.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

* chore(studio): trim comments in the media fetch options

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

---------

Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-24 03:33:02 +00:00
terencecho 57ffe0b07d fix(cli): announce publish deprecation for new projects (#8629)
* fix(cli): announce publish deprecation for new projects

* test(cli): handle an absent publish notice in strict typechecks

* fix(cli): clarify ongoing publishes and migrate review guides
2026-11-24 02:07:04 +00:00
Miguel Ángel e2fe0e6f53 fix(core): the 4K clip on screen plays its own file while its preview copy is made (#8602)
* fix(core): the 4K clip on screen plays its own file while its preview copy is made

* fix(core): a clip that played its own file is held again once it leaves the screen
2026-11-24 01:58:38 +00:00
Miguel Ángel c9f9a52077 fix(cli): layout check reads black covers as opaque and scores modern-colour gradients (#8628) 2026-11-24 01:45:19 +00:00
Miguel Ángel df57e691cb fix(studio): a failed preview's retry button takes a click again (#8610)
* fix(studio): a failed preview's retry button takes a click again

The editing canvas covered the whole stage, above the failure drawn inside it. The live preview now reports its failure to the player store and the canvas stands aside while it shows.

* test(studio): the retry walk waits for the canvas to come back once the preview can show

* fix(studio): no editing box over a failed preview can take its retry click

* fix(studio): a failed preview closes the canvas menu and ends the text edit

* fix(studio): a menu or text edit already on its way stays shut once the preview fails

* fix(studio): the canvas menu and the text edit each end themselves when the preview fails

* test(studio): the canvas menu rows select their target as the overlay does

* refactor(studio): name the inline edit's failed-preview refusal and its save on failure

* test(studio): the preview failure walk selects text so the formatting toolbar opens
2026-11-24 01:32:45 +00:00
Miguel Ángel 169af43b65 chore: release v0.9.87 (#8617)
* chore: release v0.9.87

* chore: release notes for v0.9.87 list the player fix merged since the cut

* chore: release notes for v0.9.87 list the studio fix merged since the re-cut

* chore: release notes for v0.9.87 list the docs change merged since the re-cut

* chore: release notes for v0.9.87 list the CLI fix merged since the re-cut

* chore: release notes for v0.9.87 link #8624 to its own pull request
2026-11-24 01:14:47 +00:00
Weiwei Wu bb87da4536 fix(cli): read alpha from modern CSS colors (#8624)
Add real-Chromium regression coverage and document the supported modern solid-color behavior.
2026-11-24 00:18:45 +00:00
Miguel Ángel 5336bddbf9 fix(studio): a sealed scale resize the frame can't measure leaves no box size behind (#8620) 2026-11-23 23:18:42 +00:00
Miguel Ángel dca98ed4c8 fix(player): a slow load fails only past its system's limit, and a late timeline still fires ready (#8594)
* fix(player): a slow load fails only past its system's limit, and a late timeline still fires ready

Windows 90 s, macOS 120 s, Linux 30 s, any other system 120 s, in place of 8 s. Past the limit the probe reports once and keeps listening; ready carries readyMs, the time from the frame's load to its timeline.

* feat(player): ready names the load limit it had, and the sandbox test waits for Linux's limit

* fix(player): time each film's load from its navigation, by the clock

* refactor(player): split the probe's poll tick into its read, settle and limit steps
2026-11-23 22:48:39 +00:00
Andy CheighandClaude Opus 5.5 0a685496ad fix(studio): a preview frame served while its page loads keeps Studio's paused-frame decoder (#8613)
* fix(studio): a preview frame served while its page loads keeps Studio's paused-frame decoder

servePausedVideoFrames closed its decoder host on the frame's next `load`.
A shadow reload is served while its document is still `interactive`, so that
`load` is the same document finishing: the host closed, aborted the decode
already in flight without a reply, and the runtime's preview seek waited out
its five-second cap. Every shadow reload in an embedding app then promoted
about five seconds late.

The host now closes only once the frame holds a different document (a frame
Studio cannot read still closes on its next load), and a close answers every
ask in flight with `failed` so the runtime falls back to its own frames at once.

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

* refactor(studio): keep only the paused-frame host's own-load fix

Closing the host on the frame's next document is the fix. Answering in-flight
asks on close only helps a frame Studio cannot read, which no reported bug
reached; it goes, with its test.

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

* refactor(studio): closeOnNextDocument's name carries what its comment said

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 20:43:24 +00:00
Miguel Ángel 32afb984bd fix(core): looped audio plays in sync with the picture in Safari (#8612)
* fix(core): looped audio plays in sync with the picture in Safari

A looped clip on WebKit now decodes and loops its buffer on the audio clock, like a plain clip, instead of playing from its element about 300 ms late.

* fix(core): a looped buffer wraps at the element's length, as media sync does

A decoded MP3 can run longer than the element reports, so looping at the buffer's end drifted a long loop off the picture each pass.
2026-11-23 20:31:30 +00:00
Miguel Ángel 457cc56926 fix(studio): a second sealed resize of a scaled layer no longer jumps and saves the jump (#8565)
* test(studio): a second sealed resize of a scaled layer starts from its saved size

* fix(studio): a second sealed resize of a scaled layer no longer jumps and saves the jump

* test(studio): count and time the two-resize bench cases

* test(studio): a sealed frame's GSAP values are read again after a save reruns its script

* fix(studio): a second sealed resize scales from the size the first one saved

* test(studio): leave GSAP value reads out of the sealed save's sent-edit list

* refactor(studio): name the sealed rerun's re-read so the answer handler stays simple

* test(studio): a sealed drag on GSAP's route leaves no offset on the stand-in, one re-read per rerun

* fix(studio): a sealed drag that GSAP saves clears Studio's offset, as an unsealed one does
2026-11-23 19:57:58 +00:00
Miguel Ángel 19f98a3ed7 fix(core): a film without a declared size reports its measured size to a sealed Studio (#8578)
* fix(core): a film without a declared size reports its measured size to a sealed Studio

* fix(studio): say why a sealed press or nudge can't move a layer when the frame never answers

* refactor(studio): split the sealed press and nudge replies so each says why it didn't start
2026-11-23 19:57:39 +00:00
Miguel Ángel d3c16bbe98 fix(studio): a waiting press says whether it waits on the frame or a save (#8596)
* Revert "test(studio): measure a sealed press by the element until the pointer moves (#8582)"

This reverts commit 2ce48f1502.

* test(studio): measure a sealed press by the element until it moves, unless Studio is saving

* fix(studio): say whether a waiting press waits on the frame or a save, and score it so

* refactor(studio): keep the press wait reason type private to its one owner
2026-11-23 19:57:02 +00:00