* 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
* 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.
* fix(studio): a paste from another file cannot carry the marks Studio reads as its source file
* refactor(core): the marks Studio reads as an element's source file have one owner
* fix(player): a sealed player's redirect to another site loads without a console error
* test(player): an off-site redirect is not read by a sealed player
* fix(share): a change-of-space journal counts only when this install sealed it
A host that binds journalKey has each journal the kernel writes sealed with an HMAC over the project folder and the journal's own text. The kernel's one read treats a journal without that seal as none, so a status read never acts on a journal another party put in the project.
* fix(share): an old link's cleanup acts only on a change marked opened
The kernel marks a change opened before it moves the record, so an unopened change beside a record already on its new project is an earlier journal written back; its cleanup no longer turns that link on again.
* fix(share): a press drops an unopened change already on its new project instead of settling it
changeSpace took an earlier journal written back into oldLinkFirst, which turned its link on again; it now gets cleanupOf's rule.
* refactor(share): keep the written-back journal rule in its own step of a press
* 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(registry): inline the warm-grain starter's grain texture
The starter's grain layer loaded its paper texture from an outside site at
preview and render time. It now ships the texture as an inline SVG noise
tile, so a new project renders the same frames offline.
A test scans the starter files and fails when one names an outside host
other than the four the starters already use.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
* test(registry): see a host named in a template literal
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
* test(registry): split the skipped-file pattern into its two parts
One pattern held a path part and a file ending joined by "|", with the end
anchor on only one side. Two patterns say the same thing without relying on
operator precedence.
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(studio-server): place the preview variables tag by reading the document
The tag that carries `?variables=` into a preview was placed after the
first "<head" text in the file. That text can also sit inside an attribute
value or a comment, and a tag placed there is not a script: the page got no
variables and the <html> element picked up extra attributes.
core gains headContentStart, built on the tokenizer helpers htmlDocument
already has. It reads the document prefix the way a browser does (comments,
doctype, quoted attribute values) and returns the position after the real
<head> start tag, else after <html>, else after the doctype, else 0.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
* fix(studio-server): place the GSAP fallback script by reading the document
The preview route put this script after the first literal "<head>" in the
page, which can be text inside an attribute value or a comment. It now uses
headContentStart, the same as the preview variables tag. A page whose head
tag has attributes also gets the script inside the head now, where before it
went ahead of the doctype.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
* fix(core): headContentStart keeps a leading byte-order mark first
With no doctype, html or head tag the position was 0, ahead of the mark.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
* chore(core): trim comments added with head placement
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
---------
Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
A link attribute written under another prefix (for example xl:href with the
prefix bound to the xlink namespace) was not checked as a link, so an SVG that
loads an outside file through it was saved as a plain image.
Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>