Commit Graph
1643 Commits
Author SHA1 Message Date
terencecho 44d49a5219 fix(share): exclude private paths from portable project files (#8804)
* Align editable-source capture with the v12 portable path policy

* docs: explain which project metadata can be served

* fix(share): preserve authored hidden paths in the private-file policy
2026-11-25 05:59:05 +00:00
Miguel Ángel fbdfd188c4 fix(player): a sealed player fails a cross-site film without the runtime as unsealed does (#8558)
* 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(player): a sealed player fails a cross-site film without the runtime exactly as unsealed

* 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

* docs(player): the README's timeout sentence matches the shared error

* 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

* fix(player): a film from another site that times out names the fix, in both modes

* fix(player): the no-listener warning tracks listeners by capture and drops once and aborted ones

* 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

* fix(player): warn only when no error listener ran, and leave the source URL out

* fix(player): an error listener of null is passed through, as the DOM accepts it

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

* fix(player): an onerror handler that clears itself still counts as heard

* 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

* test(player): the listener waits run past the load limit, as the cross-site wait does

* fix(player): a sealed player that couldn't read its page names the runtime fix again

* fix(player): a same-site page still being fetched keeps the plain timeout

* test(player): a sealed player with no film gets the plain timeout
2026-11-25 03:54:38 +00:00
Miguel Ángel d55ecae30e fix(producer): auto GPU mode measures its choice once per machine and reuses it (#8788)
* fix(producer): auto GPU mode renders in software when software captures faster

On a Windows laptop with an AMD Radeon 840M, auto mode picked the hardware
GPU, calibration measured screenshot capture at ~1.6 s/frame p95, and the
render dropped to 1 worker: a 10 s clip took 5m27s. Software WebGL
captured the same frames at ~0.28 s/frame on 5 workers.

When auto mode resolved to hardware and calibration measured it slow, time
software too and keep whichever is faster. Explicit --browser-gpu and
--no-browser-gpu are unchanged.

* test(producer): pin the auto GPU switch to software and document it

The orchestrator test drives a render in auto mode with a slow hardware
calibration and a faster software one, and checks that capture gets
browserGpuMode software and worker sizing uses the software estimate.
The CLI docs say auto can now switch to software after calibration.

* fix(producer): auto GPU mode measures its choice once per machine and reuses it

A render with --workers skipped calibration, so auto mode never compared
the GPU with software capture and stayed on a slow GPU path. Now render
measures the choice once per machine, GPU driver and HyperFrames version,
even with --workers, keeps it in gpu-choice.json under the config folder,
and later renders reuse it without calibrating.

* fix(producer): keep captureCost's comment share from rising
2026-11-25 02:43:01 +00:00
Miguel Ángel dcdb181896 chore: release v0.9.93 (#8796) 2026-11-25 02:06:42 +00:00
Miguel Ángel c5ed60fc83 fix(producer): auto GPU mode renders in software when software captures faster (#8785)
* fix(producer): auto GPU mode renders in software when software captures faster

On a Windows laptop with an AMD Radeon 840M, auto mode picked the hardware
GPU, calibration measured screenshot capture at ~1.6 s/frame p95, and the
render dropped to 1 worker: a 10 s clip took 5m27s. Software WebGL
captured the same frames at ~0.28 s/frame on 5 workers.

When auto mode resolved to hardware and calibration measured it slow, time
software too and keep whichever is faster. Explicit --browser-gpu and
--no-browser-gpu are unchanged.

* test(producer): pin the auto GPU switch to software and document it

The orchestrator test drives a render in auto mode with a slow hardware
calibration and a faster software one, and checks that capture gets
browserGpuMode software and worker sizing uses the software estimate.
The CLI docs say auto can now switch to software after calibration.
2026-11-25 00:43:02 +00:00
Vance IngallsandClaude Opus 5.5 4af0e9c09b fix(cli): media commands read only local, self-contained inputs (#8782)
* fix(cli): media commands read only local, self-contained inputs

The shared ffmpeg/ffprobe input guard kept the hls and concat demuxers on
the grounds that the playlist folder walk confines what a list names, but
only render and check/snapshot run that walk. Commands such as transcribe,
audio, media-use generate, remove-background, init, measure and
grade-compare handed the named file straight to ffmpeg, which then opened
whatever the list named, anywhere on disk.

- mediaInputFormatArgs leaves the playlist demuxers out unless the caller
  passes { playlists: true } after walking the file (render's urlInput,
  snapshot held videos, measure reads of a guarded file), and limits every
  input that is not an http(s) URL to the file protocol.
- init, media-use generate and remove-background run the existing walker
  on every named source before creating folders, copying, uploading or
  probing.
- The remaining bare -i reads go through the guard; the diff frame
  sequence, the local TTS probe and studio-server's media input args get
  explicit local-file limits.

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

* fix(cli): walk playlists before every CLI read that allows them

Render's urlInputArgs keeps reading playlists because preflight walks every
source first, but the CLI calls the same engine probes on files nobody
walked: timeline, check, info, audio --element and remove-background.

- runFfprobe walks a local input first and throws PlaylistLeavesFolderError
  for a list naming files outside its folder, so those probes fail as that
  file's error instead of opening what the list names.
- check decodes a clip for silence with playlists allowed: the engine probe
  before it already refused one that leaves its folder, so a contained HLS
  clip keeps its audio findings.
- transcribe (every engine) and audio --read walk the input before hashing,
  making cache folders or handing it on; media-use generate also walks
  --motion and --audio. remove-background relies on the engine probe.
- One table test proves each up-front refusal fires before anything is
  written, plus a listing-level check of the playlist opt-in.

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

* chore: trim comments the playlist changes added

Keeps each changed file at or under its comment share at the merge base:
the explanation moves into a name where it still matters.

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

* fix(cli): document the playlist refusal and walk file: URLs too

- docs: transcribe, audio, init --video/--audio and remove-background take a
  single self-contained media file; playlists and concat lists are refused.
- The engine probe converts a file: URL to a path before the folder walk,
  so a playlist named that way is refused like a plain path.
- init prints its refusal as literal CLI text, which keeps the printed-value
  baseline.
- The probe tests wait for each spawn before starting the next, since the
  walk now runs first and could reorder them.

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 16:20:39 -08:00
Miguel Ángel 8ad78fb0fc chore: release v0.9.92 (#8745)
* chore: release v0.9.92

* chore: release v0.9.92 notes list the changes merged after the first cut

* chore: release v0.9.92 notes list the changes merged since the last cut

* chore: release v0.9.92 notes list the changes merged since the last cut

* chore: release v0.9.92 notes list the changes merged since the last cut
2026-11-24 18:54:08 -05:00
terencecho 192c58b2e6 fix(share): omit private paths from editable source (#8744)
* fix(share): omit private paths from editable source

* fix: include the private path rules in build image installs

* fix(cli): escape the exclusion list at the terminal output boundary

* fix(share): bound private path notices and normalize reported names

* docs(cli): explain terminal escaping in contributor guidance

* Use the public descriptions for the portable source fixtures

* fix(share): silently omit private source paths

* test(share): distinguish private filenames from directories

* fix: recover interrupted source shares after a filename correction

* fix: preserve published source ancestry across filename policy upgrades

* docs: clarify local snapshot ancestry validation

* test: pin v4 filename segment validation for saved bases

* fix: reconcile interrupted source uploads by their confirmed IDs
2026-11-24 22:59:42 +00:00
Xuanru Li ca64f8b5de fix(lint): audio_volume_tween_overrides_gain hint keeps the level the author set (#8689)
* fix(lint): audio_volume_tween_overrides_gain hint keeps the level the agent set

The hint offered resetting data-volume to 1 as a way out, and agents took it to clear the warning, which threw away a level they had chosen. The hint now names the clip's own gain as the tween target to write and says to measure the render with `hyperframes audio` before changing the level.

* test(lint): protect authored gain advice for quiet clips

* fix(lint): clarify silent clip choices and align gain docs
2026-11-24 21:45:11 +00:00
Michael Wang 2b1fe6f313 fix(producer): startServer never listens without a token (#8655)
* fix(producer): startServer never listens without a token

Any local account, container or sandboxed program can reach a loopback port, and with no token
set every route but /health accepted a header-less caller. When neither authToken nor
PRODUCER_AUTH_TOKEN is set, startServer now makes a random token for the run, writes it to a
file only the server's account can read (~/.hyperframes/producer/<port>.token by default, or
authTokenFile, or PRODUCER_AUTH_TOKEN_FILE), logs that path, and requires it like a configured
token. The file is removed on shutdown. createProducerApp and createRenderHandlers keep their
behavior, and their docs now say they check no caller without a token.

* refactor(producer): keep server.ts at its comment share

* test(producer): call the started server through node:http on localhost

The unit lane refuses fetch and every lookup but localhost, so the startServer tests listen on
localhost and send their requests with node:http to the address it bound.

* refactor(producer): keep server.ts at its comment share
2026-11-24 20:34:56 +00:00
Michael Wang dd3f8440b1 fix(studio-server): judge file writes as files, and refuse names that shadow a module (#8711)
* fix(studio-server): judge file writes as files, and refuse names that shadow a module

A create or overwrite is now judged as writing a file whatever stands at the
path, and a create is checked again once its body has arrived, so swapping a
folder away while the body is pending no longer lets an extensionless name
through. Below a tooling package.json, a file whose name plus a module
extension names a file beside it (db.utils next to db.utils.js) is refused
too, since Node loads the exact name first.

* fix(core): refuse names that shadow a module in the shared Node-tooling rule

The sibling-module check now lives in core's nodeMayRun, where the rule moved,
so Studio saves and hyperframes add from another registry both refuse a file
Node would load before the module beside it.

* docs(core): describe the shadowing rule without a file-like example

The comments check reads the example name as a citation of a missing file.
2026-11-24 20:22:56 +00:00
James Russo 08431260d9 chore: release v0.9.91 (#8718) 2026-11-24 15:30:29 +00:00
James RussoandClaude Fable 5.2 45846f1e6d fix(cli): tts replaces a link at its output name with the audio file (#8707)
* fix(cli): tts replaces a link at its output name with the audio file

The synthesis script wrote in place, so a link at the output name had the
file it points to overwritten. The script now writes to a fresh name in the
same folder, which is renamed over the output.

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

* docs(cli): say tts replaces a file or link at its output name

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

* fix(cli): stage tts audio under a short name and say why a late step failed

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

* fix(cli): tts keeps a replaced file's permissions and refuses a write-protected one

The rename retries a file Windows still holds, and a failed start or a
timeout now says why.

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

* fix(cli): tts names a silent exit by its code or signal, not its command line

A link at the output name is replaced whatever it points to.

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

* test(cli): skip the link, permission and long-name tts cases on Windows

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

* test(cli): read the tts output before checking what kind of file it is

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

* fix(cli): a staged tts file that cannot be removed no longer hides the run's error

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

---------

Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-24 14:45:51 +00:00
James RussoandClaude Fable 5.2 716a89e571 fix(docs): copied catalog wiring reads back as the values shown (#8715)
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>
2026-11-24 13:52:00 +00:00
James RussoandClaude Fable 5.2 99ccd54c63 fix(cli): speak a narration line as written in local voice and tts (#8706)
* fix(cli): speak a narration line as written in local voice and tts

The local voice provider hands the line to tts in a file of its own, so a
line that names a .txt file or starts with dashes is spoken, not read or
taken as an option. tts and heygen-tts treat a word starting with two path
separators as text without looking it up.

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

* fix(skills): pass the audio skill's own text file to tts with --text-file

Its temp folder can be on a network share, and tts no longer reads such a
path when it is given as a plain word.

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

* fix(cli): remove the local voice run folder when its text file cannot be written

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

* fix(cli): refuse a .txt path on a network share instead of speaking it

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

* test(cli): name the share paths outright so the tts cases hold on Windows

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

---------

Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-24 13:51:57 +00:00
James RussoandClaude Fable 5.2 8eeeabf8a6 chore: release v0.9.90 (#8709)
* chore: release v0.9.90

* docs: v0.9.90 summary names each change as its own pull request does

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

* docs: add #8703 to the v0.9.90 notes

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

* docs: add #8710 to the v0.9.90 notes

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

* docs: add #8713 to the v0.9.90 notes

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

---------

Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-24 13:29:30 +00:00
James RussoandClaude Fable 5.2 260a8d81cc fix(cli): add refuses block and component scripts the project's Node tooling may run (#8703)
* fix(cli): add refuses block and component scripts the project's Node tooling may run

A block or component never installs a TypeScript, JSX or CommonJS file. From a
registry other than the public one, a .js or .mjs file is also refused where a
package.json above the target brings Node tooling, the rule Studio saves follow.
The rule moves into core so the installer and Studio share one copy.

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

* test(cli): add refuses a page whose own file link leads to a Node-only script

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

---------

Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-24 12:21:24 +00:00
James RussoandClaude Fable 5.2 37e4d4b75a fix(cli): capture saves an inline SVG as a file only when it is a plain image (#8699)
An inline SVG that carries a script, an event handler, embedded HTML, a link or a
reference to another file is no longer written under assets/svgs/. It is counted as
unavailable and stays in extracted/page.html. Downloaded SVG files already had this rule.

Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-24 11:29:43 +00:00
James RussoandClaude Fable 5.2 7ea6e42f07 fix(studio): a project page opened straight from a link runs apart from Studio (#8697)
* fix(studio): a project page opened straight from a link runs apart from Studio

A preview document or project file reached by direct navigation (address bar,
chat or mail link) is answered the way one framed by another site already is:
in a sandbox, marked, and with its type fixed. Studio's own frames and thumbnail
captures are answered as before. The CLI's Studio server and the Studio dev
server ask for this; a host that opens previews in its own windows does not
have to.

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

* docs(cli): say how a preview address opened outside Studio behaves

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

* refactor(studio-server): split who asks for a preview from how it is answered

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

---------

Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-24 11:05:26 +00:00
Michael Wang 51f189acf3 fix(cli): audio film queries read only sources the project may name (#8694)
* fix(cli): audio film queries read only sources the project may name

A film query resolved each clip's src from the composition and probed and decoded whatever it
named, so a project from someone else could have files outside it, or its own private files,
read without the person naming them. A clip's source is now analyzed only when it is a regular,
non-private file inside the project, or a file outside it that the received-project rule for
local renders admits. Anything else is reported as "file not found" and never opened. Files
named on the command line are unchanged.

* refactor(cli): keep targets.ts at its comment share

* docs(cli): say which clip files an audio film query reads

* fix(cli): print the outside-file notice through terminalText, and type the test mocks
2026-11-24 11:02:18 +00:00
Michael Wang 01d77af43f fix(cli): audio --read reuses only stems this install wrote, and asks HeyGen only at best (#8696)
A stems folder that arrived with a project was trusted by its shape, so its stems were read,
mixed and, at the default local quality, described through HeyGen with the person's credential.
fetchStems now writes a record under the HyperFrames config folder, outside the project, naming
each file it saved by device, inode, size and modification time, and cachedStems reuses stems only
when that record matches every file, before reading any of them. Stems are described only at
--quality best, so local and fast resolve no credential and make no request. Every reader of a
stem, the voice-free mix included, opens it through the file protocol as one self-contained
audio format, so a stem that is a playlist is refused before it is decoded, mixed or sent.
2026-11-24 10:56:57 +00:00
Michael Wang 02fbd3979f fix(studio-server): refuse extensionless files where node tooling may run them (#8682)
Below a package.json that does more than run the hyperframes CLI, Studio now
refuses an extensionless file name everywhere it refuses .js and .mjs. Node
loads an exact extensionless name before its .js, .ts or .json sibling, and a
manifest can run one directly. Folders are judged as folders, so renaming,
moving and uploading into folders are unchanged.
2026-11-24 09:54:37 +00:00
Miguel Ángel bef7b44bee chore: release v0.9.89 (#8666)
* chore: release v0.9.89

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

* style(core): format the source pin

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Only a server-named output is pinned. A caller-named one keeps its dev:ino check from a stat at register, so a caller that reads its file from disk and deletes it frees the space at once. The folder refusal names the folder.
2026-11-24 09:18:17 +00:00
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 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 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 304a9444e9 chore: release v0.9.88 (#8635)
* chore: release v0.9.88

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

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

* chore: release notes for v0.9.88 list #8618 in its section, after the summary
2026-11-24 05:18:37 +00:00
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
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 169af43b65 chore: release v0.9.87 (#8617)
* chore: release v0.9.87

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

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

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

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

* chore: release notes for v0.9.87 link #8624 to its own pull request
2026-11-24 01:14:47 +00:00
Weiwei Wu bb87da4536 fix(cli): read alpha from modern CSS colors (#8624)
Add real-Chromium regression coverage and document the supported modern solid-color behavior.
2026-11-24 00:18:45 +00:00
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 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
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
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
Miguel Ángel 574b5e3d3b chore: release v0.9.86 (#8595)
* chore: release v0.9.86

* chore: release notes for v0.9.86 list the four PRs merged since the cut
2026-11-23 14:53:04 +00:00
Miguel Ángel 70d547cace fix(lint): read each linked file once and stop at one page's size limit (#8579) 2026-11-23 13:46:45 +00:00
Miguel Ángel 76a6bacdf7 fix(cli): a cloud upload leaves out a file it cannot read instead of failing (#8575)
* fix(cli): a cloud upload leaves out a file it cannot read instead of failing

* docs(cli): list the unreadable left-out reason and its cause
2026-11-23 10:50:16 +00:00
Miguel Ángel a4d96cdb31 chore: release v0.9.85 (#8569)
* chore: release v0.9.85

* chore: release notes for v0.9.85 list #8563

* chore: release notes for v0.9.85 list #8561 and #8570
2026-11-23 09:10:21 +00:00
Miguel Ángel 7f54fded08 fix(skills): ask before usage notes and destroy, and keep media downloads on public hosts (#8555)
* 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
2026-11-23 07:12:36 +00:00
Miguel Ángel 9ec93615ef chore: release v0.9.84 (#8548)
* chore: release v0.9.84

* chore: release v0.9.84 notes list everything merged through #8541

* chore: release v0.9.84 notes list #8552

* chore: release v0.9.84 notes list #8551
2026-11-23 02:35:22 +00:00
Miguel Ángel 4f1e429fb1 chore: release v0.9.83 (#8539) 2026-11-22 22:33:47 +00:00
Miguel Ángel 2e1cd03237 chore: release v0.9.82 (#8531) 2026-11-22 21:07:50 +00:00
Miguel Ángel 479081658b chore: release v0.9.81 (#8493)
* chore: release v0.9.81

* chore: release v0.9.81 notes list the changes merged since the draft

* chore: release v0.9.81 notes list the changes merged since the draft
2026-11-22 13:56:25 +00:00
Ular Kimsanov 84ff7d71c2 docs(readme): lead with what HyperFrames makes, keep every developer section (#8442)
* docs(readme): lead with what HyperFrames makes, keep every developer section

New top half: title line, hero film, What's new, three ways to use it, a 12-clip
gallery and a What you can make table with the community skills. Every developer section
stays; the first sentence AI answers quote is kept word for word. Folds in the README links
from #8139. The Codex 100 MB upload limit moves to docs/contributing/agent-plugins.mdx.

* docs(readme): name remaking and style sampling without plan labels

Visitors learn what Pro includes on the pricing page and in the app;

the README says what HyperFrames can do.

* docs(readme): add the full hero film with sound

* docs(readme): smooth 26-second hero clip instead of a film player

The hero is now 0:06-0:32 of the Studio intro at 30 fps as an animated AVIF (3 MB), with
the old WebP as a fallback. The separate film player under it is removed.

* docs(readme): sharper hero clip (1600 px from the original film)

* docs(readme): keep today's badge row unchanged

* docs(readme): drop the New box; its items repeat the next section

* docs(readme): keep the Claude connector directory link in the Claude row

* docs(readme): link the Studio app to hyperframes.studio
2026-11-22 06:38:31 +00:00
terencecho d09a1809c1 fix(share): escape terminal output and validate saved owner addresses (#8341)
* fix(share): escape terminal output and validate saved owner addresses

* fix(cli): pass caught share errors through the terminal sanitizer
2026-11-22 05:38:44 +00:00