* 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
* 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
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.
* 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
* 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
* 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
* 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
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.
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.
The skills launcher refuses CLI releases older than its floor, for a plugin
pin or a standalone selection. The floor stays at or above the oldest release
the HyperFrames Desktop app accepts, which is now 0.9.80. The launcher, its
tests and the docs that state the floor move to 0.9.80.
* 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
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.
* 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
* test(publish): a release restores no shared cache and packs its own bundle
* fix(publish): a release builds arm64 ffmpeg itself and publishes only its own pack
No release job restores an Actions cache, and pack no longer adopts a release-bundle
it did not build: publish downloads the bundle by the id pack reported.
* 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
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>
* 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
* 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
* 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
* 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>
* 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
* 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
* 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
* docs: banner and top button point to HyperFrames Studio in the browser
A dismissible banner on every docs page says Studio is here and links to
hyperframes.studio (src=docs-banner). It follows the light and dark theme,
with a brand-gradient "New" pill. The top button reads Open Studio and opens
the web app (src=docs-navbar) instead of the download page. The sidebar and
page content move down by the banner height while it shows (0 once dismissed).
The Discord button shows its icon and online count without the server name,
like the GitHub button already does.
* docs: the attribution script's comment names which links still read ph_id
* 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
* 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>
* 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.
* 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(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
* 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
* test(studio): an embedding app styles a sealed pick through the public API
* feat(studio): apps embedding Studio can style a sealed pick as Studio's panel does
* test(cli): count print calls whose value is not plainly the CLI's own
Each CLI source file's count of such print calls is kept in a baseline,
so a new one shows up in the change that adds it. Print calls whose
output another program reads are named in the test.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
* test(cli): tighten the print count rule
A name the file declares itself is no longer taken for the colour helper
or a converter, a local form of a value counts unless the value is a
number, JSON text inside a line for people counts, and spinner lines and
clack's framing calls are counted too. A file listed with more calls than
it has now gets a message that names the list.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
* test(cli): name the lines other programs parse
The count rule now also sees writes to a bare `stdout` or `stderr`, and
the `@hf-*` lines and the `--json` failure body are listed as output for
another program instead of sitting in the baseline.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
---------
Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
A compile that ran long held the render server's main thread, so the
render's cancel, its maxRenderMs guard, a client disconnect and /health
could not act until it finished. The compile now runs on a worker
thread. The render's abort signal stops it, and a 10-minute cap ends it
with COMPILE_TIMEOUT, a non-retryable user error. Production compiles
over 7 days peaked at 154 s (p99.9 18 s). HYPERFRAMES_COMPILE_TIMEOUT_MS
overrides the cap.
Bundles that inline the producer name the worker with
HF_COMPILE_WORKER_ENTRY, or compile in-process as before. The producer's
packed-size budget grows for the worker bundle.
A failed --json run of lambda, cloudrun and beats answered with the
message as people see it on the terminal, with control characters
already written out as text. The JSON message now carries the value as
it was given; the line for people is unchanged.
Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
* fix(cli): show control characters as text in more lines that repeat a stored value
Lines printed by the timeline edit commands, check, diff, preview --list,
telemetry status, the update and skills notices, the FFmpeg install hint, the
cloud render data-fps warning, the capture font summary, the project key notice
and the plain progress lines of a run with no terminal now pass the repeated
value through the text helpers, as the other commands' lines do.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
* fix(cli): leave Windows line endings out of a planned diff
A file saved with CRLF line endings had every changed line of the
planned diff end in a visible \x0d. The line ending is now dropped
before the line is shown; a carriage return inside a line still shows.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
---------
Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>