* 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
* feat(studio-server): the render route renders a part of the film when asked for a start and end
* test(studio): a dev-server render asked for a part of the film fails instead of rendering it whole
Studio and sdk-playground now require ^6.4.6, the current 6.4 patch
release, and the lockfile resolves 6.4.6.
Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
* fix(studio): a sealed resize of a layer whose tween writes its size saves a keyframe
* fix(core): a sealed resize saves a CSS-translated layer's position as GSAP reads it
* fix(studio): a sealed resize handed to GSAP starts from the x/y GSAP reads at the press
* fix(core): a sealed GSAP move or resize clears the CSS translate its saved x/y carries
* fix(core): a save landing under a newer drag leaves that drag's drawn translate alone
* test(core): a save under a sealed draft leaves translate none, not empty
* fix(core): a sealed resize saved to GSAP x/y no longer draws its translate twice after the drop
* test(core): the GSAP-held draft mock folds a CSS translate the way real GSAP does
* refactor(core): name the keep-size translate drop for what it keeps off
* fix(core): a sealed resize's end keeps the translate of a layer GSAP never moved
* fix(core): a sealed GSAP-route resize keeps the translate GSAP folded off when it ends
* fix(studio): a sealed resize picks its route only after the frame's GSAP snapshot arrives
* fix(core): a sealed GSAP-route end settles the translate the way an open preview does
* fix(studio): only a sealed resize press waits for the frame's GSAP snapshot
* fix(studio): the preview opens only the project's compositions
The sub-composition preview built a page from any project file, and Studio's link opened any file in the tree as the active composition. Both now accept only what the project listing reports as a composition: an .html or .htm file outside dot and vendor folders whose source carries data-composition-id. A link naming anything else opens the root composition. A captured site's saved page no longer carries the composition marker, so it is never listed as one.
* test(cli): a directly opened sub-composition page carries the composition marker
* fix(parsers): text in a title or textarea can no longer close it when a document is saved
* fix(parsers): a '><' in a title or textarea attribute keeps the text out of the attribute
* fix(parsers): the title and textarea escape survives tree-shaking in a production build
* chore(cli): regenerate the bundled media-use svg sanitizer
* fix(parsers): the linkedom entry point publishes DOM types, not linkedom's
* chore(parsers): fit the parsers size budget to the linkedom entry point
parsers packs to 218.5 kB (was under 215.5 kB): tsup inlines the new linkedom entry point into index.js and hfIds.js, plus its own dist/linkedom.js and types. The budget sits 5% above the measured size, as the other budgets do.
* fix(engine): a page that keeps throwing looks up each error's throw site once, a few in all
* fix(engine): the throw-site bound adds no comment lines to the capture file
* fix(studio): apply-to-scope writes only the grading attribute, exactly as given
patchMediaTag passed the new attribute to String.prototype.replace as a
replacement string, so `$&`, `$'` and similar in a grading value were
expanded from the old tag and could split the attribute. Its match also
needed a quoted value, so an unquoted or valueless attribute was
duplicated instead of replaced. It now walks the tag's attributes the way
the browser reads them and slices out the data-color-grading spans: the
first gets the new value, any later duplicate is removed.
When a grading is copied to other media, an unknown preset id, an unknown
color space, or a LUT source with a scheme other than http, https or data
is dropped instead of being written into other files. Variable references
stay.
* fix(studio): apply-to-scope keeps a known bare preset id
The attribute's short form is a preset id alone, which core reads as a
preset. It is now kept when it is a known id or a variable reference
instead of being refused as unreadable. The quick-save concurrency test
applied the filler preset warm, which is not a preset; it applies
warm-daylight now.
* fix(studio): grading attribute scan splits on HTML whitespace, appends after the last attribute
The scan used JavaScript's \s, which also splits on a no-break space that
HTML keeps inside an unquoted value, so clearing a grade could cut the
source. It now separates on HTML whitespace only. A new attribute goes
after the last attribute the scan read, so the slash that ends an
unquoted value such as src=images/ stays part of it.
* fix(skills): helper outputs replace a link at their name instead of writing through it
* fix(skills): audio data writes its temp file with a plain exclusive open
* fix(skills): regenerate the skills manifest and read test outputs before inspecting them
* chore(skills): regenerate the skills manifest after merging main
* chore(skills): regenerate the skills manifest after merging main
* chore(skills): regenerate the skills manifest after merging main
* feat(producer): render a part of the film with HDR video or shader transitions
The layered route now takes the frame window too, so a range renders
HDR compositions and webm/mov shader transitions in one pass instead of
being refused. Both layered loops seek the film frame and look up
transitions by it, and the transition count that picks the hybrid loop
counts only the window's frames.
A whole render frees each HDR video's frames once it passes the clip's
end, and the compositor draws a video until then. A window replays
that freeing for the frames before it, so its first frame no longer
shows a video that ended earlier in the film.
* refactor(producer): name the window start and transition lookup the layered loops share
* test(producer): pin the frame where a range stops replaying ended HDR videos
* fix(studio): the dev Studio serves no project or private file outside its API
* fix(studio): the dev Studio shell sends the CLI Studio's framing headers
* test(studio): the dev file-serving test does not wait on dependency discovery
* test(studio): dev file-serving tests build /@fs/ URLs the way Vite does on Windows
* test(studio): the dev file-serving test warms Studio's entry module before timing requests
* test(studio): dev file-serving tests get a dev-server time budget
* fix(parsers): media paths resolve to absolute paths, and only http(s) skip the literal-name check
* chore(skills): regenerate the skills manifest for the literal-name check
* chore(parsers): raise the unpacked size budget to what the absolute resolver measures
* chore(skills): regenerate the skills manifest after merging main
* chore(skills): regenerate the skills manifest after merging main
* chore(skills): regenerate the skills manifest after merging main
* 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
* fix(engine): the playlist walk reads an HLS list's segments as the stream ffmpeg joins
ffmpeg's hls demuxer feeds one inner demuxer the init section and then each
segment, and probes that joined stream. The walk judged each file alone, so
a list split across segments, or across the init section and a segment, was
missed.
The walk now reads the joined stream from every segment ffmpeg may start at,
behind the init section in force there, and refuses the list when any of
those streams reads as a list. AES-128 segments are decrypted with their key
first; a segment whose key cannot be read adds nothing, as in ffmpeg. Lists
that name byte ranges are refused, since the walk does not model them.
* fix(engine): the HLS stream check reads only judged files, inside the walk budget
The stream check now runs after every entry is judged inside the folder, so
a key or segment is read only once confinement and private-path checks pass.
Every open and read it makes is charged to the walk's byte budget, and each
starting stream is walked lazily instead of copied.
* fix(engine): decrypt with the first 16 bytes of a longer HLS key file, as ffmpeg does
* test(engine): give the HLS stream budget test room on a loaded runner
* perf(engine): read each HLS segment's opening bytes once across starting streams
Every stream that starts before a segment reads its opening bytes again, so a
list of many tiny segments opened each file once per earlier start. The first
kilobyte of each segment is now read once and reused.
* fix(studio-server): delete, cut, group and ungroup decline a script, style or page-shell target
An element patch already declines a target that is code or page plumbing. The
structural writers removed, cut, grouped or dissolved whatever the target
resolved to, so one aimed at a script, a style sheet, head or body changed the
file. They now share the patch writer's rule, which also covers html, head,
body and title, and leave the file as it was.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
* fix(studio-server): an element patch may still style the page shell
The first commit widened the shared patch rule to html, head, body and title.
A style or attribute set on body is an ordinary edit, so the wider set now
applies only to delete, cut, group and ungroup.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
---------
Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
* fix(studio): a sealed preview's timeline shows a composition nested in a sub-composition
* fix(studio): a sealed timeline takes a nested composition's length only from its own timeline
* fix(studio): timing edits patch the clip and the duration readout in a sealed preview
* fix(studio): a timeline delete takes its clips out of a sealed preview at once
* refactor(studio): keep the preview patch module's comment share
* test(core): a timeline delete removes every kind of clip the runtime lists
* fix(core): a timeline delete removes what the runtime's timeline calls a clip
* test(studio): the delete test hears only the preview frame's own messages
* test(core): a sealed delete counts each clip it takes out once
* fix(core): a sealed delete counts each clip it takes out once
* test(core): a sealed delete counts a clip once when its child is named first
* fix(core): a sealed delete counts a clip once whichever order the batch names it
* fix(studio): an open text edit keeps its typing when a project file changes outside Studio
A press on the text being edited started and ended a move gesture on the same element. The gesture mark held one gesture per element, so ending the move cleared the edit's mark and the next preview reload replaced the frame under the open edit. Live gestures are now tracked per element; ending one keeps the others, and a drag superseded by a newer gesture still ends its own.
* fix(studio): a resumed edit gesture keeps the moment it started at
* fix(sdk): a text edit never writes into a script, style or other non-content element
* refactor(sdk): the text-edit decline check lives in its own function
* test(cli): a captured video is saved only under a tool-chosen video name
* fix(cli): captured videos get a video extension chosen from their bytes, never the page's name
* test(cli): the capture name tests make the manifest folder and type their stand-in bodies
* fix(cli): capture --video releases the response it refuses as no video
* fix(cli): capture --video prints the already-downloaded name through terminalText
* test(cli): video.ts now prints one fewer unwrapped value
* test(cli): two captured videos with one name stem keep both files
* fix(cli): a capture's second video with a taken name saves as name-2, not over the first
* test(cli): two captured videos whose names differ only in case keep both files
* fix(cli): a capture's video names count as taken whatever their case
* feat(producer): render a part of the film in one pass, in any format and frame rate
RenderConfig.range renders [start, end) seconds of the film as its own
video starting at 0. The window runs on the disk capture route, which
already takes a frame range, so mp4, webm, mov, gif and png sequences at
any frame rate get it; the layered route (HDR, shader transitions in webm
and mov) refuses a range until it supports one. Audio is mixed for the
whole film and cut to the window, so effect tails crossing into it stay.
Sequential disk capture now gives the engine the film frame and names the
file from 0, as parallel workers already did; before, a range starting
past 0 handed the engine window-relative frames.
* feat(producer): add the range window the first commit left out
The previous commit carried only the engine's captureFrame file index;
this adds RenderConfig.range, the frame window, the layered-route
refusal, the audio trim and their tests.
* refactor(producer): pass the audio window through without a branch
* test(engine): end the window test's ffprobe options before the path
* 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
* fix(engine): a render keeps and logs the page's console and error text only up to a fixed size
* fix(engine): page text is cut where it is kept or logged, after it is classified
* chore(engine): raise the engine's packed size budget for the page-text bound
* fix(producer): a private project file stays private under any path spelling
A local render that brings in outside files read a media path spelled
outside the project, but resolving to a private project file, as an
ordinary outside file. isPrivateUnderAssetRoots can now also pick a
root by the real file, and the render callers ask for that when outside
files are allowed. The default still never looks at a file spelled
outside the project.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
* fix(engine): leave a path on another network root unread when judging private files
The real-path lookup added for renders that bring in outside files ran before the
network-root refusal in the duration probe. The lookup now answers no for such a
path without looking at it, so every caller keeps the order.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
* fix(producer): a private project file is not copied in under another path spelling
The outside-asset collector asked only whether a path's real file leaves the
project, so a private project file named by a path spelled outside the project
was copied into the compiled output. The refusal every collector passes through
now answers for that case too.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
* fix(engine): a media source that is no file is not looked up as one
With outside files allowed, a long inline data source reached the real-path
lookup, which walks one folder per slash when the path does not exist and ran
out of stack. The lookup now runs only for a path that exists.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
---------
Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
* fix(cli): capture checks the page's token result before using it
extractTokens cast the page's evaluate result straight to DesignTokens.
The page can redefine the built-ins its script uses, so headings or ctas
could come back as objects whose length is text, and buildPrompt wrote
that text into AGENTS.md, CLAUDE.md and .cursorrules as a count.
normalizeDesignTokens rebuilds every field to its declared type and
bounds each list and text before anything reads the tokens, and
buildPrompt counts only real lists.
* fix(cli): keep the token fields in the script's order and drop URLs a cut would break
The agent-file count helper is named for what it reads instead of carrying
a comment. ogImage, section asset URLs, background images and CTA links over
their limit are dropped whole rather than cut to a different address, and
the normalised tokens keep the extract script's key order so tokens.json is
unchanged for a normal page. The existing agent-file test now also covers
headings and CTAs whose length is text.
* test(cli): cover each value the token check drops whole
* fix(studio): an element description keeps only a selector Studio would have built
A sealed preview describes its elements to Studio, and the description's selector later names the
element an edit is saved to. The reader took any string. It now keeps a description only when its
selector is the described id, one class, a composition id or a group, the forms the runtime builds.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
* fix(studio): hold the selector check to exactly what the runtime builds
A form whose control is named id no longer yields an id selector made
from the control. Class selectors that start with a digit and empty
attribute values are refused. A test ties the check to the builder.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
---------
Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
* 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
* 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