* 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
* 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
* 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.
* 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>
* 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>
* 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>
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>
* 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>
* 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
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.
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.
* 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(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.
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.
* 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
* test(cli): count print calls whose value is not plainly the CLI's own
Each CLI source file's count of such print calls is kept in a baseline,
so a new one shows up in the change that adds it. Print calls whose
output another program reads are named in the test.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
* test(cli): tighten the print count rule
A name the file declares itself is no longer taken for the colour helper
or a converter, a local form of a value counts unless the value is a
number, JSON text inside a line for people counts, and spinner lines and
clack's framing calls are counted too. A file listed with more calls than
it has now gets a message that names the list.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
* test(cli): name the lines other programs parse
The count rule now also sees writes to a bare `stdout` or `stderr`, and
the `@hf-*` lines and the `--json` failure body are listed as output for
another program instead of sitting in the baseline.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
---------
Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
A failed --json run of lambda, cloudrun and beats answered with the
message as people see it on the terminal, with control characters
already written out as text. The JSON message now carries the value as
it was given; the line for people is unchanged.
Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
* fix(cli): show control characters as text in more lines that repeat a stored value
Lines printed by the timeline edit commands, check, diff, preview --list,
telemetry status, the update and skills notices, the FFmpeg install hint, the
cloud render data-fps warning, the capture font summary, the project key notice
and the plain progress lines of a run with no terminal now pass the repeated
value through the text helpers, as the other commands' lines do.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
* fix(cli): leave Windows line endings out of a planned diff
A file saved with CRLF line endings had every changed line of the
planned diff end in a visible \x0d. The line ending is now dropped
before the line is shown; a carriage return inside a line still shows.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
---------
Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
* fix(cli): show control characters as text in notices that repeat a failure reason
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
* fix(cli): keep a usage hint on one line
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
* fix(cli): show control characters as text in prompt-log notices that repeat a failure reason
The source check now also reads clack.log calls. The five notices it
found (play and present port messages, the file approval notice) go
through terminalText.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
---------
Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
* fix(core): show text direction marks as visible text in printed lines
The unknown-command line and its suggestion follow the same rule.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
* test(cli): move the unknown-command text test to a file of its own
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
* test(cli): write the direction mark in the test as an escape
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
* test(cli): run the unknown command text test with the default test group
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
* fix(cli): keep the suggestion under an unknown command on one line
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
* fix(cli): show typed and project text as visible text in every line cli.ts prints
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
* fix(cli): show typed text as visible text in the missing-value and extra-argument lines
The two argument checks that print their own line now show control
characters and line breaks in the repeated word as visible text. JSON
output keeps the message as built. A usage error from the argument
parser prints on one line like the CLI's own.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
---------
Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
* test(cli): both of check's deadlines report check_deadline
* fix(cli): check reports its own deadlines as check_deadline
* test(cli): the --timeout idle window also reports check_deadline
* fix(cli): print check and validate setup commands on their own lines
When no browser can be set up on Linux ARM64, check and validate now
print the setup commands on lines of their own after the reason.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
* fix(cli): split setup commands only for a stopped check
A finding with any other code keeps its whole message on one line.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
---------
Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
* fix(cli): print capture setup commands on their own lines
When a capture fails because no browser can be set up on Linux ARM64, the
reason stays on the `Capture failed:` line and the setup commands this CLI
writes follow it on separate lines, instead of being joined to it with
`\x0a`. The design style extraction notice now keeps its reason on one line
like the other capture warnings. JSON output and BLOCKED.md are unchanged.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
* refactor(cli): name the setup lines field for what it holds
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
---------
Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
* fix(cli): read --json before the command name the same as after it
`hyperframes --json <command>` turned on the JSON failure answer but never
reached the command, so the command printed for people. The flag now moves
behind the command's own arguments before anything reads them, so both
spellings are one run: a command with a `json` flag answers in JSON, and a
command without one refuses the flag as it already did after its name.
A `--json` behind `--` is an argument and no longer turns the JSON failure
answer on.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
* test(cli): follow --json to its one meaning in the entry-point cases
Rows that put --json before the command name to see a command's lines
for people now run without it, and the word-tier catalog case checks
the ready-to-paste command.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
* fix(cli): drop init's handling for a JSON run that can no longer start
init has no JSON output, and --json is now refused in both positions before
init runs. The status holding, the JSON-run check and init's own answer text
had no caller left. Its tests run without --json and assert the printed line.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
* test(cli): let the command table load preview where the studio packages are not built
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
* fix(cli): read --json before `help <command>` the same as after it
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
* test(cli): cover command words run with no subcommand in the --json table
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
---------
Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
* fix(cli): keep notices and capture warnings to the line they are printed on
A warning or failure reason from capture, and the command named in the
left-out-files notice, could carry a line break and start a line of
their own. They are printed as one line now, control characters shown
as text. The figma component, usage and measure hands status lines go
through the same helper.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
* docs(cli): describe how printed lines show control characters and line breaks
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
* docs(cli): name the commands whose printed lines changed
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
---------
Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
* fix(cli): share confirms an existing review before changing it in a received folder
* fix(cli): share asks before changing a review while a share is still in progress
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(producer): compile-time remote downloads are capped, timed and stop with the render
* fix(producer): cap compile-time remote downloads, give them one deadline and stop them on cancel
* test(producer): size-limit tests stay under the remote download cap
* test(producer): count a refetched bundled script; start the deadline at the first download
* test(producer): export the download deadline so its test reads the real value
* fix(producer): count every downloaded script and start the download deadline at the first one
* test(producer): read the host's script copy once however many tags name it
* fix(producer): read a bundled script once per address; document the compile download limits
* test(producer): size the shared-font test from the 64 MB limit so it reaches it
* fix(cli): a project .env provider key gives way only in a received project
Your own or a cloned project's .env provider keys are used as set again, as
the docs describe. Capture no longer drops a project .env vision key next to
a shell credential, and the audio scripts no longer drop an own project's
Gemini key next to the shell's other Gemini key. A received project's keys
still give way to your own credential, and the notes that name a project
key when it is used stay.
* test(cli): check the note for a cloned project's key; say when a received key is ignored
* feat(engine): renders send page traffic through the egress proxy in HYPERFRAMES_CAPTURE_PROXY
* feat(engine): render media downloads go through the egress proxy in HYPERFRAMES_CAPTURE_PROXY
* fix(engine): downloads through the egress proxy keep undici's fetch, so gzip text and headers work
* fix(producer): resume checks the segment file the join reads, not the manifest's path
A resumed segmented render now validates each reusable segment at its own
computed path in the segment folder. It must be a plain file, not a link, and
match a slice of this render's plan. The path a manifest records is never
opened or probed.
* fix(engine,producer): concat joins open only the list and encoder containers
Both concat-demuxer joins (the engine's chunk and segment concat and the
distributed assemble join) now pass a format whitelist of concat, mov and
matroska. ffmpeg applies it to every file the list opens, so a listed file
that is a playlist or manifest cannot pull in other files, while mp4, mov and
webm joins work as before.
* fix(producer): resume reuses only segments this install recorded
Segment manifests are now signed with an HMAC keyed by a per-install secret
kept in the HyperFrames config folder, outside every project. Resume trusts a
manifest only when its signature checks out, so a segment folder copied from
another machine or shipped inside a project is captured again, while a
render's own interrupted run resumes as before.
* docs(producer): restore the segment path ordering comment and rewrap resume docs
* fix(producer): replace an empty or short resume key file
A key file too short to use is now replaced by a fresh key instead of
disabling resume for good. A missing key is still linked into place, so
renders that create it at the same time share one key; a test runs eight
processes against one path to check that.
* fix(producer): warn under --resume when no resume key is available
When the resume key can be neither read nor created, for example on a
read-only home folder, a file system without hard links or a serverless
runtime, --resume now logs one warning that every segment will be captured
again instead of only reporting zero complete segments.
* fix(engine): fail a concat join at a list entry ffmpeg refuses
The concat demuxer ends the stream at a listed file it cannot open and ffmpeg
still exits 0, which cut the output short without an error. -xerror on the
concat input makes the join fail instead. mp4, mov and webm joins still exit
0.
* fix(producer): resume checks each reused segment's SHA-256
Each finished segment's SHA-256 is now recorded in the signed manifest. The
hash is taken once when the segment closes, and on resume only the files
about to be reused are hashed again, so a file swapped for another of the
same size is captured again.
* docs(cli): note that resume re-checks segment hashes and recaptures older segments once
* fix(studio-server): proxy joins only its own pieces, through the shared concat input
Studio's chunked proxy copy now names its pieces with a tag keyed by the
user's preview token, so pieces that arrive inside a project folder sit at
names it never looks up and every piece is encoded fresh. A stopped copy of
the user's own still continues from its finished pieces.
The piece join uses concatListInputArgs, now in @hyperframes/parsers so the
engine, producer and Studio share it. It allows only local files in the
concat, mov or matroska formats and fails at a refused entry. The cache sweep
recognizes both tagged and older piece names.
* test(parsers): prove the concat protocol whitelist with a data: entry
ffmpeg already refuses http:// in a concat list opened from a file, so the
test passed without the whitelist. A data: entry opens by default; the test
now asserts it is refused as not on the 'file' whitelist.
* fix(studio-server): only the copy's own tagged pieces count as lock progress
The copy lock counted any .part-<key>- file as the owner's progress, so a
piece shipped with a future modified time kept a stalled lock looking active.
It now counts only names under the copy's own tagged piece prefix. The cache
sweep removes untagged pieces past the usual age even while that copy runs,
and measures age in both directions so a future-dated piece is swept too.
* fix(studio-server): say once when proxy pieces cannot be keyed to the user
Without a preview token, piece names use a per-process secret, so pieces are
reused only within that Studio process. Studio now logs that once, so a copy
restarting from its first piece after a restart has a visible cause.
* test(studio-server): name the proxy join test for what it checks
* fix(producer): derive the segment manifest key from the preview token
Sign segment manifests with an HMAC key derived from the per-user preview
token instead of a separate key file. The token is created with an exclusive
open, so concurrent renders never end up with different keys, and it is only
used when the file is private to this user.
Resume now checks a segment's SHA-256 before probing it, and a real-ffmpeg
test documents how the concat join treats an entry that is itself an ffconcat
list.
* docs(producer): describe the manifest key per user and the no-token case
* fix(cli): play and present answer unknown paths with an inert refusal (SECOPS-2642 part 3)
An OAuth return that lands on the play or present port was a 404 document on
the same origin as the composition frame, so project script could read its
?code=&state= through a frame, a popup or the authorize redirect. Unknown
paths, missing composition files and any request carrying code or state now
get a fixed text/plain 404 on an opaque origin (CSP sandbox) that cannot be
framed and drops its opener (COOP same-origin).
play's app setup moves into an exported buildPlayApp so tests can serve it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(cli): trim the inert refusal's comments to the package share
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>
* 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>
Clicking or dragging the scrubber while a film played left it paused at
the new spot, and `paused` turned true without a `pause` event. The
controls now hold a playing film during the press and play on from where
it is released, like a <video>'s own controls; a paused film stays
paused. A touch scrub no longer replays as mouse events.
seek() gains an opt-in { keepPlaying: true } for hosts (keyboard seeks,
chapter jumps). A plain seek(t), and setting currentTime, still land
paused, so existing callers keep their behavior.
The packed player tarball grows 339 bytes (158705 to 159044, packed with
pnpm 10.17.1 as CI does). main sat 11 bytes under the 1% gate, so the
packed budget moves to 159100; the unpacked size stays within budget.
Co-authored-by: robinebers <16515780+robinebers@users.noreply.github.com>
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.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>
The media-use copy of the received-files rule now reads the host app's kept
copy of an expected project's record, as the CLI does. It adds back each kept
entry whose path still holds something, checks the folder identity for a
project found only by dev and ino, and counts every file as received when the
copy has no list, is doubted, a link, oversized, unparsable or another
project's.
In both the CLI and the copy:
- a kept copy whose identity names another folder counts every file as
received instead of being ignored;
- a kept copy that fails its first read, for example because the app replaced
it mid-read, is read once more before every file counts as received;
- a kept copy named both by path and by dev and ino is read once.
The docs no longer suggest that the app's next read restores a kept entry
whose file is gone.
* fix(cli): keep files received that a host's kept record still lists
When the received-state file names a project as expected and the host
keeps its own copy of that project's record beside the state file, the
received-file checks read the record together with each entry that copy
lists whose path still holds something. A record shortened or emptied
outside the host no longer makes those files read as the person's own.
A kept copy with no list, a doubted one, a link or one that cannot be
read counts every file as received; with no kept copy, nothing changes.
* fix(cli): keep a record's own lines when the host's kept copy cannot be read
A kept copy with no list, or one that cannot be read, now counts every
file as received through its own entry, named by the kept copy's path,
instead of hiding the record's lines from Studio's rename and move
tracking. A copy found only by folder identity counts only when its
identity matches the folder, and a copy that disappears mid-read counts
as no copy.
* docs(cli): say a kept entry whose file is gone is not added back
* fix(cli): say a listed received file is gone, and drop a media file's line on rename
Follow-up to the change that keeps a deleted received page listed.
- The render warning for a listed file that no longer exists now says it
is gone and how to clear it.
- A listed file whose name was already a media name drops its old line
when renamed to another media name, so repeated renames leave no
dead lines.
- The docs say that any listed file that is not media by its first bytes
stays listed after a delete, and that the line can sit in a record
above or inside the project.
- A test restores content after a plain Studio delete and checks that
outside files stay refused.
* test(cli): match the gone-file warning without a POSIX path, for Windows
A Studio delete took a received page's line off the record, and files
created afterwards were not followed. A script in the preview could
delete every received page and create it again with new bytes, so the
project no longer counted as received and outside files were read.
A deleted page, stylesheet or script now stays listed, so whatever is
written in its place counts as received. A received page renamed to a
media name keeps its old line too. Deleted or renamed media, fonts and
images still drop off, so a media-only project keeps working.
* feat(cli): check reports text drawn over a face in a video
The layout audit reports text painted in front of an opaque video with its
word boxes and where the video's frame lands; Node finds the faces in the
video file with the detector `measure face` uses and adds a `text_over_face`
finding (info from 5% of the face covered, warning from 30%) with
`coveredFraction` and `faceRect`. `layout.faceCheck` in the report says
whether the pass looked. `data-layout-allow-on-face` waives it.
Also reads a two-token `object-position` whose first token is "50%" as the
horizontal one.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
* feat(cli): measure cuts names the shot a take resumes
A shot that returns to an earlier camera setup after at least one other
shot (a wide take, a close-up cut into it, the wide take again) carries
`continues`: the index in `shots` of the shot it resumes. It is read from
the signatures `cuts` already decodes, by the scene's edges, so a person
who has moved or an exposure that drifted does not hide the match.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
* feat(cli): measure hands follows a hand through a clip
`measure hands <video>` reports where a hand's palm (with the hand's
size), index fingertip or pinch is in each sampled frame of a stretch of
up to 15 s, from MediaPipe's hand landmarker. A frame with no such hand
is null, never filled in. The landmarker runs in the CLI's headless
Chrome on a page answered from disk; its code and model are not shipped
and are downloaded on first use, pinned by size and sha256, into the
trusted cache.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
* fix(cli): text_over_face is info only, and a stalled OpenCV download no longer stalls check
The face detector can take texture for a face, so text_over_face is
reported as info however much of the face is covered and never fails
--strict.
check passes its deadline and a 30 s limit into the detector's first-use
OpenCV download. A download that does not answer costs the face pass
only: faceCheck is { ran: false, reason }, the other findings are kept
and the process exits.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
---------
Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
A provider key from a project .env is still used when no own credential
competes. Capture vision (OpenRouter, Gemini, Google and both Vertex parts),
snapshot --describe, Gemini speech and Lyria music now print one note per key
before it is first used, naming the variable and the escaped .env path, as
the ElevenLabs note does. The ignoring notes escape the path too, and the
media-use skill gets a generated copy of the CLI's terminal-text helper.
* fix(cli): leave files from outside the project out of Lambda and Cloud Run site uploads
A site upload for `lambda` or `cloudrun` followed every symlink in the project and
shipped what it pointed at, wherever that was on the machine. `publish` and `cloud
render` already ask first. Site uploads now leave a file or folder linked in from
outside the project out and name each one; `--include-outside-files` (or
`includeOutsideFiles` in the SDK's deploySite, renderToLambda and renderToCloudRun)
uploads them. publishProjectArchive called without a prepared archive now leaves
outside files out too, since nothing approved them.
— Rames
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(producer): drop the new option comments the comment ratchet refuses
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* fix(cli): a host can name projects whose received files are expected or all received
HYPERFRAMES_RECEIVED_STATE_FILE points at a JSON file a host app keeps,
listing project folders (by path, and optionally by device and inode) as
"expected" or "all". For an expected project, a missing received-files
record counts every file as received and is not started afresh; for an
all project, every file counts as received whatever the record lists. A
state file that is named but cannot be read counts every file as received.
A record lock dated in the future is taken over like a stale one.
* fix(cli): read host provenance state through one file handle
* fix(cli): canonicalize host state paths like record writes
* test(cli): expect canonical received warning paths
* fix(cli): a project .env provider key gives way to the person's own credential
A project .env could set OPENROUTER_API_KEY, GEMINI_API_KEY, GOOGLE_API_KEY,
the Vertex settings or ELEVENLABS_API_KEY and outrank a credential the person
set in their shell or saved settings. The earlier rule covered only received
projects; a cloned or downloaded project still won.
Now every project .env provider key is unset, with a note naming the file,
when a competing provider has a credential from a surer source: the shell or
saved settings first, then the person's own project .env, then a received
one. A project key with no competing credential is still used, model and
timeout settings still apply, and the media-use scripts note an ElevenLabs
key from any project .env before speech starts.
In the CLI process an own-project key yields only within the vision choice;
the media-use scripts remake the Gemini audio choice from the passed key
origins.
* fix(cli): weigh an own project's provider key only against credentials its feature can use
Review found that the global yield removed a person's own project keys where
the shell credential could not do the job: snapshot's Gemini key next to a
shell OpenRouter key, and a Gemini key that music needs next to a shell
service account.
- Startup keeps the received-project rule only.
- Capture drops a project .env vision key only when the shell or settings
hold another complete vision credential; the two Vertex parts are one
credential and are not weighed against each other.
- A key dropped once is not brought back when capture re-reads the same .env,
so its note prints once.
- In the audio scripts, an own project's Gemini key gives way only to the
other Gemini API key, which speech and music both accept, and an own
ElevenLabs key stays for an explicit provider choice.