Commit Graph
7943 Commits
Author SHA1 Message Date
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 10b105fb26 fix(skills): raise the launcher's minimum CLI release to 0.9.80 (#8651)
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.
2026-11-24 07:22:06 +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 9bf40af0e5 fix(publish): a release builds arm64 ffmpeg itself and publishes only its own pack (#8641)
* 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.
2026-11-24 07:02:33 +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
v0.9.88
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
Ular Kimsanov 34c7e64bb1 docs: the quickstart's first door opens HyperFrames Studio in the browser, the download beside it (#8625) 2026-11-24 01:44:13 +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
v0.9.87
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
Ular Kimsanov 80402d278a docs: banner and top button point to HyperFrames Studio in the browser (#8619)
* 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
2026-11-24 00:14:36 +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
Miguel Ángel 8376f32e0c feat(studio): apps embedding Studio can style a sealed pick as Studio's panel does (#8614)
* 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
2026-11-23 19:51:32 +00:00
James RussoandClaude Fable 5.2 c03897fc11 test(cli): count print calls whose value is not plainly the CLI's own (#8608)
* 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>
2026-11-23 19:45:31 +00:00
Vance Ingalls 590617475f fix(producer): a render's compile runs on its own thread and stops at a deadline (#8611)
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.
2026-11-23 10:34:44 -08:00
Miguel Ángel 4f863db6d7 fix(studio): an unsealed recording on an empty timeline records up to the composition's end (#8606) 2026-11-23 17:00:39 +00:00
James RussoandClaude Fable 5.2 31be52d934 fix(cli): give --json the failure text as typed for cloud commands (#8607)
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>
2026-11-23 16:59:45 +00:00
James RussoandClaude Fable 5.2 8948e63cb7 fix(cli): show control characters as text in more lines that repeat a stored value (#8603)
* 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>
2026-11-23 16:58:39 +00:00