Commit Graph
7784 Commits
Author SHA1 Message Date
Miguel Ángel 05d1bc8b1c fix(studio): a sealed crop draws a layer's insets at its own scale and follows a seek (#8451)
* test(studio): a sealed scaled card's crop insets draw at its own scale before any press

* test(studio): a sealed crop re-reads a resized card and drops a read from an earlier selection

* fix(studio): a sealed crop draws a scaled layer's insets at its own scale before any press

* style(studio): wrap the sealed crop read's comment under the line limit

* test(studio): a sealed scaled layer picked in the Layers panel crops at its own scale

* refactor(studio): read a sealed crop's start in its own hook

* test(studio): overlays wake on a sealed preview's posts and only on Studio's own preview frame

* fix(studio): a sealed preview's playhead posts wake the editor overlays after a seek

* test(studio): a seek that keeps a sealed card's painted box still re-reads its crop scale

* fix(studio): a sealed crop re-reads its layer's scale when the playhead moves

* test(studio): a sealed crop re-reads once the frame shows the seek, not on Studio's playhead

* fix(studio): a sealed crop re-reads its scale when the frame applies a seek
2026-11-22 08:40:03 +00:00
Miguel Ángel deb478a3f6 refactor(studio): a preview clip's number and track rules live in one place (#8471) 2026-11-22 08:22:31 +00:00
Miguel Ángel e98ca56c4a fix(studio): an in-place tween patch that throws says why it fell back to a reload (#8454)
* test(studio): an in-place tween patch that throws reports the error's name

* fix(studio): an in-place tween patch that throws says why it fell back to a reload

* test(studio): a composition's own error class name reports as other

* fix(studio): only built-in error names leave an in-place patch's report

* test(studio): a built-in error from the preview frame's realm reports its name

* fix(studio): an in-place patch reads a thrown error's name from any realm
2026-11-22 08:15:29 +00:00
Miguel Ángel 926e1b5601 fix(studio): a sealed resize keeps a self-centring layer where it is (#8467) 2026-11-22 08:08:47 +00:00
Miguel Ángel 2d72e523ff fix(studio): an undo or redo that adds a sealed page's first edit stays in place (#8462)
A sealed preview only got its seek-reapply script when its file already held a Studio edit, and the script left
a page with none unarmed. The first restore that added one (a redo of a resize, say) was refused by the frame
and fell back to an unawaited reload. Every sealed page now carries the script, armed from the start.
2026-11-22 07:54:54 +00:00
Miguel Ángel d37563e35b fix(studio): hiding an element hides it in the preview, sealed or not (#8461)
* fix(studio): hiding an element hides it in a sealed preview too

* fix(core): an element given data-hidden after the film loads is hidden, and shown again when it goes
2026-11-22 07:49:20 +00:00
Miguel Ángel 56e0d6fbd7 fix(studio): a ripple shift queued behind a refused edit is refused before it writes (#8443)
* fix(studio): a refused delete no longer brings back another delete still saving

A refused delete, or a ripple shift that fails after its delete, now moves
back only the clips that delete shifted, on the timeline as it is now,
instead of restoring the timeline from before it.

* fix(studio): a refused delete also refuses the ripple shifts queued behind it

A delete's ripple shift saves absolute starts worked out with every earlier
pending delete applied. When one of those is refused, the shifts queued
behind it are refused too and leave their gap, so the saved file never
puts a clip on top of the restored one.

* fix(studio): a ripple shift queued behind a refused edit is refused before it writes

The timeline's edit queue now has one owner. It knows when an edit still
pending is refused, and a ripple shift (after a delete or a trim) queued
behind it is refused instead of saving starts that assumed that edit. The
trim ripple's rollback moves clips back by its own shift only. Drags,
single-clip timing and link edits are unchanged.

* fix(studio): a refused edit refuses trims behind it, per project, until every save settles

- A queued save stays tracked until it settles, so a later failure still
  refuses the ripple queued behind it.
- A trim's own resize is refused behind a refused edit too: its start and
  duration were read from the timeline that edit left.
- Each project gets its own queue.
- A refused trim shift reloads the preview, as a refused delete does.

* test(studio): the project-switch case keeps the old project's save pending

* fix(studio): a single-clip SDK timing save waits its turn in the edit queue

The SDK move and resize now run inside the queued edit, with the file-write
fallback in the same entry, so the earlier-refusal check guards both paths
and later edits see these saves.

* test(studio): give the clip-timing tests a 10 s timeline so every case can use the SDK path

* fix(studio): a queued timeline edit reads and writes only the project it was queued in

Each edit queue now carries the project it was made for and hands that id to
every queued edit, so the SDK readers, the file writes and the tween rewrite
never follow a project switch that happens while an edit waits.

* test(studio): hold the old project's save from the start in the project-switch case

* revert(studio): leave project isolation of queued edits to its own change

Takes out the per-project queue and the project binding of queued edits.
Main already lets a queued edit follow a project switch, through more
handles than the project id (preview, timeline store, history), so that
fix moves to one change that covers every handle.

* fix(studio): a queued single-clip SDK save reads the project it was made in

Main read the project as the save started, right away; queued, it read it
when its turn came. The move and resize now take the project when the
gesture queues them, for the SDK reader and the tween rewrite.

* fix(studio): a refused edit refuses only later edits of its own project

Each queued edit carries the project it was queued in, and the queue tracks
refusals per project, so a refusal left behind by a project the editor has
moved away from never refuses an edit in the one now open.

* test(studio): the switch matrix's stand-in SDK session finds no element, like an unknown target
2026-11-22 07:30:46 +00:00
Miguel Ángel 5e6068e94a fix(studio): a reloaded preview shows the saved grade, not one an undo took back (#8455)
* test(studio): a dragged grade saves to the file once

* fix(studio): a colour grade made in the property panel saves to the file

* test(studio): the grade panel follows an undo of a saved grade

* fix(studio): the grade panel follows an undo or redo of the grade

* test(studio): the grade-save panel test lives in its own file

* fix(studio): a reloaded preview shows the saved grade, not one an undo took back

* refactor(studio): grade saves live in their own hook
2026-11-22 07:24:10 +00:00
Miguel Ángel ff01d81be1 fix(studio): a sealed canvas pick selects the timeline clip it belongs to (#8459)
* test(studio): a sealed pick of a clip's child selects the clip, as a same-origin one does

* fix(studio): a sealed canvas pick selects the timeline clip it belongs to

* fix(studio): a frame ancestor with no id is skipped when finding a sealed pick's clip
2026-11-22 07:17:09 +00:00
Miguel Ángel 34d5c4678d fix(studio): a key pressed in a sealed preview reaches Studio's hotkeys (#8444)
* test(studio): a key pressed in a sealed preview inside the player reaches Studio

* fix(studio): a key pressed in a sealed preview reaches Studio's hotkeys

* test(core): a key typed into a field inside a shadow root stays with the field

* fix(core): a key typed into a field inside a shadow root is not taken as a shortcut

* test(studio): the sealed preview fixture connects after its frame has loaded

* test(core): a modal or button around a shadow root still owns the keys focused inside it

* fix(core): a modal or button around a shadow root still owns the keys focused inside it

* fix(core): a key target with no shadow root still reaches the playback checks
2026-11-22 06:57:04 +00:00
Ular Kimsanov 84ff7d71c2 docs(readme): lead with what HyperFrames makes, keep every developer section (#8442)
* docs(readme): lead with what HyperFrames makes, keep every developer section

New top half: title line, hero film, What's new, three ways to use it, a 12-clip
gallery and a What you can make table with the community skills. Every developer section
stays; the first sentence AI answers quote is kept word for word. Folds in the README links
from #8139. The Codex 100 MB upload limit moves to docs/contributing/agent-plugins.mdx.

* docs(readme): name remaking and style sampling without plan labels

Visitors learn what Pro includes on the pricing page and in the app;

the README says what HyperFrames can do.

* docs(readme): add the full hero film with sound

* docs(readme): smooth 26-second hero clip instead of a film player

The hero is now 0:06-0:32 of the Studio intro at 30 fps as an animated AVIF (3 MB), with
the old WebP as a fallback. The separate film player under it is removed.

* docs(readme): sharper hero clip (1600 px from the original film)

* docs(readme): keep today's badge row unchanged

* docs(readme): drop the New box; its items repeat the next section

* docs(readme): keep the Claude connector directory link in the Claude row

* docs(readme): link the Studio app to hyperframes.studio
2026-11-22 06:38:31 +00:00
Miguel Ángel 678fda62cd fix(cli): a crashed or encoder-failed render tells Desktop its code (#8434)
* test(cli): a render's encoder failure or crash names its code for Desktop

* fix(cli): a crashed or encoder-failed render tells Desktop its code

* fix(cli): an encoder failure is named by its encoder class before a file error

* test(cli): a bad source clip or a full disk is not named an encoder exit

* fix(cli): only the encoder's own failures are named encoder exits, file codes first

* fix(cli): a usage error or a --json render keeps stdout free of the code line
2026-11-22 06:33:34 +00:00
Miguel Ángel bf21bf9f78 fix(studio): a preview clip's track is taken only as a whole number (#8447)
* fix(studio): a preview clip's track, start and length enter the timeline only as numbers

* fix(studio): a preview clip's track is taken only as a whole number, as the runtime writes it
2026-11-22 06:32:19 +00:00
Miguel Ángel 77f3b55fd3 fix(studio): a colour grade made in the property panel saves to the file (#8450)
* test(studio): a dragged grade saves to the file once

* fix(studio): a colour grade made in the property panel saves to the file

* test(studio): the grade panel follows an undo of a saved grade

* fix(studio): the grade panel follows an undo or redo of the grade

* test(studio): the grade-save panel test lives in its own file

* refactor(studio): grade saves live in their own hook
2026-11-22 06:31:30 +00:00
Miguel Ángel eea73b3107 fix(studio): moving and nudging an element works in a sealed preview (#8263)
* 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 resize keeps its drawn size unless its save wrote the size as scale

* 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
2026-11-22 05:40:06 +00:00
terencecho d09a1809c1 fix(share): escape terminal output and validate saved owner addresses (#8341)
* fix(share): escape terminal output and validate saved owner addresses

* fix(cli): pass caught share errors through the terminal sanitizer
2026-11-22 05:38:44 +00:00
Miguel Ángel c731046c77 test(studio): Chrome-driven tests run alone after the unit tests (#8440)
* test(studio): Chrome-driven tests run alone after the unit tests

A Chrome started beside the unit tests on a CI runner missed its launch window twice and failed the gsapSoftReloadWait suite. The browser project runs one file at a time after the unit project, as the engine already does.

* test(studio): name the Chrome test pattern once in the split

* test(studio): the Chrome test split names its pattern as literals the reachability check reads
2026-11-22 05:13:34 +00:00
Michael Wang 59ea053f10 fix(studio): timeline clips from the preview keep numeric fields, and drops write them as numbers (#8438)
* fix(studio): keep a preview frame's clip timing and track numeric

Clips from a preview frame's timeline message or runtime snapshot are
kept only when start and duration are finite numbers and track is a
whole number. Asset drop, file drop, paste and duplicate write
data-track-index as a whole number, and paste checks a clip's markup
for running code after its root tag takes the new start and track.

* fix(studio): write a dropped asset's start and duration as finite numbers

buildTimelineAssetInsertHtml writes data-start and data-duration through
formatTimelineAttributeNumber, with a non-finite or non-number value
written as 0, so a store row's timing cannot add text to the tag.
2026-11-22 05:04:15 +00:00
Miguel Ángel 0774d96462 fix(studio): caption edits save through the project's file writer (#8445)
* test(studio): an edited caption word saves through the real files route

* fix(studio): caption edits save through the project's file writer
2026-11-22 04:08:16 +00:00
Miguel Ángel e1845e5dec fix(studio): a preview clip's track, start and length enter the timeline only as numbers (#8446) 2026-11-22 03:57:31 +00:00
Miguel Ángel a0b76d20fb ci: a studio change with no visible effect can say so at any size (#8439)
"No visible change" now holds for any diff under packages/studio or
packages/player that touches no .tsx, .css, .html or binary file. Before,
it also needed under 20 changed lines, so a larger logic-only fix had to
attach captures of nothing. A binary file, such as an image, now counts
as visual directly instead of through the line budget.
2026-11-22 02:59:24 +00:00
Miguel Ángel 79e43a33a8 fix(studio): the topology lens shows in a sealed preview (#8420)
* test(studio): a sealed preview's topology lens is drawn from the frame's geometry answer

* fix(studio): the topology lens shows in a sealed preview

* test(studio): a sealed frame's lens matches a live frame's on the real runtime

* fix(studio): a sealed lens finds its composition host by walking the frame's parents

* refactor(studio): the topology lens measures in its own hook
2026-11-22 02:22:44 +00:00
Michael Wang 2a24357338 fix(media-use): a manifest path naming a share or another root is refused without looking at it (#8437) 2026-11-22 02:13:04 +00:00
Miguel Ángel 826b4fcc69 test(cli): a missed late SVG image in snapshot says which wait came up short (#8435) 2026-11-22 02:04:44 +00:00
Miguel Ángel 925cea1f1f fix(studio): a refused delete also refuses the ripple shifts queued behind it (#8421)
* fix(studio): a refused delete no longer brings back another delete still saving

A refused delete, or a ripple shift that fails after its delete, now moves
back only the clips that delete shifted, on the timeline as it is now,
instead of restoring the timeline from before it.

* fix(studio): a refused delete also refuses the ripple shifts queued behind it

A delete's ripple shift saves absolute starts worked out with every earlier
pending delete applied. When one of those is refused, the shifts queued
behind it are refused too and leave their gap, so the saved file never
puts a clip on top of the restored one.
2026-11-22 02:04:41 +00:00
Miguel Ángel 8ad7cbae24 fix(studio): a reload that gives up says whether its frame was missing, blank or unreadable (#8419)
* fix(studio): a reload that gives up says whether its frame was missing, blank or unreadable

A shadow reload that times out with no page used to say "no-page" for three different stalls. It now says no-frame
(none added, or gone), blank (added, still about:blank) or unreadable (added, document not readable), and for the
last two whether the frame was given a page address and how long ago it was added.

* refactor(studio): the frame's added time lives beside the give-up message

* fix(studio): a sealed preview's give-up names its step as sealed
2026-11-22 02:04:39 +00:00
Miguel Ángel 28502224a5 fix(studio): show a sealed composition's clip on the timeline (#8408)
* fix(studio): show a sealed composition's clip on the timeline

* fix(studio): keep a sealed load's clip bound to its own preview and length

* fix(studio): an older preview read never replaces a newer timeline

* fix(studio): only the preview on screen writes the timeline

* fix(studio): a removed preview frame's pending read writes nothing
2026-11-22 02:04:37 +00:00
Michael Wang 0495a57f76 fix(media-use): refuse links under .media before reserving, writing or recording (#8327)
* fix(media-use): refuse links under .media before reserving, writing or recording

A received project could carry links at .media, at a type folder, at the
next asset name or its .tmp name, or at the preferences store's temp
names, and resolve or prefs record wrote through them to files outside
the project.

- ownMediaDir now checks every folder down to the type folder, making
  each one level at a time, before the lock, the allocator, the record
  append or a project preference write touches anything inside it.
- The allocator ignores ids past nine digits, so a planted huge id can't
  push it back onto a name the project holds, and it skips any name that
  already exists.
- The asset writers and the LUT .tmp writers create new files only.
- The preferences store writes through replaceFile, a random temp name
  created exclusively and renamed into place.

Both copies of manifest.mjs and prefs-store.mjs change together.

* test(media-use): read the preferences file through one no-follow handle

The test checked the file's type and then read it by path, which CodeQL
reports as a check-then-use race. Open it once without following a link
and check and read through that handle.

* fix(media-use): keep a failed write's error when replaceFile can't remove its temp file

The preferences store now writes through replaceFile. Its old write made
temp cleanup best-effort, so a cleanup error never hid the write error,
and the store's tests guard that. replaceFile now does the same.

* fix(media-use): leave freezeUrl's write as it was

CodeQL's http-to-file-access rule flags every write of downloaded bytes,
and main already carries that alert on this line. Adding the wx flag only
re-keyed it as new. The reserved name freezeUrl writes is already checked
free in a checked folder, so the line goes back to main's text; copying a
local file keeps COPYFILE_EXCL.

* Revert "fix(media-use): leave freezeUrl's write as it was"

This reverts commit 1427e73ec2.
2026-11-22 01:59:05 +00:00
Miguel Ángel 1aa4a785c8 chore: release v0.9.80 (#8414)
* chore: release v0.9.80

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

* chore: release v0.9.80 notes list the changes merged since the draft
v0.9.80
2026-11-22 01:40:53 +00:00
Miguel Ángel 2b4706f193 test(engine): the frame-tag checks get the time a real encode needs (#8415)
They run ffmpeg and ffprobe like the raw SDR colour check, which already allows 30 s; at vitest's 5 s default a busy Windows runner timed one out.
2026-11-22 00:50:54 +00:00
Miguel Ángel da1476e48d fix(engine): an asset download fails once when the egress proxy drops its tunnel (#8417)
* test(engine): a tunnel the egress proxy drops fails the download after its one retry

* fix(engine): an asset download fails once when the egress proxy drops its tunnel

undici 7 keeps a request queued and reopens the tunnel with no pause or limit when the proxy closes it without a reply. The proxy transport's pools now report that close as a reset, so the request fails and the downloader's one retry is the bound.
2026-11-22 00:46:02 +00:00
Miguel Ángel 8929d11649 fix(studio): an insert on drop never lets linked partners overlap or start before 0 (#8416)
The partner check now places every clip in a partner's lane where it will
land, moving or not, and refuses a partner that would start before 0.
2026-11-22 00:25:18 +00:00
Miguel Ángel c1f4a193a9 fix(studio): a refused delete no longer brings back another delete still saving (#8413)
A refused delete, or a ripple shift that fails after its delete, now moves
back only the clips that delete shifted, on the timeline as it is now,
instead of restoring the timeline from before it.
2026-11-22 00:24:06 +00:00
Miguel Ángel 75c83d8772 fix(engine): a capture proxy request whose name will not resolve is reported as failed (#8409) 2026-11-21 23:40:18 +00:00
Miguel Ángel c3a6739903 fix(studio): a sealed undo of a GSAP-animated layer's style shows in place (#8320)
* fix(studio): a sealed undo of a GSAP-animated layer's style shows in place, without a reload

* fix(studio): a sealed undo refused after a later one reloads instead of replaying the older state

* fix(studio): a sealed undo's script re-run travels in its restore request, so no write races it

* fix(studio): import the sealed re-run builder where the undo sends it

* refactor(studio): one shape guard for the restore parser and a named re-run choice

* refactor(studio): the sealed undo attaches its re-run in one helper

* test(studio): count only the restore's own requests to the sealed frame

* fix(studio): a sealed re-run keeps a newer scrub and an unusable re-run keeps the plain restore

* fix(studio): a deferred re-run keeps a newer scrub and a newer edit; sealed preloads MotionPath

* refactor(studio): name a soft reload's mark and its script run

* test(studio): share the Chrome bundle's node shim and read the composition's own script

* fix(studio): a waiting re-run leaves the composition's script until it runs

* fix(studio): the soft-reload wait only swaps timelines a newer run left alone

* test(studio): the soft-reload wait tables drive each step from one map

* fix(studio): one MotionPath loader settles every waiting re-run when the plugin loads

* test(core): a failed MotionPath load is retried by the next re-run

* test(studio): a wait-table step after the swap waits for the swap's render

* fix(studio): only the newest soft-reload run may swap, reload or move the playhead

* fix(studio): a refused sealed tween patch re-runs the script instead of reloading

* test(studio): the playing-through-the-wait row allows the player's frame snap

* fix(studio): a late preview answer acts only when no later re-run carries its change

* test(studio): held-answer rows release a still-waiting run when the page closes

* test(core): a restore says whether it re-ran the script

* test(studio): sealed preview equals a fresh load after late answers in any order

* fix(studio): a late refusal recovers with the whole saved snapshot, attributes and timing

* fix(studio): only an explicit refusal keeps an undo's attributes from being covered

* test(studio): ordering table holds a refusal until its request posts, restores a safe attribute

* test(studio): ordering fixture carries the hf ids Studio's server serves

* fix(studio): a refused retime is never covered by a script-only re-run

* test(studio): ordering table keeps the title undo and restores safe and unsafe attributes

* refactor(studio): a restore's snapshot comes from one helper

* test(studio): a refused request is answered at its own step, as in the retime probe

* test(studio): the ordering runner lives in a shared sequence harness

* test(studio): a patch recovery after a live retime carries the retime's timing

* test(studio): the ordering fixture sends its own script instead of parsing the file

* test(studio): the sequence harness keeps its refusal table private

* test(studio): ordering table generates live retimes, scrubs and port rejections

* test(studio): a harness reload shows the new load at Studio's playhead

* test(studio): the ordering table carries the reviewer's round-8 sequences

* test(studio): the first round-8 sequence holds the live retime's refusal

* test(studio): the ordering table pins the seeds that found each round-8 class

* fix(studio): sealed recoveries keep saved timing, the live playhead and port rejections

* test(studio): sealed mocks answer through previewAnswer; channel row for error vs no reply

* test(studio): the timing sync and script commit mocks answer through previewAnswer

* refactor(studio): a late live retime's recovery is its own step

* test(studio): ordering table generates two-script files, missed deadlines and unanswered requests

* test(studio): the data-start undo restores a clip no script animates

* test(studio): a save that reloads at once counts as one nothing can apply in place

* fix(studio): sealed writes count as covered only by a newer applied run that carried their state

* test(studio): the ordering table pins the seeds that found each round-9 class

* fix(studio): a sealed re-run covers from its send only what it carried

* test(studio): the ordering fixture marks each save as Studio's write does

* test(studio): a two-script sequence may recover only by reloading

* test(studio): the harness reload loads again after a save, as Studio's shadow reload does

* test(studio): the ordering table splits its fixed rows from fresh seeds to fit the flake gate

* test(studio): the ordering fixture keeps its generator private

* fix(studio): a sealed write's file version is its save's, and timing coverage survives a later run

* fix(studio): the ledger keeps each timeline's newest snapshot by its save's version

* test(studio): soft-reload expectations name the save revision where a real save made one

* test(studio): the ordering table pins the seeds that found reversed save responses

* refactor(studio): a sealed restore's send moves to its own module under the file size cap

* test(studio): the wait table settles two waiting runs and a pause before it reads them

* test(studio): the ordering table reverses older timing writes behind a newer data-start undo

* fix(studio): a sealed write older than a file already sent to the preview is not sent

* test(studio): mocked preview channels run the send gate as the real one does

* test(studio): the patch request names its default deadline

* test(studio): the ledger pins an older live retime sent after a newer file

* fix(studio): a sealed tween patch carries its save's version without a snapshot too

* test(studio): the undo row expects the in-place re-run of the undone file

* test(studio): the ordering table loads the newer file between reversed timing syncs

* fix(studio): a new sealed preview load refuses writes older than the file it shows

* refactor(studio): the sequence runner plays a reversed step in its own function
2026-11-21 23:38:57 +00:00
Miguel Ángel ec1839e4a1 fix(media-use): a project manifest's provider claim never writes a sound credit (#8410) 2026-11-21 23:34:05 +00:00
Miguel Ángel 267ffc46c9 fix(studio-server): a file the drive never answers no longer holds a project's first history copy (#8187)
* fix(studio-server): a file the drive never answers no longer holds a project's first history copy

* fix(studio-server): keep history's comment share at or below its base

* fix(studio-server): a first copy that lands past its deadline is kept as the file's start

* fix(studio-server): a late first copy is adopted and kept while another file's read is stalled

* fix(studio-server): a waiting late first copy counts as baseline and rereads a few at a time

* fix(studio-server): every reread of an owed file takes a copy slot and is kept until adopted

* fix(studio-server): history pins a copy as it is filed and keeps a reference-only copy as such

* fix(studio-server): a history pin is taken and released by its owner, never across a delete

* fix(studio-server): an agent step waits at most a deadline for a file the drive never answers

* fix(studio-server): undo refuses a file whose first copy landed after an agent step rewrote it

* chore(studio-server): give the packed size budget its usual 5% headroom

Main packs to 190,094 bytes, already 0.65% over the 188,871 budget; this branch adds 1,264 bytes of its own code (no new import: dist/index.js is unchanged). The budget file's rule is 5% above measured: ceil(191,358 x 1.05) = 200,926.

* fix(studio-server): an agent step that goes ahead of a first copy owns that file's undo

* fix(studio-server): undo of a step that went ahead of a pending first copy is all or nothing

* fix(studio-server): an undo after a step that rewrote a pending file in place still refuses

A went-ahead file now clears from a step's list only when the first read after its copy lands finds the original
bytes, not when its size and times look unchanged. The list of went-ahead files is kept on disk, so a restart
before the step closes, or after it deleted the file, keeps the refusal. Parts a Studio claim cuts from a step
keep the list too.

* fix(studio-server): a step ahead of a pending file refuses undo after Cmd+Z, restarts, in older apps

Cmd+Z stops at an open step whose only write so far is a pending file. A step recovered after the process died
keeps its list of pending files. A later Studio save's receipt no longer sets the start of a file a step went ahead
of. Every earlier point names a pending file as not kept, so no restore deletes it in any app version.

* fix(studio-server): a step that went ahead of a pending file never undoes, whatever bytes land

Bytes cannot tell steps apart: a file written A, B, then A again by two steps looked untouched and cleared both. A
step's list of files it went ahead of is now never cleared, so its undo refuses after a stalled read.

* fix(studio-server): a recovered step keeps its guard through a second crash; saves keep the start

The closed window is recovered before the reopen rewrites went-ahead.json, so a crash during recovery no longer
erases its list of pending files. A copy read before a step went ahead is the file's start whatever a later save's
receipt says it replaced.

* fix(studio-server): a start keeps receipts heard before its read; reopen writes all pending files

A copy read before a step went ahead follows only the save receipts heard by the moment of its read, so an early
save's original stays the start and a later save naming the step's bytes cannot replace it. The reopen rebuilds
the list of pending files in memory and writes it once, so a crash midway keeps every file on it.

* fix(studio-server): a first copy's start follows only receipts heard by its read and keeps them

Every adopted copy follows the save receipts heard by the moment of its read, with or without a step, so a later
save writing the original back cannot move the start. A small file's read is reported before its close, which a slow
drive can hold. Bytes a save replaced in a file history has no copy of yet stay through pruning until it does.

* fix(studio-server): bytes kept for a pending first copy count as start, not undo history

The bytes a save replaced are kept only for a file still owed its first copy, and they count as start rather than
undo history, so they never fold an unrelated edit out of the budget or stay for a file that never needed them.
2026-11-21 23:28:17 +00:00
Miguel Ángel 8a69ea0395 fix(studio): fx badges in a sealed preview show the clip's look, crop and duck (#8411)
* test(studio): a sealed preview's fx badge lights from what discovery read

* fix(studio): fx badges in a sealed preview show the clip's look, crop and duck
2026-11-21 23:14:47 +00:00
Miguel Ángel 71907274a7 fix(studio): a paused untagged video shows the colours the export renders (#8405)
* test(studio): a paused untagged video is drawn as the export reads it

* fix(studio): a paused untagged video shows the colours the export renders, not BT.709
2026-11-21 23:06:44 +00:00
Michael Wang 4a5a5eb27e fix(cli): show copy file names in check progress lines as visible text (#8407)
The still-copying heartbeat that check prints while it makes
browser-playable copies now passes the video's file name through
terminalText, so control characters show as escapes and the line stays
on one line. check --prepare-media prints a failed file's name the same
way, while the reason keeps its own lines.

The printed-text wiring test now also covers the media-copy progress
lines in checkBrowser.ts.
2026-11-21 23:03:59 +00:00
Miguel Ángel 08bd7fc126 feat(studio): dropping a clip onto main-track clips can insert it there (#8397)
* feat(studio): dropping a clip onto main-track clips can insert it there

* fix(studio): say why a dropped clip went back, from the timeline's own notice

* fix(studio): keep the drag commit file under the line cap

* fix(studio): an insert never puts a linked clip on top of another clip in its lane
2026-11-21 23:03:01 +00:00
Miguel Ángel b008e37b46 test(studio-server): the Windows workflow fails when the link tests cannot run (#8395) 2026-11-21 23:00:08 +00:00
Miguel Ángel 7ec38388bf fix(studio): a delete and its ripple shift save as one edit (#8404)
* fix(studio): trimming a main-track clip with Ripple on closes the gap

* fix(studio): a trim and its ripple shift join the edit queue together

* fix(studio): a delete and its ripple shift join the edit queue together

* fix(studio): a deleted clip leaves the preview at once so the next delete ripples from it
2026-11-21 22:33:24 +00:00
Miguel Ángel da46c89e2a fix(studio): the poster rendered for the next open no longer delays a clip's picture (#8400)
* fix(studio): the poster rendered for the next open no longer delays a clip's picture

Studio renders a missing preview poster for the next open as a low-priority composition thumbnail. Started in a free slot, it could not be overtaken: when the preview was ready before the timeline's clips existed (a sealed preview, on a first open), a clip's thumbnail asked for a moment later waited for a slot and landed about a second after the rest. Work nobody reads now starts only when no other thumbnail of its kind is running.

* test(studio): the thumbnail connection check expects the one request a held open starts

The check's proxy never answers a thumbnail render, and it counted two held requests per project: the composition's thumbnail and the poster rendered for the next open. That poster now waits for an idle bucket, so behind a render that never ends it never starts. One held request per project is what Studio sends; the check still fails when a hidden page keeps its request.
2026-11-21 22:30:43 +00:00
Miguel Ángel 71dc6f2fe1 fix(studio-server): a file the drive never answers no longer holds a project's first copy (#8403)
* fix(studio-server): a file the drive never answers no longer holds a project's first history copy

Each file the first copy reads gets a deadline from when its read starts. A file that misses it is left owed and
adopted once the drive answers, keeping the bytes it read as the file's start, so the open finishes.

* fix(studio-server): a late first copy starts from receipts heard by its read, kept through pruning

A late first copy follows only the save receipts heard by the moment of its read, so a later save writing the
original back cannot move the start. The bytes a save replaced in a file still owed its first copy stay through
pruning, counted as start rather than undo history, until that copy is recorded.

* chore(studio-server): give the packed size budget its usual 5% headroom
2026-11-21 22:25:38 +00:00
Miguel Ángel 8127bb8856 fix(cli): the compile cache lives only in the private HyperFrames cache folder (#8401) 2026-11-21 22:08:17 +00:00
Miguel Ángel c3d25a41f1 chore: release v0.9.79 (#8402) v0.9.79 2026-11-21 22:05:41 +00:00
Miguel Ángel 2be84ea50f fix(studio): browser test scripts launch the Chrome Studio itself picks (#8399)
* fix(studio): browser test scripts launch the Chrome Studio itself picks

The scripts in tests/e2e chose Chrome from their own list: a system Chrome before the downloaded one, and no version check, so an old system Chrome hung every script at browser start. They now use Studio's one finder (an environment variable first, then the downloaded Chrome, then a system Chrome new enough), moved to a file plain Node can load.

* test(studio): the Chrome finder test builds its path as the finder does

The finder joins the cache path with the host's separator, so on a Windows runner the stand-in never saw the path the test spelled with forward slashes.
2026-11-21 21:49:25 +00:00
Miguel Ángel 4e873f5a1d fix(media-use): a transcript cut named inside the project is never written through a linked folder (#8398)
* fix(media-use): a transcript cut named inside the project is never written through a linked folder

* chore(skills): refresh the media-use entry in the skills manifest
2026-11-21 21:28:47 +00:00
Miguel Ángel 8222489f06 fix(studio): trimming a main-track clip with Ripple on closes the gap (#8394)
* fix(studio): trimming a main-track clip with Ripple on closes the gap

* fix(studio): a trim and its ripple shift join the edit queue together
2026-11-21 21:01:18 +00:00