* fix(cli): DO_NOT_TRACK and HYPERFRAMES_NO_TELEMETRY turn telemetry off the same way everywhere
* fix(skills): the standalone media-use skill reads telemetry opt-outs through the shared check
* ci: run the edit accuracy bench when the shared telemetry opt-out check changes
#8782 added the folder walk in the engine's ffprobe path and its error
class, which takes the packed engine to 517176 bytes, more than 1% over
the 511900 budget, so main's Build (verify:packed-manifests) fails. The
budget rises to 522000, about 1% above the measured size.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* fix(media-use): accept CAF, W64, WavPack, AU and AC3 audio again
The self-contained reader lists left out five single-file audio containers,
so recordings in those formats stopped probing. Each one holds its own
media and opens no other file. Add their ffmpeg reader names (caf, w64, wv,
au, ac3) to the skill's list and to the parsers fallback list.
When a file is still refused, the message now names the accepted
containers instead of saying ffmpeg cannot read it.
* test(parsers): end ffprobe options with "--" in the container probe test
* fix(cli): media-use resolve accepts CAF, W64, WavPack, AU and AC3 audio
Add the same five single-file audio containers to the CLI media-use
reader list, and to the drift check's stand-in demuxer listing.
* chore(parsers): raise the unpacked size budget for the wider container list
The five added reader names push @hyperframes/parsers a few bytes past
its 1% tolerance; it was already within 0.1% of the limit on main.
* fix(engine): read ffconcat lists only as ffmpeg reads them
The playlist folder check now refuses an ffconcat list with a lone CR or
NUL, a file value in any form but a bare name or one fully single-quoted
name, text after the name, or an option line. A nested entry with no name
that exists no longer passes. Applies to project and downloaded media.
* test(engine): reach the ffconcat lone CR, NUL and backslash guards
The lone CR and NUL cases now sit after a comment line, so the trailing-text
rule no longer refuses them first, and a bare name with a backslash is refused
even when a file by that name exists.
* test(engine): keep the walk's entry budget test fast; fit the engine budget
The under-budget half now writes 100 files instead of 1000, since the walk
opens every entry and the test timed out under the flake gate's load. The
engine's packed budget rises by 360 bytes for the stricter ffconcat reader.
* chore(engine): leave headroom in the engine budget after main's engine changes
* test(cli): write the segment a kept snapshot playlist names
* refactor(studio): drop the timeline stacking-mode move no drag reaches
* chore(studio): name the timeline stacking-mode files as agreed deletions
* fix(studio): keep the z-index commit option hosts may still pass, as a no-op
* fix(studio): keep the stacking field hosts may still pass to a timeline move, ignored
The catalog page's Copy wiring and Snippet tab wrote the variable values
into a single-quoted attribute as plain JSON. A value holding ' ended the
attribute early and a value holding & was read as a character reference,
so the pasted element did not carry the values the page showed.
Both characters are now written as references. Free text that a page link
set also waits in the wiring, the Snippet tab and Copy JSON until the
reader sets it on the page, as it already did in the agent request.
Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
claude-exchange set its editable strings through the same helper that writes
its own icons and layout, and slack-notification-ad built the payoff logo tag
by joining strings. A value holding tags or quotes became elements and
attributes instead of showing as typed. Editable strings now go through
textContent, and the payoff logo is an img bound with data-var-src, so it takes
the same addresses as every other image variable.
slack-notification-ad no longer writes markup, so its entry leaves the
markup-write baseline.
Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
* fix(media-use): carve decodes only media files inside the composition's folder
carve.mjs resolved each media src from the composition and handed the result to ffmpeg, so an
absolute, climbing, UNC or linked name reached a file outside the project, and a playlist inside
the project was followed to the files it lists. Each src must now be a relative name that lands
on a regular file inside the composition's folder after links are resolved, outside the files the
project keeps private, and free of ffmpeg pattern characters. Every source is checked before any
is decoded. ffmpeg then reads the one file, pinned to its probed format and the file protocol,
and a list or playlist format is refused.
The probe and the pinned input move from recording.mjs into lib/media-input.mjs so both scripts
share them. The private-path rule and the image2 pattern guard are bundled into audio-carve.mjs
from packages/parsers.
* fix(media-use): media-input.mjs loads the Windows program guard first
Every skill script that starts programs imports windows-exe-search.mjs before anything else, so
ffprobe and ffmpeg are never looked up in the working directory on Windows.
* 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
* 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
* 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.
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.
* 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(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(skills): a description a pasted link alone triggers is refused
* fix(skills): a pasted figma link alone no longer picks the figma skill
Its description said 'use when the person pastes a figma.com link', so a link with no task started the video workflow (OSS #8530's case). It now names the task; the lint refuses any description a pasted link alone triggers.
* test(skills): past and passive link-alone wording is refused too
* fix(skills): the link-alone rule reads any tense; figma's description fits its budget
* chore(skills): regenerate skills-manifest.json for figma's description
* test(producer): an older GSAP our templates name, or a blocked CDN's GSAP 3, renders offline
* fix(producer): a render serves every GSAP the CLI ships, and its own when the CDN is blocked
* fix(cli): the CLI's size limit covers the GSAP 3.14.2 files renders serve
* test(player): a late timeline from the old document must not make the next load ready
* fix(player): a late timeline from the old frame document no longer makes the next load ready
* test(player): type the announce filter in the late timeline rows
* test(player): a static ready at load still asks for the runtime's held timeline
* fix(player): a static ready at load still asks the runtime for the timeline it held
* test(player): a late message the left document stamped is dropped without waiting for load
* fix(player): drop a late message from the left document, so the next is ready before its load
* test(player): the late-timeline row replays the sealed document's own timeline
* chore(player): the player's size budget sits 5% above its measured size again
* test: runtime load draws no page randomness; Studio pins the announce capability
* fix(core): the runtime's document id comes from its time origin, so renders keep their random draws
* test(core): two documents loaded at one coarsened time get different runtime ids
* fix(core): the runtime's document id is a random UUID where the browser has one
* fix(ci): a shard whose results never uploaded is re-run, and never read as an edit accuracy drop
* refactor(ci): the edit accuracy shard count lives in one place, and a test keeps the matrix on it
* fix(engine): a heavy page starts only as many capture browsers as the machine's memory holds
Worker 0 loads the page alone; its browsers' measured memory caps how many more launch, and the frames are split again across the ones kept. A worker phase that starts after the pool was cancelled no longer leaves its own failure unhandled.
* refactor(engine): drop a frame-range update the capped first worker never reads
* chore(engine): its packed size budget grows by the 1,040 bytes the worker memory cap adds
* test(engine): the re-split pool test builds its folder paths the way Windows does
"No visible change" now holds for any diff under packages/studio or
packages/player that touches no .tsx, .css, .html or binary file. Before,
it also needed under 20 changed lines, so a larger logic-only fix had to
attach captures of nothing. A binary file, such as an image, now counts
as visual directly instead of through the line budget.
* fix(studio-server): a file the drive never answers no longer holds a project's first history copy
* fix(studio-server): keep history's comment share at or below its base
* fix(studio-server): a first copy that lands past its deadline is kept as the file's start
* fix(studio-server): a late first copy is adopted and kept while another file's read is stalled
* fix(studio-server): a waiting late first copy counts as baseline and rereads a few at a time
* fix(studio-server): every reread of an owed file takes a copy slot and is kept until adopted
* fix(studio-server): history pins a copy as it is filed and keeps a reference-only copy as such
* fix(studio-server): a history pin is taken and released by its owner, never across a delete
* fix(studio-server): an agent step waits at most a deadline for a file the drive never answers
* fix(studio-server): undo refuses a file whose first copy landed after an agent step rewrote it
* chore(studio-server): give the packed size budget its usual 5% headroom
Main packs to 190,094 bytes, already 0.65% over the 188,871 budget; this branch adds 1,264 bytes of its own code (no new import: dist/index.js is unchanged). The budget file's rule is 5% above measured: ceil(191,358 x 1.05) = 200,926.
* fix(studio-server): an agent step that goes ahead of a first copy owns that file's undo
* fix(studio-server): undo of a step that went ahead of a pending first copy is all or nothing
* fix(studio-server): an undo after a step that rewrote a pending file in place still refuses
A went-ahead file now clears from a step's list only when the first read after its copy lands finds the original
bytes, not when its size and times look unchanged. The list of went-ahead files is kept on disk, so a restart
before the step closes, or after it deleted the file, keeps the refusal. Parts a Studio claim cuts from a step
keep the list too.
* fix(studio-server): a step ahead of a pending file refuses undo after Cmd+Z, restarts, in older apps
Cmd+Z stops at an open step whose only write so far is a pending file. A step recovered after the process died
keeps its list of pending files. A later Studio save's receipt no longer sets the start of a file a step went ahead
of. Every earlier point names a pending file as not kept, so no restore deletes it in any app version.
* fix(studio-server): a step that went ahead of a pending file never undoes, whatever bytes land
Bytes cannot tell steps apart: a file written A, B, then A again by two steps looked untouched and cleared both. A
step's list of files it went ahead of is now never cleared, so its undo refuses after a stalled read.
* fix(studio-server): a recovered step keeps its guard through a second crash; saves keep the start
The closed window is recovered before the reopen rewrites went-ahead.json, so a crash during recovery no longer
erases its list of pending files. A copy read before a step went ahead is the file's start whatever a later save's
receipt says it replaced.
* fix(studio-server): a start keeps receipts heard before its read; reopen writes all pending files
A copy read before a step went ahead follows only the save receipts heard by the moment of its read, so an early
save's original stays the start and a later save naming the step's bytes cannot replace it. The reopen rebuilds
the list of pending files in memory and writes it once, so a crash midway keeps every file on it.
* fix(studio-server): a first copy's start follows only receipts heard by its read and keeps them
Every adopted copy follows the save receipts heard by the moment of its read, with or without a step, so a later
save writing the original back cannot move the start. A small file's read is reported before its close, which a slow
drive can hold. Bytes a save replaced in a file history has no copy of yet stay through pruning until it does.
* fix(studio-server): bytes kept for a pending first copy count as start, not undo history
The bytes a save replaced are kept only for a file still owed its first copy, and they count as start rather than
undo history, so they never fold an unrelated edit out of the budget or stay for a file that never needed them.
* fix(studio-server): a file the drive never answers no longer holds a project's first history copy
Each file the first copy reads gets a deadline from when its read starts. A file that misses it is left owed and
adopted once the drive answers, keeping the bytes it read as the file's start, so the open finishes.
* fix(studio-server): a late first copy starts from receipts heard by its read, kept through pruning
A late first copy follows only the save receipts heard by the moment of its read, so a later save writing the
original back cannot move the start. The bytes a save replaced in a file still owed its first copy stay through
pruning, counted as start rather than undo history, until that copy is recorded.
* chore(studio-server): give the packed size budget its usual 5% headroom
* fix(ci): release checks refuse a patch release that carries a breaking change
* fix(ci): a reverted breaking change no longer holds a patch release
* refactor(ci): each release check is its own function
* revert(cli): hold the proxy fix and its Node floor for v0.10.0
This reverts commit 2960319749 (#8311), except a stale fallow-ignore line it had removed.
* chore(ci): allow the revert to delete the three files the proxy fix added
* test(studio-server): a preview file request on a silent drive asks it nothing on the event loop
* fix(studio-server): a preview file request reads its project off the event loop
* ci(studio-server): refuse a new synchronous fs call in Studio's routes and history engine
* fix(studio-server): a preview file request and a miss stay off the event loop to the end
* test(studio-server): a shared still's remake no longer depends on busy requests' slot order
* fix(ci): the studio-server sync fs gate counts every sync call node:fs has, globSync included
* test(core): a predicate reads only aliases in its own namespace
* fix(core): look up SVG selector aliases by namespace before matching their values
* refactor(core): index each SVG alias by attribute in its own function
* chore(core): regenerate the inlined alias module and the catalog font mirror index
* test(core): re-record the page goldens for the new inlined alias module
* refactor(core): pick a predicate's alias index in one place
* chore(core): regenerate the inlined alias module and page goldens
* test(core): pin attribute-selector alias lookups to their matches
* fix(core): look up attribute-selector aliases by sorted key instead of scanning each
* test(core): refresh page goldens for the indexed alias lookups
* refactor(core): keep the alias module's comment share
* refactor(core): pick each attribute operator's lookup from a table
* test(core): refresh page goldens and the catalog font mirror for the table lookups
One failed upload failed the whole release with the other packages already
out, and the next run could not finish it. The publish step now tries each
package up to three times. Every try asks the registry first, so a package
that went out on a try that reported failure is not sent again, a version
there with other contents still fails at once, and after the last try the
registry is asked once more before the package counts as failed.
Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
The hyperframes-cli skill told a job with no TTY to pin the release with
the project's pinned npm run scripts. Agent shells rarely have a TTY, so
a project from someone else could choose what the agent runs through its
package.json scripts, .npmrc or node_modules.
The skill core now offers only the launcher with an exact version from
the person or from --cli-version latest --version. The unattended
reference keeps project scripts and project installs for a person's own
pipelines on projects they wrote. The Remotion eval flow is scoped to the
fixtures the skill ships. A new skill lint check fails when a shipped
SKILL.md documents npm run, an npm install of the CLI, or
node_modules/.bin/hyperframes.
In a job with no TTY nothing prompts: the CLI exits 2 and names `--yes`,
and `npx` skips its own "Ok to proceed?" whenever stdin is not a
terminal or CI is detected. What an unversioned `npx hyperframes` still
does is fetch the latest release on every cold cache, so two jobs that
start together can collide in npm's cache (`_cacache` for the fetch,
`_npx` for the install: EEXIST / ENOTEMPTY, a retry succeeds), and a
new release silently changes what the same command renders.
The hyperframes-cli skill now routes no-TTY jobs to the project's
scaffolded `npm run` scripts (each already `npx --yes hyperframes@X.Y.Z`)
or a pinned `npx --yes`, never bare `npx hyperframes`, and the loop's
render step checks `data-width`/`data-height` as well as `data-duration`.
The new references/unattended.md holds the detail and says why
interactive flows (`update`, reverse-any-video) float to `@latest` while
unattended jobs pin. The CLI reference page gets the matching paragraph.
The SKILL.md budget goes up 256 B per the file's +N-comment pattern, and
skills-manifest.json is regenerated.
* test(studio): pasting a preview's own element keeps only markup that runs no code
* fix(studio): paste refuses an element with an event handler or a script link
* fix(studio): paste checks only markup that is not in the saved file
* test(studio): paste refuses code in elements and in links spelled to slip past
* fix(studio): paste refuses scripts, inline frames and links a browser would read as script
* refactor(studio): one owner for markup safety and the saved-or-live copy plumbing
* refactor(studio): keep the saved-markup helpers private to their module
* test(studio): clipboard text cannot mark a pasted clip as saved
* fix(studio): clipboard text cannot mark a pasted clip as saved
* test(core): a selector with many unclosed openers must scan in linear time
* fix(core): scan a selector's quoted, bracketed and comment parts in one linear pass
* refactor(core): split the guarded scan's bracket and escape steps into small helpers
* test(core): page goldens carry the linear selector scan the pages now inline
* test(catalog): mirror the font subset requests the pages' new inline scan text makes
* style(core): wrap the guarded scan's doc comment under 120 columns
* test(producer): pin that an alias list written into authored HTML never reaches the CSS
* test(producer): keep the alias test's comment within the line limit
* fix(core): read selector aliases only from what the compiler wrote
* test(producer): cover root-only pages and kept templates for authored alias lists
* fix(core): also drop authored alias lists from kept templates and root-only renders
* fix(core): walk each kept template once when dropping authored alias lists
* chore(catalog): mirror the font requests of pages carrying the new alias installer
* fix(core): leave linkedom template content uncopied when dropping authored alias lists
* fix(core): drop authored alias lists inside SVG elements named template
* test(core): count every element the alias cleanup processes
* fix(core): visit each element once when dropping authored alias lists
* chore(core): regenerate the inline selector alias installer
* test(core): refresh page goldens for the regenerated installer
* test(core): svg attribute selectors rewrite in linear time over many fragment references
* perf(core): index a scope's svg reference aliases once by id and attribute name
* refactor(core): split svg attribute alias lookup out of the selector rewrite
* test(core): refresh page goldens and font mirror for the smaller inlined svg alias code
* test(core): repeated references to one svg symbol rewrite in linear time
* test(core): count alias checks so repeated svg references show quadratic work
* perf(core): index each repeated svg reference alias once
* fix(studio): a script edit re-runs in place in a sealed preview, without a reload
* fix(studio): a sealed timing edit takes the saved clip and film timing along with its soft reload
* test(studio): the sealed timing test checks a soft reload was sent before reading it
* refactor(studio): the sealed soft reload code passes the quality audit without suppressions
* chore(core): core's size budget makes room for the sealed preview's frame-side editing code
Main already measured 1,841,737 bytes packed against a 1,830,000 budget; the sealed soft reload brings it to 1,855,277. Budgets follow SIZE_BUDGET_HEADROOM: ceil(1,855,277 x 1.05) packed, ceil(4,665,659 x 1.05) unpacked.
* fix(core): a sealed timing edit is not skipped when a nested file's root repeats a clip's id
* fix(studio): a value or keyframe edit shows in place in a sealed preview
* fix(studio): a sealed group edit reloads once at its end, and a batch renders its last tween
* refactor(studio): the sealed tween patch path lives in its own module
Keeps useGsapScriptCommits under Studio's 600-line limit, and records the authoredOpacity helpers' move into core as an intended deletion.
* refactor(studio): the sealed tween patch code passes the quality audit without suppressions
Splits the frame-side change parser per kind, the tween lookup and keyframe rebuild into small checks, and the reachable-preview patch out of applyPreviewSync; drops an unused type re-export.
* feat(producer): a render that fails on a missing file says what was gone again
Restores the diagnostic the previous commit on main took out, as it was; the commits after it confine what it looks at.
* test(producer): render failure diagnostics never probe a path from error text or outside the render
* fix(producer): probe a missing path only from a real error, inside the render's folders
describeMissingPath now reads only the path Node set on an ENOENT error, never
one quoted in a message the page can write, and looks on disk only under the
render's temp root, extract cache or work folder. Any other path is named from
its text, so a network share is never contacted and the facts cannot tell an
existing path from a missing one.
* test(producer): a missing-path probe never passes an outside link or climbs above its folder
* fix(producer): walk down from the render's own folder and check each link before following it
* build(producer): give the packed size budget its 5% headroom with the missing-file diagnostic back
#8173 set the budget to 82,000 against 81,378 bytes measured, about 0.8%
over. The budget file's own rule is 5% above measured, so the next small
change would trip it again: ceil(81,378 × 1.05) = 85,447.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* revert(producer): a render that fails on a missing file stops naming what was gone, for now
This reverts commit cfea8cfff5 (#7955). The detail comes back in a follow-up that only looks inside the folders the render owns.
* revert(producer): name the files the #7955 revert removes in the deletion guard
* fix(aws-lambda): match the shell to its own pin, ship only hashed files, refuse the shell ZIP in CDK and SAM
Review follow-ups to the pinned shell route:
- build-zip --source=chrome-headless-shell accepts the folder only when its
digest is pinned for this version, not for any pinned build.
- It leaves out the files the digest skips (debug.log and chrome_debug.log,
which Chrome writes as it runs), so nothing unhashed ships.
- The CDK construct throws on chromeSource "chrome-headless-shell" and the
SAM template allows only sparticuz, as lambda deploy already refused it:
a shell ZIP cannot fit a function. The CHROME_PATH wiring for that ZIP is
gone with it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* chore(aws-lambda): raise the packed size budget to 82,000 bytes
The shipped build-zip script now checks the shell against its own
version's pin and skips the files the digest leaves out. That takes the
tarball to 81,378 bytes in CI, over the 80,500 budget's 1% tolerance;
main was already within about 200 bytes of it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
- build-zip --source=chrome-headless-shell stages only the repo's pinned
build (managedChromeVersion) and only when its folder matches the pinned
digest (isPinnedHeadlessShell), instead of the newest folder in the cache.
The folder cannot fit a ZIP function, so lambda deploy refuses
--chrome-source chrome-headless-shell up front on either arch, and the
docs say the arm64 video image is where the shell runs.
- build-zip prints the headroom under the unzipped gate, and a new
"Lambda handler ZIP" workflow builds the ZIP on PRs that touch the code
it bundles, so growth fails before merge rather than in the release job.
- The arm64 image keeps @sparticuz/chromium's fonts and fonts.conf from the
handler ZIP (FONTCONFIG_PATH=/var/task/fonts) instead of liberation-fonts,
so text falls back to the same fonts as on x86. The image workflow renders
a mixed-script page on both arches and fails when any line resolves to
different platform fonts.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* test(studio): share one sealed preview frame that delivers messages like a browser
* test(studio): name the sealed frame's port wrapper instead of commenting it
* fix(ci): the capture check treats .test-helpers files as tests, like the rest of the repo
* test(studio): keep the sealed frame's delivery helper private
* fix(studio): keep test helpers out of Studio's typecheck, like core does
* fix(skills): the launcher's floor is 0.9.65, the oldest release Desktop ships
The skill launcher now refuses any HyperFrames release older than 0.9.65, the oldest release
the HyperFrames Desktop app ships. This applies to --cli-version, to
HYPERFRAMES_STANDALONE_CLI_VERSION, to a helper started with --script and to a plugin manifest
pin. A standalone install's default npx range starts at 0.9.65. Every plugin manifest in this
repo already pins 0.9.65.
The skills guide and the plugin installation reference name the current floor, and a test
keeps them in step with the launcher. Desktop's release checks read the floor from the
published launcher, so a comment asks that it stay a string literal.
* test(skills): a helper started with --script forwards a release at the launcher's floor
The accept loop now also starts a --script helper, so all four paths are shown accepting 0.9.65.
* fix(aws-lambda): run chrome-headless-shell 158 in the arm64 video image
The arm64 video image now installs Chrome for Testing's linux-arm64 chrome-headless-shell
158.0.8127.36, pinned by sha256 and fetched with curl -f, as the whole shell folder. The Lambda
Node 22 base has none of the shared libraries the shell links and no fonts, so the image installs
them from the base's repository at the same pinned release. The image sets
HYPERFRAMES_LAMBDA_CHROME_SOURCE and HYPERFRAMES_LAMBDA_CHROME_PATH itself, and the nested video
function no longer passes ChromeSource, which would override them. stage-arm64-image.ts stops
fetching the sparticuz arm64 pack and drops the ZIP's x86 sparticuz Chrome instead.
The x86 handler ZIP stays on @sparticuz/chromium, bumped from 148.0.0 to 153.0.0. It builds at
258,502,222 bytes unzipped, under Lambda's 262,144,000-byte limit and the 248 MiB in-house gate.
Two fixes for --source=chrome-headless-shell:
- build-zip.ts staged only the executable, which exits at launch without its ICU data and .pak
files. It now stages the whole shell folder at chrome-headless-shell-linux64/.
- Nothing set HYPERFRAMES_LAMBDA_CHROME_PATH, which src/chromium.ts requires for that source.
The SAM template and the CDK stack now set it to the bundled shell when ChromeSource asks for it.
Drops the unused @types/aws-lambda devDependency, which the dead-code audit reports whenever this
package's manifest changes.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* ci(publish): build the Lambda arm64 video image on an ARM runner
The video stage now installs Chrome's system libraries with microdnf, so it runs code for arm64.
The pack job built that image on ubuntu-latest with no emulation, which it could do only while the
stage copied files. A new lambda-video-image job builds it natively on ubuntu-24.04-arm, from the
handler zip whose sha256 the zip job reported, and reports the OCI tarball's sha256. Pack downloads
that tarball, checks the sha256 against the job's, and pins it as before.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* chore(aws-lambda): fit the comment ratchet and the package size budget
chromium.ts loses the two doc lines on BUNDLED_SHELL_DIR and BUNDLED_SHELL_PATH; the names and the
SAM template's comment already say what they are.
@hyperframes/aws-lambda's unpacked budget goes from 290,508 to 298,000 bytes. The package unpacks to
295,324 bytes, up from the shared chrome-headless-shell staging module the ZIP and image scripts now
import and from the README and docs that describe the two Chrome sources.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
A page that embeds <hyperframes-player> can now give it its own play,
pause and volume icons and its own loading logo, by putting elements with
a slot attribute inside the player. Anything the page leaves out keeps
today's HyperFrames look.
Co-authored-by: robinebers <16515780+robinebers@users.noreply.github.com>
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
* fix(cli): tests read opencv.js from a CI cache, never a CDN mid-test
* chore(ci): re-pin the cli test job after its opencv cache step
* chore(cli): one-line note on the opencv cache copy