6413 Commits
Author SHA1 Message Date
Miguel Ángel 9ec93615ef chore: release v0.9.84 (#8548)
* chore: release v0.9.84

* chore: release v0.9.84 notes list everything merged through #8541

* chore: release v0.9.84 notes list #8552

* chore: release v0.9.84 notes list #8551
2026-11-23 02:35:22 +00:00
Miguel Ángel 148f9deb77 fix(lint): a page with thousands of scripts and tags lints in seconds (#8551)
* test(lint): pages with thousands of scripts and tags lint in linear time

* fix(lint): a page with thousands of scripts and tags lints in seconds

* test(lint): bound how lint time grows with tags, not a slow runner's clock
2026-11-23 01:51:31 +00:00
Ari Reid b734a41142 fix(cli): keep objects sliding offscreen in one shot (#8552) 2026-11-22 20:48:51 -05:00
Miguel Ángel 543fcebb9a refactor(studio): name the draft send by the microtask it waits for (#8541) 2026-11-23 01:16:36 +00:00
Miguel Ángel effc9586b9 fix(core): a sealed resize keeps a layer centred by a % translate under the pointer (#8547)
* test(core): a sealed resize probe measures a % translate the way the draft draws it

* fix(core): a sealed resize keeps a layer centred by a % translate under the pointer
2026-11-23 00:40:37 +00:00
Miguel Ángel 35a0d81c2b fix(studio): a sealed preview that can't swap scenes reloads without asking first (#8544)
* fix(studio): a sealed preview that can't swap scenes reloads without asking first

* fix(studio): type the timeline message's scene-swap answer
2026-11-23 00:13:49 +00:00
Miguel Ángel e51b75208a fix(studio): a new blank project opens on an empty timeline again (#8546) 2026-11-23 00:05:49 +00:00
Miguel Ángel 07949fb80d test(studio): the edit bench reads an undo once Studio says its reload is done (#8542) 2026-11-22 23:59:23 +00:00
Miguel Ángel 3ee763267c fix(producer): a dead render's folder is cleaned up reliably, never another machine's (#8538)
* test(producer): a dead render's dir is reclaimed when the boot estimate rounds the other way

* fix(producer): a dead render's dir is reclaimed though the boot estimate rounds the other way

* fix(producer): a render owner's boot is stamped in seconds on this machine's own id

* test(producer): the machine-id tools run by absolute path

* fix(producer): the machine id comes from the system's own tool at its fixed path

* test(producer): a system root on the current drive runs no machine-id tool

* fix(producer): the Windows system root must be a full drive path to run reg.exe
2026-11-22 23:44:08 +00:00
Miguel Ángel 513dcce820 fix(studio): a sealed scale resize lands where it was dropped (#8301)
* fix(studio): arrow keys nudge the selected element in a sealed preview

A sealed preview's selection is a stand-in that is never in the page, so the nudge's check that the element is still
there refused every key and nothing moved. It now uses the same check the selection publisher uses, which keeps a
sealed selection until it is replaced.

* fix(studio): a sealed nudge moves an animated element by its tween and saves where it was drawn

A sealed preview's selected element is a stand-in with no animation or translate of its own, so a nudge guessed both from an empty page: it wrote a plain translate over the stylesheet's and the element landed elsewhere after a reload. The nudge now waits for the frame's gesture-start read, the one a press uses, and keys pressed meanwhile join the burst.

* test(studio): pass the nudge its frame refs in the undo paint test

* fix(studio): a sealed move on GSAP's route lands where it was drawn, not twice as far

When a move ends, the sealed frame kept the translate the gesture drew. A move on GSAP's route saves the new position as GSAP's x and y, so the layer then showed the move twice until the frame loaded again. The frame now drops the drawn translate for those moves; a move saved as a plain translate still keeps it.

* refactor(studio): split the sealed nudge key handler so each step reads on its own

* fix(studio): a sealed nudge waiting on its frame gives way to a drag, selection or other edit

* fix(studio): an arrow pressed while a canvas press waits on the preview does not start a nudge

* fix(studio): a sealed resize on GSAP's route keeps the size it drew when it ends

* refactor(studio): name the size-keeping draft end instead of commenting it

* fix(studio): a sealed resize saved as GSAP scale drops the size it drew when it ends

* fix(studio): a sealed scale resize lands on its drop point

* fix(studio): a sealed resize keeps its drawn size unless its save wrote the size as scale

* refactor(studio): measure a scale resize's drop in helpers, live or sealed

* chore(studio): keep the resize intercept's complexity exemption on the intercept

* fix(studio): a whole-tween resize of a width/height tween says it saved the size, not scale

* test(studio): cover the resize writer's held-size and unnamed-element returns

* test(studio): reach the resize writer's no-selector refusal with an element no selector addresses

* fix(studio): read a live scale resize's pre-gesture position while its edit is shown, as before

* refactor(studio): move the scale drop-point correction out of the resize intercept
2026-11-22 23:20:50 +00:00
Miguel Ángel cda1b00820 test(studio-server): a slow runner no longer leaves index.html's first copy owed in step-ahead tests (#8540) 2026-11-22 22:53:11 +00:00
Miguel Ángel fff27ce944 perf(cli): capture of an animated page finishes on a small host with no GPU (#8533) 2026-11-22 22:51:47 +00:00
Miguel Ángel 4f1e429fb1 chore: release v0.9.83 (#8539) 2026-11-22 22:33:47 +00:00
Miguel Ángel 8521027ffc fix(studio): a sealed resize step draws its offset and size in one message (#8537) 2026-11-22 22:33:07 +00:00
Miguel Ángel 0d624100c7 test(cli): snapshot, render and check capture skip a held history this run cannot write (#8532) 2026-11-22 21:44:20 +00:00
Miguel Ángel 60c0f9e279 perf(producer): compile time stays linear on pages with thousands of clips or style rules (#8528)
* perf(producer): compile time stays linear on pages with thousands of clips or style rules

* perf(producer): each background rule's selector matches in bounded time, :has() included

* fix(producer): a wrapper's escaped class selector still finds its background
2026-11-22 21:14:59 +00:00
Miguel Ángel 2e1cd03237 chore: release v0.9.82 (#8531) 2026-11-22 21:07:50 +00:00
Miguel Ángel 02450e3e2e fix(studio-server): a sandboxed history read no longer fails with EPERM while the app holds it (#8529)
A process that may only read the history folder now finds a live owner's lock busy at once instead of reporting the refused claim write, so readers show the history quietly.
2026-11-22 20:57:01 +00:00
Miguel Ángel 8c9c94572a fix(producer): a render serves every GSAP the CLI ships, and its own when the CDN is blocked (#8349)
* test(producer): an older GSAP our templates name, or a blocked CDN's GSAP 3, renders offline

* fix(producer): a render serves every GSAP the CLI ships, and its own when the CDN is blocked

* fix(cli): the CLI's size limit covers the GSAP 3.14.2 files renders serve
2026-11-22 20:32:43 +00:00
Miguel Ángel 80f45de33d fix(core): the motion path plugin loads from beside the page's own GSAP, never a CDN it did not name (#8523)
* fix(core): the motion path plugin loads from beside the page's own GSAP, never a CDN it did not name

* test(core): local root, revalidation and path-free preload rows

* fix(core): the motion path plugin never falls back to jsDelivr, nor preloads for a page with none

* fix(core): the plugin path beside GSAP is cut in linear time

* test(core): the Desktop walk film's plugin request stays on its origin

* fix(core): preload the motion path plugin only from the page's origin or a configured mirror

* fix(core): the motion path preload compares with the preview document's own origin

* fix(core): one rule decides the motion path plugin URL, bound to the document's own origin

* fix(studio-server): the plugin tag sits beside the page's GSAP as the page wrote it

* test(studio): the plugin-load fixtures name a page GSAP or a configured mirror
2026-11-22 20:31:38 +00:00
Miguel Ángel 4daeb78c3d fix(producer): a film with many clips of one 4K video no longer freezes the render probe (#8284) 2026-11-22 19:17:27 +00:00
Miguel Ángel 196eff39eb fix(studio): a sealed preview never keeps the keyboard, so no key it reports is acted on (#8521)
* test(studio): a sealed preview's key reports never act, even right after a real press

* fix(studio): a sealed preview never keeps the keyboard, so no key it reports is acted on

* test(studio): in Chrome, a key after a sealed preview takes focus reaches Studio

* fix(studio): take the keyboard back from a sealed preview once focus has settled in it

* test(studio): the sealed keyboard walk presses Delete once the clip is picked
2026-11-22 17:59:22 +00:00
Miguel Ángel e5e360154e fix(studio): a turned layer's cropped box is the bounds of its cut corners (#8502)
* fix(studio): a cropped layer's outline is cut at the layer's own scale, sealed or not

* fix(core): the geometry stream keeps an element whose geometry now carries its layout size

* fix(studio): a turned layer's crop is cut at its own scale, not its upright box's

* fix(studio): a turned layer's cropped box is the bounds of its cut corners

* test(studio): crossed and mirrored crop probes in both frames

* fix(studio): crossed insets meet and mirrored layers cut their own edge in both previews

* fix(studio): the CSS scale property counts in a cropped layer's box in both previews

* fix(studio): every overlay measure reads the transform the browser composes

* fix(studio): a layer turned out of its plane takes the box the browser paints

* fix(studio): a projected transform chain takes the box the browser paints

* fix(studio): a layer inside a 3D context takes the box the browser paints
2026-11-22 17:58:26 +00:00
Miguel Ángel 87fddbc1a1 fix(player): a sealed film is heard when its frame may not start sound (#8495)
* fix(player): a sealed film is heard when its frame may not start sound

When a browser refuses the film's own play (an iPhone, or Chrome's tap-first
rule for a sealed frame), the player plays copies of the film's media in its
page. A sealed player could not read the frame, so it made no copies and muted
the frame anyway: silence.

The runtime now sends the clips to copy with the refusal, and again whenever
they change. The player copies only files under the composition's own folder,
anonymously, and mutes the frame only while a copy plays instead.

* fix(player): a sealed film's copy plays its file from the composition's own origin

The copy's address is now the composition's origin followed by the checked
path, never the string the frame sent. The player's size budget rises by
exactly what the sealed copies add (npm pack, main vs this branch).

* fix(player): a sealed film's copy address is rebuilt from encoded path parts

* fix(player): a sealed film's copy refuses an encoded way out of its folder

* fix(player): a sealed film is muted only once its copy plays, and only from web addresses

Copies come only from http(s) addresses, so two opaque origins never match.
A clip with an invalid file address gets no copy, and the rest are still listed.
The frame is muted once a copy is playing, and gets its sound back when the
last one fails or is dropped.

* fix(player): a sealed film gets its sound back when its last playing copy fails

* fix(player): a sealed film's mute follows its copies' own state, whatever order events arrive in
2026-11-22 17:32:43 +00:00
Miguel Ángel 2425df5f4d fix(core): pasted or written markup never carries a composition source from elsewhere (#8520) 2026-11-22 17:16:16 +00:00
WaterrrForeverandClaude Opus 5.5 675e3a876e fix(cli): pinned-file downloaders check the cache folder is private before reading or writing it (#8486)
* fix(cli): make the cache folder private before a pinned download writes into it (SECOPS-2745)

The measuring tools' pinned-file downloader (measure/pinnedFiles.ts, for the
MediaPipe hand landmarker) made its folder with a plain mkdir, downloaded into
it, and only checked the folder was private in the seal afterwards. A folder
another account owned, a group/world-writable one, or a link out of the cache
received the bytes before the refusal. The model downloaders were worse: the
TTS and background-removal models (utils/pinnedFile.ts) and the whisper models
never checked at all, and trusted a cached copy from such a folder.

Every pinned download into the HyperFrames cache now runs
ensurePrivateCacheDir first: a new folder is made 0700, the person's own
group/world-writable folder loses those bits, and a link, a foreign owner or a
folder another account can change is refused before any partial or final file
is written or any cached copy is used. Temp files stay inside the verified
folder and are renamed into place. opencv.ts, which already did this, now
shares ensurePinnedFiles instead of its own copy of the loop.

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

* fix(cli): keep the pinned downloaders' comment share at the base (SECOPS-2745)

Cuts the comment lines the private-cache fix added to pinnedFiles.ts,
pinnedFile.ts and whisper/manager.ts so each file's comment share is back
at or under its merge-base share, and names ensurePinnedFile's root
cacheRoot so the call reads without the comment.

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 17:05:10 +00:00
Miguel Ángel bd7a8402db fix(studio): paste and duplicate check the file they write, after every edit to it (#8519)
* test(studio): a paste writes only the markup it checked, comments included

* fix(studio): paste and duplicate check the file they write, after every edit to it

* test(studio): the paste check reads the saved copy's values and the file's parsed ids

* fix(studio): the paste check allows the copy as saved in the file, matched by its values

* fix(studio): a copied look rule is skipped only when it holds a tag opener

* test(studio): a paste is checked as a tree, as the preview server serves the file

* fix(studio): the paste check compares whole copies in the file as the preview serves it

* test(studio): a batch paste compares each copy only with its own candidates

* perf(studio): the paste check finds each copy by its signature, not by scanning the file
2026-11-22 17:03:38 +00:00
WaterrrForeverandClaude Opus 5.5 886f609c43 fix(cli): publish updates a committed project only when this machine linked the folder (#8487)
* fix(cli): publish updates a committed project only when this machine linked the folder (SECOPS-2048)

.hyperframes/project.json travels with every copy of a project (a clone,
a zip, a download), yet publish took its project id and space id as the
update target, and with --yes overwrote any project the recipient could
write without asking.

Publish now updates the descriptor's project, and uses its space, only
when this machine's own link record (outside the folder, keyed by its
path) names the same project and space. The link record now keeps the
space it published into; records from before keep linking their own
project. Otherwise:

- interactively, publish asks "Update project <id> in place? No
  publishes this folder as its own project." with No as the default;
  No publishes a new project and rewrites the descriptor to it
- with --yes, publish refuses (publish_target_unconfirmed) and points
  to --update <id> [--space <space>]
- --update <id> still names the project explicitly, but the
  descriptor's space is not used unless --space names it

checkPublishTransition counts the descriptor as a legacy update under
the same rule.

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

* refactor(cli): carry the publish link rules in names, not comments (SECOPS-2048)

The comment ratchet allows a file's comment share only to go down. Drop
the comments the fix added and name the meaning instead: PERSONAL_SPACE
for the "" space id, recordPredatesSpaces for a link record written
before the space was kept, teamLinkedHere in the publish transition.

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

* test(cli): keep projectLink's real exports in the publishProject mock (SECOPS-2048)

publishProject now imports PERSONAL_SPACE from projectLink; the mock
replaced the whole module, so the constant was missing.

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 17:00:42 +00:00
WaterrrForeverandClaude Opus 5.5 4202462ca5 fix(cli): print project file names in check's stderr notes as visible escapes (#8485)
* fix(cli): print project file names in check's stderr notes as visible escapes (SECOPS-2752)

The text_over_face note printed the unread video's reason raw, and that
reason carries the project's file name and the decoder's own error text,
so a video named with ESC, BEL or CR could drive the terminal during
`hyperframes check`. The same check output path had four more lines
printing project-derived text raw: the project-lock waiting notice (the
holder is read from the project's lock file), the "images did not load"
warning (image addresses read back from the page), the font-localization
warning (the injector's error text), and the saved report's Revision line
(read from the project's history).

Each now goes through the existing @hyperframes/core terminal-text helper:
terminalLines where the text is an error message whose line breaks are
kept, terminalText for one-line notices. Plain names print as before.

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

* fix(cli): keep check's escape fix within the comment ratchet and testable on Windows (SECOPS-2752)

Drop the three comment lines the escape fix added to source files, which
raised their comment share. The text_over_face hostile-name test now feeds
the name through the candidate and an injected reader, so it runs on every
platform; the real-reader case, which needs a file named with control
characters, runs everywhere but Windows, whose file names cannot hold them.

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 16:56:27 +00:00
Miguel Ángel c19d98d9a1 fix(player): a late timeline from the old film no longer keeps a switched player ready (#8500)
* test(player): a late timeline from the old document must not make the next load ready

* fix(player): a late timeline from the old frame document no longer makes the next load ready

* test(player): type the announce filter in the late timeline rows

* test(player): a static ready at load still asks for the runtime's held timeline

* fix(player): a static ready at load still asks the runtime for the timeline it held

* test(player): a late message the left document stamped is dropped without waiting for load

* fix(player): drop a late message from the left document, so the next is ready before its load

* test(player): the late-timeline row replays the sealed document's own timeline

* chore(player): the player's size budget sits 5% above its measured size again

* test: runtime load draws no page randomness; Studio pins the announce capability

* fix(core): the runtime's document id comes from its time origin, so renders keep their random draws

* test(core): two documents loaded at one coarsened time get different runtime ids

* fix(core): the runtime's document id is a random UUID where the browser has one
2026-11-22 16:40:09 +00:00
Miguel Ángel ec9a3a8ef2 fix(core): a sealed move inside a nested composition shows where it was dropped (#8517)
* fix(core): a patched tween on a resting scene timeline is drawn before the frame says patched

* fix(core): the frame says patched only once each patched tween has rendered
2026-11-22 16:17:17 +00:00
Miguel Ángel 0bc7963ffd fix(studio-server): a page with thousands of script tags no longer stalls the preview (#8518)
Deciding whether a preview needs the motion-path plugin read every
script file the page loads, once per script tag, all at once, and kept
reading after the check gave up. A page naming one file in thousands of
script tags started thousands of reads and froze the server.

The check now answers "preload the plugin" at once for a page with more
than 64 script tags, reads each script file once, keeps at most 8 reads
in flight, starts none after its time is up or once a script names a
path, and cancels the reads still running when it ends.
2026-11-22 16:14:58 +00:00
Miguel Ángel 258a3cf4ea fix(producer): a probe step's out-of-memory error keeps its words, so it still reads as memory (#8513)
* fix(producer): a probe step's out-of-memory error keeps its words, so it still reads as memory

* fix(producer): drop the comment the memory check's name already says
2026-11-22 15:44:00 +00:00
Miguel Ángel fbd1cd4bcf fix(cli): cloudrun and lambda say a usage error before loading their cloud SDK (#8510) 2026-11-22 15:35:47 +00:00
Miguel Ángel 5d4420fee1 fix(core): a timeline whose labels throw no longer empties the clip list (#8512)
* test: one timeline's throwing labels don't empty the clip list

* fix(core): a timeline whose labels throw leaves only its own clips unlabeled
2026-11-22 15:24:10 +00:00
Miguel Ángel f38a4e3675 test(cli): the diagnostic test's ffmpeg stand-in answers the demuxer listing, writing no file (#8515) 2026-11-22 15:21:39 +00:00
Miguel Ángel b3d37f948c fix(studio): vitest exits when a project is open in the dev data folder (#8514) 2026-11-22 15:20:25 +00:00
Miguel Ángel dd77990373 fix(studio): the viewport gate tells a virtualized timeline by its mounted rows, not its clips (#8511)
* test(studio): the viewport gate reads a virtualized timeline as on while its rows fill at load

* fix(studio): the viewport gate tells a virtualized timeline by its mounted rows, not its clips
2026-11-22 15:06:47 +00:00
Miguel Ángel 2b1495f7af fix(studio): a cropped layer's outline is cut at the layer's own scale, sealed or not (#8496)
* fix(studio): a cropped layer's outline is cut at the layer's own scale, sealed or not

* fix(core): the geometry stream keeps an element whose geometry now carries its layout size

* fix(studio): a turned layer's crop is cut at its own scale, not its upright box's
2026-11-22 14:59:34 +00:00
Miguel Ángel 4a47c33ea3 fix(core): a far clip whose source is swapped learns its new length (#8509)
* fix(core): a far clip whose source is swapped learns its new length

* test(core): the swapped-source case names a freed clip, not the proxy fallback
2026-11-22 14:58:03 +00:00
Miguel Ángel f03233ab4d fix(studio-server): previewing a page with thousands of media files no longer stalls the app (#8505)
* fix(studio-server): previewing a page with thousands of media files no longer stalls the app

Building a preview recorded each file the build read, and each file the
page names, by walking its path with blocking link reads, one file at a
time. A page naming 20,000 media files held the server's event loop for
over a second, and the app froze while the preview loaded.

The build now collects those paths and records them off the event loop
in one batch per step, reading each shared folder once per batch.

* fix(studio-server): a preview still loads when its project folder cannot be resolved

Recording a build's reads resolved the project folder with a reader that
fails on a folder it cannot resolve (a link loop, no permission), so a
finished bundle turned into a failed build and the sub-composition route
answered a server error. The folder now resolves the way the per-read
recorder resolves it, and recording never fails its caller.
2026-11-22 14:23:33 +00:00
Miguel Ángel 8526113784 fix(producer): a render that stops while preparing names the step it stopped in (#8506) 2026-11-22 14:21:42 +00:00
Miguel Ángel 20a91dd5f1 test(cli): the sign-in return test waits for each window's navigation instead of one second (#8507) 2026-11-22 14:17:09 +00:00
Miguel Ángel 479081658b chore: release v0.9.81 (#8493)
* chore: release v0.9.81

* chore: release v0.9.81 notes list the changes merged since the draft

* chore: release v0.9.81 notes list the changes merged since the draft
2026-11-22 13:56:25 +00:00
Miguel Ángel 3ac5265aac fix(studio): Studio acts on a sealed preview's key report only after a real press or click (#8503)
* test(studio): a sealed preview's key reports act only after a real press

* fix(studio): Studio acts on a sealed preview's key report only after a real press or click
2026-11-22 13:24:12 +00:00
Miguel Ángel d4e8d6f983 fix(core): a preview of hundreds of clips with no set length no longer loads them all (#8303)
* test(core): a preview's far clip with no set length loads only its length and gives its decoder back

* fix(core): a preview frees a far clip with no set length once it knows its length

* fix(core): every timeline read of a clip's length keeps the one it reported before a release

* test(core): the released clip's length is read through the runtime's own resolver

* refactor(core): an animated element's clip reads its own attributes in one place

* test(core): a far clip with no set length is held to its length, now that armed clips prefetch

* refactor(core): the far-clip load handler keeps its own comment
2026-11-22 13:18:31 +00:00
Miguel Ángel 0e6879b8ef fix(studio): scrubbing across a cut shows the newest frame, not black (#8501)
* test(studio): a scrub's newest paused frame is decoded, never refused while an older one settles

* fix(studio): scrubbing across a cut shows the newest frame, not black

* test(studio): a flood of paused-frame asks decodes only the newest; a throw never stalls
2026-11-22 13:13:47 +00:00
Miguel Ángel 45674e840f fix(studio): copy and duplicate refuse a file that is not one of the project's compositions (#8490)
* refactor(core): keep the SVG element and attribute allowlist in its own module

* test(studio): clipboard writes refuse markup a scripting preview reads differently

* fix(studio): paste and duplicate write only allowed markup unless it comes from the same file

* test(studio): copy and duplicate use only files Studio knows in the project

* fix(studio): copy and duplicate refuse a file that is not one of the project's compositions

* test(core): inline SVG with its namespace declarations pastes from another file

* fix(core): paste keeps SVG namespace declarations and checks xlink:href as a link

* chore(cli): regenerate the media-use SVG sanitizer from its moved allowlist
2026-11-22 12:54:49 +00:00
Miguel Ángel 680c9a5402 test(cli): run the PowerShell round-trip names in one shell so slow Windows runners stay in time (#8498) 2026-11-22 12:43:29 +00:00
Miguel Ángel 97b90d8fa2 fix(studio): a sealed preview's clips keep their GSAP transition label (#8499)
* test: a sealed preview's clips name their GSAP transition

* fix(studio): a sealed preview's clips keep their GSAP transition label

* fix(studio): GSAP scene and overlay clips carry their transition label too
2026-11-22 12:40:37 +00:00