* 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
* 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>
* fix(studio): a ProRes clip's preview copy is no longer starved by thumbnail capture copies
* fix(studio): thumbnail capture pages keep their copies but ask for them behind the preview's
* 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
* feat(core): a sealed preview's frame runs an in-place text editing session for Studio
* fix(core): a text edit session restores a removed element and ends only for its own port
* feat(core): a sealed text edit ends keeping the text when its element loses focus
* test(studio): in-place text editing in a sealed preview runs in the frame and saves
* feat(studio): edit text in place on a sealed preview's canvas
* refactor(core): drop two comments the text edit helpers' names already carry
* fix(studio): a sealed text edit saves even when the selection moved before the frame replied
* fix(studio): a sealed text edit's selection box grows with the text as it is typed
* test(studio): a sealed text edit refuses a frame reply carrying a script or handler
* fix(studio): a sealed text edit saves only text markup the frame returns
Studio re-runs the frame's own test, isTextMarkup, on the html and previous a sealed frame returns, through
textEditResult and the ended-event parser in core. A reply or ended edit carrying anything else ends the edit
with the frame's original back and saves nothing.
* refactor(core): name the frame-reply markup check instead of explaining it
* test(studio): sealed text rollback, blur before unmount, and Enter on a refused layer
* fix(studio): sealed text edits keep newer drafts, save once on unmount, free Enter on refused layers
* test(studio): a blur-ended sealed save holds the drain, and over-limit text leaves Enter alone
* fix(studio): a blur-ended sealed save holds the drain; one size check for editable text
* test(studio): sealed inline tests dispose each frame's client, so no edit outlives its test
* refactor(studio): split the sealed end reply and edit-element parsing; share hook parameters
* test(studio): one table for an inline edit's save lifecycle, live and sealed
* fix(studio): an open inline text edit settles on a drain and ends when its element goes
* test(studio): an element removed mid-edit comes back showing its original, live and sealed
* fix(studio): a live edit's element removed mid-edit comes back clean, as a sealed one does
* test(studio): inline edit rows for a reopened draft, a re-added node and removal before focus
* fix(studio): an inline edit settles only its own session and ends when its element leaves
* test(studio): a reopened sealed edit types only after the frame handled its start
* test(studio): an untouched inline edit whose element goes saves nothing and says nothing
* fix(studio): an untouched inline edit settles with no save and no message
* test(studio): inline edit tests type before they commit; an untouched commit saves nothing
* test(studio): inline text saves keep their order per heading and a refused redraw shows after cancel
* fix(studio): inline text saves land in begin order per heading; an open edit shows a refused redraw
* test(studio): the sealed test frame reloads with a new runtime over the same heading
* refactor(studio): keep the rich text save order in one ref
* test(studio): a held lookup belongs to the save that reached it
* test(studio): inline text rows for late end replies, Design panel saves and refused redraws
* fix(studio): text saves land in request order per target; the canvas shows the newest landed save
* test(studio): Design panel rows edit a plain paragraph the panel can write
* test(studio): round-8 rows for late blurs, panel saves, skipped saves, reloads and retired edits
* fix(studio): the save pipeline owns the newest saved text per target, for every writer
* test(studio): a panel save made over an open inline draft saves the draft first
* fix(studio): a failed first text save draws the file again through the save drain
* test(studio): reload rows keep one hook across the reload, as the app does
* refactor(studio): move a text save's write steps out of the text commit hook
* fix(studio): the rich-text save imports the resync it uses from the moved steps
* test(studio): round-9 rows for an added field, an end in flight and a write after a cancel
* fix(studio): panel text saves plan against what landed and wait for a draft already ending
* test(studio): round-9 rows pin the added field whole and the superseded panel save
* test(studio): the added-field row keeps the space between the fields that were there
* test(studio): generated inline text sequences, sealed and unsealed, on the shared preview harness
* test(studio): a full reload loads the landed file, and an open edit ends at the sequence's end
* test(studio): each generated text seed reports every mismatch, sealed and unsealed
* test(studio): the text mount re-renders on each selection, and keys reach only an element in an edit
* test(studio): write fates follow write order per seed, and the model keeps frame reloads
* test(studio): the text table names writes Studio skipped, and compares styles in one order
* test(studio): saves queued on an element land before a new inline edit on it opens
* fix(studio): a new inline edit opens after the element's queued text saves settle
* test(studio): the queued-save rows act when the caret shows, as a person does
* test(studio): rows that reopened an edit before its save settled now open it after
* test(studio): the text table's frame reload waits for a live edit, as Studio's reload does
* test(studio): deadline seeds check a lost save is reported; reload-during-edit seeds wait on row 41
* test(studio): a sealed text edit holds a preview reload until it ends
* test(studio): reload-during-edit text seeds hold parity again
* fix(studio): a sealed text edit holds a preview reload until it ends, as an unsealed one does
* test(studio): the text table holds a reload by the preview's gesture document, as Studio does
* fix(studio): a sealed text edit's held reload waits for the end's reply, which carries the draft
* test(studio): a sealed edit's held reload waits for the end reply, and the port timeout releases it
* test(studio): a reload stays held until a frame-ended sealed edit's save has read the frame
* fix(studio): a frame-ended sealed edit holds the reload until its save has read the frame
* test(studio): the text table's reload also waits for pending saves, as Studio's shadow reload does
* test(studio): typing in a sealed edit whose start reply missed its deadline is saved
* fix(studio): a sealed edit whose start reply never came saves what was typed or says it could not
* test(studio): two panel saves on different fields of one element both land
* fix(studio): a panel text save composes on what landed, so a save on another field never drops it
* fix(studio): an older panel text save is superseded only by a newer one on the same field
* test(studio): a sealed edit stays open when its start reply misses the deadline
* fix(studio): a sealed edit whose start reply misses the deadline stays open and ends like any edit
* test(studio): a text table gesture waits for a reload in flight, as a person sees the frame first
* test(studio): the text table reads the caret after loads and edits only fields the panel shows
* test(studio): the text table tracks each text save as Studio's edit context does
* test(studio): a panel remove that ended an edit lands though a newer save claimed first
* test(studio): the remove rows answer the newest edit's end first, as the frame may
* test(studio): the remove rows open a second edit before the newer save, as seed 31 does
* test(studio): the remove rows release both held ends, newest first
* fix(studio): a field text save that waited on an edit lands though a newer save claimed first
* test(studio): a failed field save takes back its draw, and the next write waits for that
* test(studio): the failed add row saves from the panel as the canvas shows it
* fix(studio): a failed field text save takes back its own draw before the next save plans
* test(studio): a newer unsealed field save never writes a failed save's draw
* fix(studio): a field save re-reads its element only after an earlier save on it
* fix(studio): the newest failed text save still draws the file again; older ones take back their draw
* test(studio): the text table answers a request a released write sends while it settles
* test(studio): the text table releases a write that starts waiting while it settles
* refactor(studio): one serialization rule for text saves, and the queued-save wait clears its timer
* test(studio): the box-wake row's frame geometry carries its layout, as frames now send
* test(studio): a sealed text edit keeps the keys until it ends, in the sealed keyboard walk
* test(studio): a sealed text edit holds the frame's keyboard until it ends, then gives it back
* fix(studio): a sealed text edit keeps the keyboard in the frame until it ends
* test(studio): the keyboard rows' frame stays out of the DOM, so only the test loads it
* test(studio): a sealed text edit the frame never ends closes once Studio takes focus back
* fix(studio): Studio taking focus back ends a sealed text edit and its keyboard hold
* test(studio): the sealed keyboard walk ends an edit the film never ends by focusing Studio
* test(studio): the sealed keyboard walk follows the preview a save reloads
* test(studio): the sealed keyboard walk retries a step whose preview a save replaced
* test(studio): the sealed keyboard walk picks the heading again in the reloaded preview
* refactor(studio): split the text save helpers and harness so each stays within the audit limits
* test(studio): the sealed keyboard walk finds the live preview each step and types once it has focus
* test(studio): the sealed keyboard walk picks the heading again when a reload eats its Enter
* test(studio): the sealed keyboard walk retries a canvas pick a reload swallowed
* refactor(studio): group the text hooks' refs and session-end effects so each stays within the audit
* test(studio): a double press opens a sealed heading's text edit
* test(studio): split the seeded text sequences over two files so each fits the flake gate
* test(studio): an inline edit's text survives a panel edit of another field after it
* build(producer): its size budget covers the frame runtime's sealed text editing
* fix(studio): a sealed double press opens the layer it picked, at the press, and a lost edit says so
A sealed first press is often on a layer the frame has not picked yet, so sealed presses pair by time and place and the second must land on the selection's box. The caret goes where the press landed, and a frame that never answers an end is reported through the edit session's toast, which Desktop provides.
* fix(studio): a sealed text edit hands the keyboard back to the control that opened it
* test(studio): a panel remove made before the panel shows an add keeps the added field
* test(studio): a sealed inline text edit typed in steps saves as one undo step
* refactor(studio): a sealed press learns it hit the selection box from its own event
The selection box stays as on main. The press handler splits into pairing and opening, sealed presses pair by place in isDoublePress, and the edit session's existing complexity gets the next-line ignore its peers use.
* fix(studio-server): a save asked to be recorded keeps its own undo step beside an import
* fix(studio-server): a waiting save keeps its step past a failed entry or an open agent window
* fix(studio): keep a sealed drag's waiting outline until the frame draws its replay
* fix(studio): wait on the frame a reload swapped in before showing a sealed replay
* fix(studio): only the newest sealed replay's draw clears the waiting outline
* fix(studio): give the sealed waiting outline one owner per overlay mount
* refactor(studio): the waiting outline decides what a replay's end means
* test(aws-lambda): build the audio sidecar test's large video in well under a second
* test(aws-lambda): check the audio sidecar holds only an audio stream
* test(aws-lambda): end ffprobe options before the sidecar, and skip without ffprobe
* fix(studio): a sealed gesture recording keeps the layer's offset and the film's scale
* fix(studio): a sealed recording starts from the frame's static opacity and scale
* fix(studio): a recording stops at the layer's end and drops a stale sealed start
* fix(studio): a recording's last sample snaps to a frame at or before the layer's end
* chore(producer): raise the unpacked size budget to 5% above what main ships
* fix(studio): a sealed save draws in the reply's task and spares a regrab's draft
* fix(core): a sealed patch redraws a repeating timeline on the pass it's on
* fix(skills): ask before usage notes and destroy, and keep media downloads on public hosts
Media downloads now connect only to an address the host name resolved to after checking it is public; a name that points at a private address is refused before connecting. Skills tell the person once before sending usage notes and honour a no; a catalog gap report no longer carries the search text. Reverse says plainly it needs a HyperFrames Pro sign-in, and cloudrun/lambda destroy wait for the person's yes.
* fix(media-use): give each media download its own connection
* chore(skills): refresh the skills manifest and split out the gap report step
* test(studio): a sealed resize moves its box by the rounding remainder an unsealed one measures
* fix(studio): a sealed resize keeps the dragged corner on the pointer at fractional sizes
* test(studio): a sealed resize's remainder matches on a box with its own scale
* fix(studio): a sealed resize of a scaled layer keeps its corner on the pointer at rest
* test(studio): a sealed resize moves its box by the rounding remainder an unsealed one measures
* fix(studio): a sealed resize keeps the dragged corner on the pointer at fractional sizes
* test(core): a page naming one script in thousands of tags bundles once
* fix(core): a page naming one script in thousands of tags builds once
* test(core): a nomodule or data-block twin keeps the regular script, many spellings stay fast
* fix(core): keep the regular script beside a nomodule twin and index script tags once
* test(core): tags of many types naming one file add a bounded number of copies
* fix(core): one file is inlined at most four times, whatever types its tags name
* test(core): every data block keeps its text, and many copies of one file are refused
* fix(core): charge each inlined script copy to the page's size limit, not a per-type cap
* test(core): two data blocks of one type naming one file both keep their text
* fix(core): only runnable scripts are deduplicated; every data block keeps its text
* test(core): a sealed draft's cancel leaves a transform it never drew to GSAP
* fix(core): a sealed scale resize shows its new scale once saved, not the old one
* test(lint): pages with thousands of scripts and tags lint in linear time
* fix(lint): a page with thousands of scripts and tags lints in seconds
* test(lint): bound how lint time grows with tags, not a slow runner's clock
* test(core): a sealed resize probe measures a % translate the way the draft draws it
* fix(core): a sealed resize keeps a layer centred by a % translate under the pointer