Commit Graph
7696 Commits
Author SHA1 Message Date
Miguel Angel Simon Sierra a2f23ad333 Merge remote-tracking branch 'origin/main' into fix/rename-nested-folder-references
# Conflicts:
#	packages/studio-server/src/routes/files.ts
2026-11-21 02:44:00 -05:00
Miguel Ángel de63e97311 fix(ci): a diff is a release only when it bumps versions (#8355)
* test(ci): a fix to an earlier release's notes is not a release

* fix(ci): a diff is a release only when it bumps versions
2026-11-21 06:59:15 +00:00
James RussoandClaude Fable 5.2 a744f5c3f5 fix(cli): show control characters as text in four more commands' printed lines (#8346)
* fix(cli): show control characters as text in five more commands' printed lines

browser, models, templates, transcribe and lambda policies now write
control characters out as visible text in the lines they print for
people: failure lines and the path, name and pattern lines. JSON output
and the bare path that browser path prints for scripts are unchanged.

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

* fix(cli): show control characters as text in a transcription status line

The status line a runner reports beside the spinner is rewritten the same
way as the label next to it. The lambda policies change moves to the pull
request that covers the rest of the lambda commands.

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

* fix(cli): show control characters in more local-input warnings, keep --json messages as given

The warnings printed by the browser cache and download code, the media
probe, the speech runtime loader and the optional-package installer now
show control characters as text. A failed --json run that takes its
message from stderr gets the text as given again.

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

* test(cli): run the probe case from an inline script

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

---------

Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 06:45:37 +00:00
Miguel Ángel 9bea44695b feat(studio-server): a host can name paths its project history never records (#8224)
* feat(studio-server): a host can name paths its project history never records

* test(studio-server): an ignored path loses its old targets, its pruned versions and every write

* fix(studio-server): an ignored path leaves old targets and the saved log, and is never written

* refactor(studio-server): opening a log that drops ignored paths is its own step

* perf(studio-server): a restore checks where each write lands without blocking the thread

* test(studio-server): an undo never writes an ignored file through a folder link

* test(studio-server): ignored kept files leave old undos, and no ignores keeps the link refusal

* fix(studio-server): ignored paths leave old kept files; only the host's rule skips a linked write

* test(studio-server): the link refusal is the thrown error, and no redo is offered
2026-11-21 06:43:23 +00:00
James RussoandClaude Fable 5.2 af0664c8f5 fix(cli): show control characters as text in cloudrun and cloud printed lines (#8350)
The cloudrun commands and the remaining cloud render and cloud delete
lines now pass quoted text through terminalText / terminalLines before
printing, including the adapter notice callbacks and the confirm
question. JSON output is unchanged.

Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 06:27:45 +00:00
James RussoandClaude Fable 5.2 eaec4f4ad9 fix(cli): show control characters as text in the lambda commands' printed lines (#8348)
Notices, progress and status lines, the rows that name a stack, a bucket,
an address or a key, and failure rows now go through terminalText or
terminalLines before they are printed. JSON output is unchanged.

Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 06:27:43 +00:00
James RussoandClaude Fable 5.2 7a91dc9fe9 fix(cli): show control characters as text in sign-in, account status and preview lines (#8347)
* fix(cli): show control characters as text in sign-in, account status and preview lines

Account names, plan and billing values, device codes, failure reasons and
file paths printed by auth login, auth status and preview now go through
the shared text helper, so a control character is shown as \xNN instead
of being sent to the terminal. JSON output is unchanged.

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

* fix(cli): show control characters as text in the open-by-hand page address

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

* fix(cli): cover the sign-out path line; account status rows move to the reply-text change

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

---------

Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 06:27:41 +00:00
James RussoandClaude Fable 5.2 9937baee1e fix(cli): show control characters in more command messages as text (#8344)
* fix(cli): show control characters in more command messages as text

beats, normalize-audio, lint, history, feedback and snapshot printed
failure text that can quote a file name or an attribute from the
project. Control characters in it now print as visible \xNN escapes,
the way the shared failure helper already prints them. JSON output is
unchanged.

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

* fix(cli): show control characters as text in the same commands' progress and result lines

Names, paths and ids that these commands print while they work and when
they finish now go through the same display helper as their failure lines.
JSON output is unchanged.

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

* fix(cli): the repro upload line moves to the reply-text change

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

---------

Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 06:06:43 +00:00
Miguel Ángel 4095b73689 docs(release): list the Layers panel undo fix in the v0.9.75 notes (#8351) 2026-11-21 05:58:30 +00:00
James RussoandClaude Fable 5.2 efd04c3b81 fix(cli): show control characters in service reply messages as text (#8345)
* fix(cli): show control characters in service reply messages as text

share, billing, auth refresh and publish printed failure text that can
come from a service reply. Control characters in it now print as
visible \xNN escapes, the way the shared failure helper already prints
them. JSON output is unchanged.

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

* fix(cli): show control characters as text in the same commands' link and status lines

Links, plan names and progress steps that these commands print when they
succeed now go through the same display helper as their failure lines.
JSON output is unchanged.

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

* fix(cli): show control characters as text in account status rows and a failed repro upload

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

---------

Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 05:57:56 +00:00
Miguel Ángel 990aec78ba fix(core): remember each minted svg id's next free suffix (#8285)
* test(core): pin svg id minting probes to the number of renames

* fix(core): remember each minted svg id's next free suffix
2026-11-21 05:57:07 +00:00
Miguel Ángel e1b951586f perf(studio-server): a root preview's parse passes run off the request thread (#7934)
* perf(studio-server): a root preview's parse passes run off the request thread

* test(studio-server): a root build's page passes counted off the request thread, not timed

* chore(studio-server): the root deadline's name says it; no comment over the ratchet
2026-11-21 05:56:44 +00:00
Miguel Ángel 7df3ae0a51 fix(studio-server): an undo never deletes a file a page it leaves still names (#8186)
* test(studio-server): an undo keeps a file a page it leaves still names

* fix(studio-server): an undo never deletes a file a page it leaves still names

* fix(studio-server): keep the undo's page check small and comment-free

* refactor(studio-server): the history reads file references without loading the file routes

* fix(studio-server): the history loads the file routes only when an undo would delete a file

* refactor(studio-server): history and renames share one core-free file reference matcher

* test(studio-server): undo steps past a kept upload and keeps a kept page's files

* fix(studio-server): undo steps past kept files and keeps what a kept page names

* refactor(studio-server): split the kept-empty undo check out of commit

* test(studio-server): a kept upload is redone, after reopening too, and a kept redo never traps undo

* fix(studio-server): an undo or redo records the files it kept, so redo and undo step past them

* test(studio-server): kept files go through redo's conflict check, newest redo and step paths

* fix(studio-server): a step over kept files checks later edits and names the files it writes

* test(studio-server): keep-later-edits over a kept upload leaves Cmd+Z on the earlier edit

* fix(studio-server): a redo that keeps every later edit records nothing, so Cmd+Z moves on
2026-11-21 04:47:30 +00:00
Miguel Ángel bf966b0cf3 chore: release v0.9.75 (#8343) v0.9.75 2026-11-21 04:47:22 +00:00
Miguel Ángel 06ba53b7c5 fix(studio): the Layers panel shows the undone order after an in-place undo (#8328)
* test(studio): the layers panel lists an in-place undo's new stacking order

* fix(studio): the layers panel re-reads its rows when an undo lands in place

* test(studio): an undo shown in place is announced once on every path

* test(studio): an unsealed in-place undo keeps the selection and its box

* test(studio): split the layers test's element setup out of its layer builder

* fix(studio): keep the layers panel within its size limit

* test(studio): fake preview frames take the in-place announce a real iframe does

* fix(studio): panels re-read an undone preview after the undo's write lands

* test(studio): a refused write and a sealed undo still announce the in-place restore
2026-11-21 04:44:58 +00:00
Miguel Ángel 4a50fb2798 fix(cli): writes into a project folder never follow a link already there (#8334)
* fix(cli): writes into a project folder never follow a link already there

normalize-audio, media-use generate, transcript-cut, transcribe, the SFX credits and
heygen-tts no longer write through a link at their output or temp names. A .media/.lock
that is a folder or a link fails at once instead of spinning, and media-use type
folders are checked before they are made.

* fix(cli): every other in-place project write goes through the shared writer

upgrade's wrapper rewrite, media-treatment, beats, snapshot descriptions, motionShot and
measure extract no longer write through a link at their output.

* fix(cli): the credits file is read without following a link, in one step

* chore(skills): regenerate the skills manifest for the media-use change

* fix(cli): upgrade keeps a wrapper script's mode when it rewrites the pin

Also: transcript-cut makes its staging folder only once it encodes, and a linked media type
folder is named as a link rather than as leading outside the project.

* fix(cli): upgrade reads a wrapper's mode and text from one open file
2026-11-21 03:36:53 +00:00
Miguel Ángel 63d1bb5596 fix(studio-server): history reads a project's folder off the thread when opening and pruning (#8340) 2026-11-21 03:22:10 +00:00
Miguel Ángel 370f09d74c fix(core): look up attribute-selector aliases by sorted key instead of scanning each (#8280)
* test(core): pin attribute-selector alias lookups to their matches

* fix(core): look up attribute-selector aliases by sorted key instead of scanning each

* test(core): refresh page goldens for the indexed alias lookups

* refactor(core): keep the alias module's comment share

* refactor(core): pick each attribute operator's lookup from a table

* test(core): refresh page goldens and the catalog font mirror for the table lookups
2026-11-21 02:29:48 +00:00
Michael Wang 056a13e28e fix(media-use): read recipe freeze sources only as regular files (#8325)
freezeRecipe read frame.md, STORYBOARD.md and BRIEF.md by path, which
follows links. A received project could link one of them to a file outside
the project, and the freeze copied that file's content into the project
and user recipe folders.

The freeze now reads each source once through readRegularFile, before any
folder moves. A source that is a link or not a regular file stops the
freeze with nothing written. A missing BRIEF.md still freezes without a
brief skeleton.
2026-11-21 02:20:22 +00:00
Miguel Ángel 6515a90804 fix(core): seeking a film with many videos no longer hangs Safari (#8278)
* ci(player): the Safari films check can run one film many times

Started by hand, the workflow takes a film list, a run count and a browser list, and each such
start runs beside the others instead of cancelling them. A fault that shows in one run of a
film out of many needs hundreds of runs of that film to be seen, and to be shown gone.
Pushes, pull requests and the nightly run are unchanged: every heavy film, twice, in Safari
and Chrome.

* fix(core): seeking a film with many videos no longer hangs Safari

A seek in a player frame holds the picture each shown video is showing. Since #7971 that
picture is drawn through a VideoFrame of the video, which spares Chromium's image decode
cache. WebKit has no such cache, and in Safari making a VideoFrame of a video that was just
paused can block the page's main thread without end: the first seek after playback of a film
with sixteen 1080p videos never came back, and the "Heavy films: Safari vs Chrome" check
failed on it with a driver timeout.

WebKit now draws the held picture from the video element, as it did before #7971. Chromium
keeps the VideoFrame route.
2026-11-21 02:15:21 +00:00
James RussoandClaude Fable 5.2 183bc10807 fix(cli): show control characters in failure messages as text (#8336)
* fix(cli): show control characters in failure messages as text

A failure message can quote text from the project, such as a file name or a
data-composition-src value. `compare`, `grade-compare` and `add` printed that
message to the terminal as it was, so a control character in the quoted text
reached the terminal instead of being shown.

- failCaught now prints the message with control characters written out
  (\x1b, \x07, ...), the same way errorBox does. The --json envelope is
  unchanged.
- The composition size limit messages write the file label the same way, so
  every caller and the render server's logs get readable text.

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

* refactor(cli): carry the reason in the helper's name instead of a comment

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

---------

Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 02:04:59 +00:00
Miguel Ángel 80d968a94c chore: release v0.9.74 (#8338) v0.9.74 2026-11-21 01:44:02 +00:00
Miguel Ángel acdf9e59b2 fix(producer): count composition ids once for nested hosts, and charge the entry page's elements (#8335)
* test(producer): a nested host's id search and the entry page's elements stay bounded

* fix(producer): count composition ids once for nested hosts, and charge the entry page's elements
2026-11-21 01:00:38 +00:00
James RussoandClaude Fable 5.2 55cfbe0081 fix(ci): a package that fails to publish is tried again before the release fails (#8333)
One failed upload failed the whole release with the other packages already
out, and the next run could not finish it. The publish step now tries each
package up to three times. Every try asks the registry first, so a package
that went out on a try that reported failure is not sent again, a version
there with other contents still fails at once, and after the last try the
registry is asked once more before the package counts as failed.

Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 01:00:21 +00:00
terencechoandClaude Opus 5.5 861046f508 fix(core): keep a later scene's id-selected !important layer hidden before it starts (#8331)
* fix(core): keep a later scene's id-selected !important layer hidden before it starts

The hidden-clip contents rule (`[data-hf-clip-hidden][data-hf-clip-hidden] *`)
weighs two attribute selectors. A sub-composition's own
`#id { visibility: visible !important }` is rescoped under its composition
root, so it weighs an id plus an attribute and won the !important tie. The
element then painted from frame 0, over every earlier scene, in a render.

The rule now also ships inside a cascade layer. A layered !important outranks
every unlayered !important whatever its specificity. The unlayered copy stays
for engines that order layered !important the other way (jsdom).

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

* test(producer): move the hidden-clip cascade check into its own browser test file

The flake gate re-runs every changed test file under CPU contention with a
120 s cap per run, and the whole browser contract file does not fit in it.
The two cases now live in a small integration file the gate can re-run.

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 00:56:35 +00:00
Miguel Ángel 1ce69fd818 fix(producer): a compile's downloads stop when the compile returns, however it ends (#8321)
* test(producer): a failed compile stops its downloads, and a file's media is capped up front

* fix(producer): a compile's downloads stop when the compile returns, however it ends

* test(producer): media with a set duration is capped up front too

* fix(producer): reserve the clamp pass's media before it downloads any

* test(producer): a probe's signal fires on the render's cancel, whatever object carries it
2026-11-21 00:35:24 +00:00
Miguel Ángel ca91e800e2 fix(studio): a clip dropped on a sealed preview shows on the timeline (#8330)
A reloaded film posts its clip list while it loads hidden, so the router,
which only hears the live frame, drops it. A sealed frame then goes live with
no way to read its manifest off the window, and the timeline keeps the old
clips. The router now reads the clip list of a live frame it has not heard
from: off the window, or over the editing port for a sealed frame.
2026-11-21 00:30:03 +00:00
Michael Wang b2c18a45c6 fix(skills): agents run the CLI through the launcher, never a project's scripts (#8326)
The hyperframes-cli skill told a job with no TTY to pin the release with
the project's pinned npm run scripts. Agent shells rarely have a TTY, so
a project from someone else could choose what the agent runs through its
package.json scripts, .npmrc or node_modules.

The skill core now offers only the launcher with an exact version from
the person or from --cli-version latest --version. The unattended
reference keeps project scripts and project installs for a person's own
pipelines on projects they wrote. The Remotion eval flow is scoped to the
fixtures the skill ships. A new skill lint check fails when a shipped
SKILL.md documents npm run, an npm install of the CLI, or
node_modules/.bin/hyperframes.
2026-11-21 00:11:12 +00:00
Michael Wang 9e3fb696c0 fix(media-use): media writes replace a link at the output name instead of following it (#8324)
* fix(media-use): replace a link at a generated media output instead of writing through it

heygen-tts writes its audio and --words file, and hyperframes generate writes
its download and its cropped video, by renaming a new file onto the output
name. A link already at that name is replaced, and the file it points at is
left alone. The crop is encoded in a private staging folder instead of at
<out>.fit<ext>.

* fix(media-use): replace a link at the Gemini, ElevenLabs and Kokoro voice outputs

Gemini now writes its wav with replaceFile. ElevenLabs and Kokoro write into
the private text folder, and the result then replaces the output, so a link
at the output name is replaced instead of followed. replaceFile removes its
temp file when the write fails, and retries a rename Windows briefly holds.
2026-11-20 23:44:54 +00:00
James RussoandClaude Fable 5.2 2ed4a141eb fix(cli): a model name that every object carries is an unknown model (#8319)
* fix(cli): a model name that every object carries is an unknown model

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

* chore(cli): name the own-key lookup instead of commenting it

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

---------

Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-20 23:18:35 +00:00
Michael Wang 0012c1cb88 fix(share): hold an unprompted share in a received folder to the review it read (#8322)
* fix(share): hold an unprompted share in a received folder to the review it read

In a folder that came from someone else, a share that asks nothing now still
passes the review id it read, or none, to the run. A review record written in
between is then refused.

The skill says to ask before passing --review. The refusal for a changed review
says how to share the folder as a new review. A comment says what the
first-share step does now.

* docs(skills): name the review link only when it exists
2026-11-20 23:04:03 +00:00
Miguel Ángel f8c90591b0 fix(producer): pass the render's cancel to probes of a source read at its URL (#8312)
* test(producer): a cancel stops a media source probed in place at its URL

* fix(producer): pass the render's cancel to probes of a source read at its URL

* test(engine): a cancelled metadata probe rejects with ffprobe's own error

* test(engine): a cancel stops frame extraction while it probes a source at its URL

* fix(producer): pass the render's cancel to every render-time probe of a source

* fix(engine): a cancelled metadata probe rejects with the cancel's reason

* test(engine): probe a local path in the metadata cancel test, so no TLS check runs first
2026-11-20 23:00:57 +00:00
Miguel Ángel cc453b7673 test(engine): the egress proxy test makes its certificate in-process, not with openssl (#8296) 2026-11-20 22:57:54 +00:00
Miguel Ángel 9848647b96 feat(core): a sealed preview's frame runs an in-place text editing session for Studio (#8181)
* test(studio): text fields and text edits in a sealed preview

* fix(studio): text fields and text edits work in a sealed preview

* refactor(core): shorter notes on edit-element markup

* refactor(studio): name the sealed text edit's steps so the code audit passes

* refactor(studio): share the text commits' steps and split the put-back check

* refactor(studio): say the sealed text edit's steps in names, not comments

* feat(core): a sealed preview's frame runs an in-place text editing session for Studio

* fix(core): a text edit session restores a removed element and ends only for its own port
2026-11-20 22:50:37 +00:00
Miguel Ángel 047bd87dc9 chore: release v0.9.73 (#8277)
* chore: release v0.9.73

* docs(release): add main's later fixes to the v0.9.73 notes

* docs(release): add main's newest fixes to the v0.9.73 notes

* docs(release): add main's latest fixes to the v0.9.73 notes
v0.9.73
2026-11-20 17:32:37 -05:00
Michael Wang 12eab05b5a fix(studio-server): refuse a sub-composition preview past the render's limits (#8308)
* fix(core): give the preview bundler the render's expansion budget

The preview bundler inlined every sub-composition mount with only a depth
limit, so a few small files that mount each other many times assembled a
page without bound. The producer's expansion budget now lives in core, and
the bundler charges every mount and the scripts and styles generated for
it to that budget, and checks each file's size before reading it. Studio
preview shows the refusal instead of falling back to the raw page, whose
mounts the browser would expand the same way.

* refactor: drop comments the names already carry

* fix(studio-server): refuse a sub-composition preview past the render's limits

The single sub-composition page is served without bundling its mounts, and
the browser runtime then fetches one copy for every data-composition-src
host in it, with no count or byte limit. The page build now charges each
host the browser will fetch to the shared expansion budget, reading each
target's size once, and the route serves the preview's refusal page.

Also moves the preview route's size-limit check above the comment it had
displaced, and uses core's check through a light subpath.

* fix(core): give the preview bundler the render's element cap

#8295 added a 100,000-element cap to the render's expansion budget. The
preview bundler now passes chargeElements to the shared inliner too, so
preview refuses the same compositions.

* fix(studio-server): charge a percent-encoded composition src for the file it serves

The comp page build looked up each data-composition-src by its raw text, so
an encoded spelling such as b%69g.html counted as a mount but was charged
0 bytes, while the preview route decodes it and serves big.html. Resolve
the same decoded path the route serves.

* test(core): give the preview fan-out budget test a 30 s timeout

The flake gate saw it pass 9 of 10 runs under CPU contention, timing out
at the default 5 s. The neighbouring scoper bound tests use 30 s too.
2026-11-20 22:09:10 +00:00
Michael Wang 19253b3c86 fix(core): give the preview bundler the render's expansion budget (#8306)
* fix(core): give the preview bundler the render's expansion budget

The preview bundler inlined every sub-composition mount with only a depth
limit, so a few small files that mount each other many times assembled a
page without bound. The producer's expansion budget now lives in core, and
the bundler charges every mount and the scripts and styles generated for
it to that budget, and checks each file's size before reading it. Studio
preview shows the refusal instead of falling back to the raw page, whose
mounts the browser would expand the same way.

* refactor: drop comments the names already carry

* test(core): give the preview fan-out budget test a 30 s timeout

The flake gate saw it pass 9 of 10 runs under CPU contention, timing out
at the default 5 s. The neighbouring scoper bound tests use 30 s too.
2026-11-20 21:22:17 +00:00
Miguel Ángel 5f024e34e2 fix(studio): thumbnails of compositions with no code of their own load in under a second (#8316)
* fix(studio): thumbnails of compositions with no code of their own load in under a second

Both thumbnail paths (the CLI's preview server and Studio's dev server) waited up to 5 s for
a GSAP timeline before shooting a card. A composition with no script never registers one, so
each of its cards took the full 5 s, and the route shoots one card at a time, so the third
card came at about 16 s.

The wait cannot simply go: a composition may register its timeline late, in a timer or a
load handler, after the runtime is ready, and shooting it then shows the wrong moment.

So the preview route now marks the page a thumbnail loads when nothing on it can register a
timeline: no script but Studio's own (the runtime, GSAP core, an import map, the registry
line), no inline event handler, frame, template or child composition loaded at run time, and
no Studio motion. A marked page is shot once the runtime is ready. Every other page is held
for its timeline exactly as before.

The rule lives once, in studio-server, and both thumbnail paths wait on it.

fails without the fix: "is skipped for a composition with no code of its own" and "holds for
a composition whose script registers its timeline late"
(packages/studio-server/src/routes/preview.thumbnailMark.test.ts), "thumbnailSeekReadyInBrowser"
(packages/studio-server/src/helpers/screenshotClip.test.ts), "hasAuthoredCode"
(packages/studio-server/src/helpers/authoredCode.test.ts), and "holds a thumbnail's shot on
the thumbnail readiness rule" (packages/cli/src/server/studioServer.test.ts and
packages/studio/vite.browser.test.ts).

* test(studio-server): the thumbnail mark test builds its page from elements, not parsed text

The test read the served page back through DOMParser and innerHTML to hand its metas to the
readiness rule, which code scanning reports as DOM text reinterpreted as HTML. It now finds
the served page's meta tags with the compiler's own tag scanner and creates each one as an
element, so no text is parsed as markup.

Also adds a row to the code check's table: a script inside an inline SVG counts as code.

fails without the fix: "is skipped for a composition with no code of its own"
(packages/studio-server/src/routes/preview.thumbnailMark.test.ts) still fails when the route
writes no mark.
2026-11-20 21:19:26 +00:00
Miguel Ángel 8d5863cfb2 test(studio): a sealed preview's reload waits for a resize on its stand-in to end (#8222)
* fix(studio): a scene edit swaps in place and a far scene mounts for selection in a sealed preview

* test(studio): a sealed undo that reloads marks its scenes stale first

* fix(studio): a timing drag moves the animation in place in a sealed preview

* fix(studio): a sealed timing drag moves the clip's window and the film length with its tweens

* test(studio): the sealed retime test checks both requests were sent before comparing them

* refactor(studio): the sealed live retime code passes the quality audit

* style(core): format the sealed live retime parser

* fix(studio): a reload waits for a drag to end in a sealed preview

* refactor(studio): manual edit gesture tracking lives in its own module

* test(studio): a sealed preview's reload waits for a resize on its stand-in to end
2026-11-20 21:15:14 +00:00
Miguel Ángel 6a15e8af9e fix(studio): text fields and text edits work in a sealed preview (#8156)
* test(studio): text fields and text edits in a sealed preview

* fix(studio): text fields and text edits work in a sealed preview

* refactor(core): shorter notes on edit-element markup

* refactor(studio): name the sealed text edit's steps so the code audit passes

* refactor(studio): share the text commits' steps and split the put-back check

* refactor(studio): say the sealed text edit's steps in names, not comments
2026-11-20 20:53:16 +00:00
Michael Wang 39fa5ae9d2 fix(cli): share confirms an existing review before changing it in a received folder (#8315)
* 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
2026-11-20 20:38:03 +00:00
James RussoandClaude Fable 5.2 5e1008124b chore(cli): retire nano-banana-2 and gpt-image-2.5 from media-use generate (#8314)
* chore(cli): retire nano-banana-2 and gpt-image-2.5 from media-use generate

Both have a newer model that replaces them. Asking for either now stops before any
request is sent and names the model to use instead. The price table, the --model help
and the media-use skill reference no longer list them.

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

* chore(cli): drop a redundant comment

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

* fix(cli): check a media-use generate request before pricing it

A request the command would refuse is refused with its own message, whether or
not --max-credits is given.

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

---------

Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-20 20:28:52 +00:00
Miguel Ángel aa05198583 fix(studio): a reload waits for a drag to end in a sealed preview (#8164)
* fix(studio): a scene edit swaps in place and a far scene mounts for selection in a sealed preview

* test(studio): a sealed undo that reloads marks its scenes stale first

* fix(studio): a timing drag moves the animation in place in a sealed preview

* fix(studio): a sealed timing drag moves the clip's window and the film length with its tweens

* test(studio): the sealed retime test checks both requests were sent before comparing them

* refactor(studio): the sealed live retime code passes the quality audit

* style(core): format the sealed live retime parser

* fix(studio): a reload waits for a drag to end in a sealed preview

* refactor(studio): manual edit gesture tracking lives in its own module
2026-11-20 20:13:38 +00:00
Michael Wang d3d3350d41 fix(share): an unconfirmed share only finishes a first share it can recognize (#8313)
A folder's review record can name a project with no finished share. When
no host confirmed that review, shareForReview now goes on only if the
project is as an unfinished first share leaves it: no ready version, its
link never turned off, and private or already set to this share's
audience. Anything else is refused with review_project_changed before
any audience change, link reopening or upload, and the record stays as
it is.
2026-11-20 20:09:04 +00:00
Ice cola d8d45f481b docs(cli): pin npx in unattended runs and verify the render (#7467)
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.
2026-11-20 19:48:29 +00:00
Robin Ebers 925a64db39 fix(player): stop films cut from one long recording freezing in apps that embed the player (#8243)
* fix(player): stop the preview freezing when many clips share one long recording

Brings back #7795, which #7978 took out because the HyperFrames desktop
app stopped re-reading a film after a script edit. The next commit keeps
Studio's preview, and every app that embeds it, on main's behaviour.

This reverts commit 33e1a36a39.

* fix(core): the Studio preview, and apps that embed it, keep main's clip handling

With #7795 the player's frame held clips back on every engine, by its
name, and released a clip by setting its src again. Studio's preview
sits in a player frame too, so it took both, and the HyperFrames desktop
app, which embeds that preview, stopped re-reading a film after a script
edit (#7978).

A page carrying Studio's preview mark now takes the same media decisions
as on main: the player's frame counts there on WebKit only, as before,
and a clip is released by load() with its src dropped. A plain player
embed keeps the hold-back and the new release, which is what stops a
film cut from one long recording freezing in Chrome and Firefox.
2026-11-20 19:48:28 +00:00
Miguel Ángel 2161b505bd test(producer): outside-file render tests get a time budget that fits their ffmpeg work (#8307) 2026-11-20 19:41:12 +00:00
Miguel Ángel 2b0294b735 fix(studio): a sealed crop frame turns with its layer (#8310)
* fix(studio): a sealed crop frame turns with its layer, before a press and after a scrub

* refactor(studio): the crop handles hand a sealed card's earlier press layout to the crop frame

* fix(studio): keep the frame's raw planar out of a parsed gesture start
2026-11-20 19:34:36 +00:00
Miguel Ángel d6411daacf docs(render): name the 100,000-element limit beside the mount limits (#8309) 2026-11-20 19:34:17 +00:00
Miguel Ángel 7b2c6dc1ad fix(studio): paste refuses an element with an event handler or a script link (#8298)
* test(studio): pasting a preview's own element keeps only markup that runs no code

* fix(studio): paste refuses an element with an event handler or a script link

* fix(studio): paste checks only markup that is not in the saved file

* test(studio): paste refuses code in elements and in links spelled to slip past

* fix(studio): paste refuses scripts, inline frames and links a browser would read as script

* refactor(studio): one owner for markup safety and the saved-or-live copy plumbing

* refactor(studio): keep the saved-markup helpers private to their module

* test(studio): clipboard text cannot mark a pasted clip as saved

* fix(studio): clipboard text cannot mark a pasted clip as saved
2026-11-20 19:06:46 +00:00