* refactor(core): the inline text style helpers live in core, imported by Studio
* fix(studio): words selected in a sealed text edit show the formatting toolbar, as unsealed
* test(studio): the text edit mount's header fits the comment line limit
* fix(studio): the text swatch shows each word's colour as it paints, sealed and unsealed
* fix(cli): a cached whisper model is used only once its sha256 matches its pin
* fix(cli): the whisper model's verified stamp is read once and replaced atomically
* fix(cli): DO_NOT_TRACK and HYPERFRAMES_NO_TELEMETRY turn telemetry off the same way everywhere
* fix(skills): the standalone media-use skill reads telemetry opt-outs through the shared check
* ci: run the edit accuracy bench when the shared telemetry opt-out check changes
* 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.
* test(studio): preview walks read the frame Studio shows, not one Chrome re-lays out mid-shot
* test(studio): the A-roll walk keeps its shots when given a folder that does not exist yet
* test(studio): the graded walk names the brightest channel, and a grey pixel leads none
* fix(studio): agent prompts keep composition values in quoted fields, after the person's request
* fix(studio): agent prompts keep paths and selectors exact, and cap only display labels
* test(core): a sealed snapshot lists tweens only GSAP's global timeline runs
* fix(core): a sealed snapshot carries the tweens GSAP's global timeline runs
#8782 added the folder walk in the engine's ffprobe path and its error
class, which takes the packed engine to 517176 bytes, more than 1% over
the 511900 budget, so main's Build (verify:packed-manifests) fails. The
budget rises to 522000, about 1% above the measured size.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* fix(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>
* fix(engine): the playlist walk refuses entries with no path and lists behind an ID3 tag
ffmpeg reads an HLS or ffconcat entry that is empty, or starts with a query
or fragment, as the list's own path plus that suffix, so the walk judged a
different file than ffmpeg opens. Such entries are now refused, before or
after percent-decoding and trimming. Empty URI values are no longer dropped
before the check.
ffmpeg's probe and its demuxer can skip a leading ID3v2 tag's footer
differently, so they can read a tagged list from different bytes. The walk
now finds every offset either could start at, and refuses a file that reads
as a list (or, nested, as a manifest) at any of them.
* test(engine): describe the decoy helper without history
* 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
* 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): a failed pipelined blend fails its render, not the server
The hybrid layered loop kept each in-flight blend+encode as a slot promise
and only awaited it when the slot came round again, so a blend, encoder or
cancel failure could sit as an unobserved rejection and end the process.
Slot promises now hand their failure to the loop, which wakes every worker
through the reorder buffer, settles every in-flight blend, and only then
fails the render.
Page transition entries are checked before use (finite times, string scene
ids, a registered shader or none), the transition registry and scene map
have no prototype, and the public server attributes any rejection that
still escapes a render to that render and fails it, instead of exiting.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(producer): report an escaped rejection as the render's failure, not a cancel
Aborting with the plain error sent the render down the cancel branch: job
status "cancelled" and no failure telemetry. The abort reason is now an
EscapedRejectionError, which the orchestrator treats like an audio failure:
the render fails with the original message. The server test now runs two
renders through a real unobserved rejection and the process handler.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* chore(producer): trim comments added in the blend-failure fix
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(producer): address review on the blend-failure fix
- Bun stage-test mocks of hdrCompositor.js export sanitizeTransitionMeta.
- The rejection log carries the stack.
- EscapedRejectionError keeps the cause's code/owner/retryable fields.
- The hybrid-loop test covers a render that succeeds.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* perf(parsers): judge private paths in linear time
isStudioPrivatePath decided whether each segment sat at the project root by
copying and scanning every earlier segment, so its work grew with the square
of the segment count. It now finds the first named segment once. The two
media-use copies change the same way, and lint refuses a
data-composition-src longer than any file path before resolving it.
* chore(skills): regenerate the media-use audio-carve bundle
It bundles the private-path rule, which this branch makes linear.
* test: bound the long-path tests by input size, not wall time
The isPrivateFileUnder test runs on 200,000 segments, and the lint test's
40,000-character source has no timer. CI runners took just over the old limits
while the results stayed right.
* chore(parsers): raise the unpacked size budget by 1,000 bytes
The linear private-path check adds a few dozen bytes to @hyperframes/parsers,
which put it 22 bytes past its budget's 1% margin (924,172 against 924,150).
* 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
* fix(media-use): accept CAF, W64, WavPack, AU and AC3 audio again
The self-contained reader lists left out five single-file audio containers,
so recordings in those formats stopped probing. Each one holds its own
media and opens no other file. Add their ffmpeg reader names (caf, w64, wv,
au, ac3) to the skill's list and to the parsers fallback list.
When a file is still refused, the message now names the accepted
containers instead of saying ffmpeg cannot read it.
* test(parsers): end ffprobe options with "--" in the container probe test
* fix(cli): media-use resolve accepts CAF, W64, WavPack, AU and AC3 audio
Add the same five single-file audio containers to the CLI media-use
reader list, and to the drift check's stand-in demuxer listing.
* chore(parsers): raise the unpacked size budget for the wider container list
The five added reader names push @hyperframes/parsers a few bytes past
its 1% tolerance; it was already within 0.1% of the limit on main.
* fix(studio): an element patch is declined when its target is a script, style or template
A patch edits a layer. patchElementInHtml wrote text, markup and
attributes into whatever element the target resolved to, including an
inline script, a stylesheet or a template, so a text edit whose target
named one replaced that element's source. It now answers matched:false
and leaves the file as it is when the target, or an operation's child
target, is one of the tags that never take a stable id (script, style,
template, meta, link, noscript, base). A text edit of a layer whose only
child is a script writes the text on the layer instead of into the
script.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
* chore(studio): say the declined-target rule in the name, not in comments
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
---------
Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
* 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(engine): read ffconcat lists only as ffmpeg reads them
The playlist folder check now refuses an ffconcat list with a lone CR or
NUL, a file value in any form but a bare name or one fully single-quoted
name, text after the name, or an option line. A nested entry with no name
that exists no longer passes. Applies to project and downloaded media.
* test(engine): reach the ffconcat lone CR, NUL and backslash guards
The lone CR and NUL cases now sit after a comment line, so the trailing-text
rule no longer refuses them first, and a bare name with a backslash is refused
even when a file by that name exists.
* test(engine): keep the walk's entry budget test fast; fit the engine budget
The under-budget half now writes 100 files instead of 1000, since the walk
opens every entry and the test timed out under the flake gate's load. The
engine's packed budget rises by 360 bytes for the stricter ffconcat reader.
* chore(engine): leave headroom in the engine budget after main's engine changes
* test(cli): write the segment a kept snapshot playlist names
* test(studio): a timeline clip click asks the source about its layer once
* fix(studio): a timeline clip click and the timeline's sync share one selection build
* refactor(studio): the clip selection build lives in its own module beside the selection hook
* fix(core): a looped sound plays its whole slot in preview
A looped audio clip in a slot longer than its source stopped after one
pass in preview: its window was capped at the source length, so media
sync paused it there. It now fills its authored slot, as the render does.
A playing loop is also no longer seeked a lap back at each wrap, which
left Safari holding it at the start for seconds.
* fix(core): a trimmed loop is seeked back to its trim-in at each wrap
A native loop restarts at the file's start, not at the clip's trim-in, so laps are folded out of the offset only for an untrimmed loop. A trimmed one is seeked back as before.
* fix: close the review notes on the stems record and the puppeteer-core lookup
audio --read: a fetch clears a no-vocals.wav left in the stems folder, and the voice-free mix is
reused only when the record names it, then added to the record once mixed, so a mix that came
with a project is never reported as this install's. Tests now pin that a stems.json the record
does not name is never read, that a stem swapped for a link is refused, that a playlist is
refused at the voice reader, and that every stem the mix and the description open carries the
self-contained input.
bake-basemap: npm is asked once per home folder, a relative answer from npm is pinned as unused,
and Volta's folder for a globally installed package is read when VOLTA_HOME is set.
* refactor(cli): keep stems.ts at its comment share
* fix(studio): a rename names the files it left pointing at the old path
Renaming or moving a file updates the references to it in the project's
files. A file Studio does not write was skipped without a word, so it kept
the old path. The rename response now lists those files in
unchangedReferences, and Studio shows one line naming them.
Signed: Rames Jusso
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
* fix(studio): the rename message names at most five files
Signed: Rames Jusso
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
---------
Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
* test(studio): a sealed press the frame never answers is refused, box drawn or not
* fix(studio): a sealed press the frame never answers is refused with a reason
* test(studio): a refused sealed press puts Studio's box back on the layer
* fix(studio): a refused sealed press puts Studio's box back on the layer
* test(studio): a refused sealed press puts the box back after another press or a cleared selection
* fix(studio): a refused sealed press puts the box where the press before it left the layer
* fix(core): decode whole audio files only up to ten minutes
* test: give the header stub only to tests with a DOM
* refactor(core): one header stub for both test setups, length check as its own step
* refactor(core): one decode gate for failed and too-long sources
* feat(studio): long audio keeps its fx and beats, read from the server as PCM
* fix(core): carve and levels read the same span of audio at any sample rate
* test(studio): beat analysis test waits for its read to start
* test(studio): beat analysis tests run on an idle timeline
* fix(studio): the clip menu's duck passes its carve rate too
* fix(core): publish the audio-decode subpath
* refactor(studio-server): the PCM route registers with the waveform routes
* fix(studio-server): the PCM route checks the file without blocking the server
* chore(skills): media-use's carve copy picks up the time-sized analysis window
* chore(skills): the skills manifest records media-use's new carve copy
* fix(studio): the PCM route refuses other sites, shares the decode slots and keeps stereo for beats
* fix(core): a short file whose length can't be read decodes again, judged by its size
* refactor(core): one window level and Hann helper, PCM route and decode split into steps
* chore(skills): the skills manifest records media-use with main's change and this branch's carve copy
* fix(studio-server): the PCM route answers not found for a request path it can't read
* chore(skills): the carve copy and skills manifest regenerate over main's carve change
* chore(skills): the skills manifest regenerates over main's media-use change
Chrome Stable moved to 158.0.8127.88. The managed shell, the render,
test, Cloud Run, Lambda and example images and the CI setup action move
with it, each with the archive or folder digest of the new build.
Signed: Rames Jusso
Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
* fix(studio): a sealed move of a layer with a later scale or rotation saves as a CSS translate
* fix(studio): a GSAP read puts back every attribute and nested cache field it changes
* refactor(studio): the timeline reads an empty clip list's rows from the document once
* test(studio): an empty clip list shows no row for a nested clip the runtime cut away
* fix(core): check never looks at a media file outside the project
* fix(parsers): a project file named with two leading dots counts as inside the project
* refactor(parsers): one containment check for composition srcs
* test(studio): a sealed press the frame never answers is refused, box drawn or not
* fix(studio): a sealed press the frame never answers is refused with a reason
* test(studio): a refused sealed press puts Studio's box back on the layer
* fix(studio): a refused sealed press puts Studio's box back on the layer
* fix(studio): a sealed scale resize no longer shows its old size for a frame after the drop
* fix(core): gsap-set draws its drafts even when the set itself can't apply
* fix(media-use): heygen-tts speaks the word after a lone -- as written
Text that starts with dashes was read as a flag: it was skipped, or ran
the flag it named. A lone -- now ends the flags, and the word after it is
the text or .txt path whatever it starts with. The "no text given" message
says so, and the audio guide shows the form.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
* fix(media-use): heygen-tts stops when a flag or a second text follows the lone --
Flags written after the text were dropped without a word, so the audio
went to the default file with the default voice. The script now says what
to move, and also stops when -o or --output has no path after it.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
---------
Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
* refactor(studio): drop the timeline stacking-mode move no drag reaches
* chore(studio): name the timeline stacking-mode files as agreed deletions
* fix(studio): keep the z-index commit option hosts may still pass, as a no-op
* fix(studio): keep the stacking field hosts may still pass to a timeline move, ignored
* fix(cli): a received project's registry is fetched only from public addresses
* fix(cli): a received registry connects only to the address it checked, never via a proxy
* fix(cli): catalog search vectors download through the registry transport
* fix(cli): catalog downloads no search vectors from a received project's registry
* refactor(cli): add and catalog share their install printout
* fix(cli): the shared install header prints its verb as text
* fix(cli): measure probe --normalize replaces a link at the output name
normalize() handed the final --normalize path straight to ffmpeg, so a
symbolic link already at that name was followed and the file it points
at was overwritten with the encoded copy. It now encodes through
ffmpegToFile(), which writes under a private name and renames over the
requested one, as the other measure writers already do. A failed encode
leaves nothing at the destination.
Adds a test with the output name linked to a file outside the project:
that file stays untouched and the output name becomes a regular file.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(cli): drop the comment the staged write no longer needs
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
The compiler rewrote each remote media, image, background and font URL with replaceAll, passing the local path as a replacement string, so a $ sequence in it was read as a pattern. Each rewrite now passes a function, so the path is inserted literally; the 3D projection's inlined data URLs get the same. A downloaded file's name keeps only the hash and a short alphanumeric extension from the URL.