Commit Graph
7765 Commits
Author SHA1 Message Date
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
Miguel Ángel e3a0797a33 fix(media-use): a manifest record whose path leaves the project is not reused or credited (#8396) 2026-11-21 20:57:38 +00:00
Miguel Ángel 22b394c663 fix(studio-server): a preview asset whose read cannot be recorded answers not found (#8385) 2026-11-21 19:59:08 +00:00
Miguel Ángel e87babf261 fix(ci): release checks refuse a patch release that carries a breaking change (#8392)
* fix(ci): release checks refuse a patch release that carries a breaking change

* fix(ci): a reverted breaking change no longer holds a patch release

* refactor(ci): each release check is its own function
2026-11-21 19:52:44 +00:00
Miguel Ángel b950f3e1db chore: release v0.9.78 (#8368)
* chore: release v0.9.78

* chore: list main's latest changes in the v0.9.78 notes

* chore: add the history fix to the v0.9.78 notes

* chore: list main's latest changes in the v0.9.78 notes
v0.9.78
2026-11-21 19:50:15 +00:00
James RussoandClaude Fable 5.2 a9d98e2a4b test(cli): check that files running before a command print values only through the text helpers (#8393)
Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 19:48:42 +00:00
Miguel Ángel 66156bf35e revert(cli): hold the proxy fix and its Node floor for v0.10.0 (#8391)
* revert(cli): hold the proxy fix and its Node floor for v0.10.0

This reverts commit 2960319749 (#8311), except a stale fallow-ignore line it had removed.

* chore(ci): allow the revert to delete the three files the proxy fix added
2026-11-21 19:08:49 +00:00
James RussoandClaude Fable 5.2 c75860ddf3 fix(cli): show control characters as text in notices that repeat a failure reason (#8387)
* fix(cli): show control characters as text in notices that repeat a failure reason

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

* fix(cli): keep a usage hint on one line

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

* fix(cli): show control characters as text in prompt-log notices that repeat a failure reason

The source check now also reads clack.log calls. The five notices it
found (play and present port messages, the file approval notice) go
through terminalText.

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

---------

Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 18:49:19 +00:00
Miguel Ángel 7cb548e45b fix(core): a Windows rename onto a folder that exists fails at once instead of waiting 1.3 s (#8389)
* test(core): a Windows rename onto an existing folder gives up at once

* fix(core): a Windows rename onto a folder that exists fails at once instead of waiting 1.3 s

* test(core): a Windows rename onto an empty or unreadable folder target still waits

* fix(core): give up at once only on a folder target with files in it, and keep the wait otherwise
2026-11-21 18:21:32 +00:00
Miguel Ángel c7a6c9315b test(cli): the probe-cache snapshot test asks 16 times of an 8 s clip, not 40 of 20 s (#8390) 2026-11-21 18:15:07 +00:00
Miguel Ángel 2960319749 fix(cli)!: a proxy that drops the connection fails a request once instead of retrying nonstop (#8311)
* fix(cli): a proxy that drops the connection fails a request once instead of retrying nonstop

Raises the minimum Node.js to 22.19, which undici 8 requires.

* fix(cli): drop the comments the comment-share check refuses

* docs: the engine, producer and CLI skill say Node.js 22.19

* test(engine): the dropping proxy matches its host exactly

* chore(skills): rehash the CLI skill after the merge

* docs(skills): keep the CLI skill within its size budget

* chore(skills): rehash the CLI skill after the trim
2026-11-21 18:05:46 +00:00
James RussoandClaude Fable 5.2 f01d1f32b0 fix(core): show text direction marks and typed text as visible text in printed lines (#8384)
* fix(core): show text direction marks as visible text in printed lines

The unknown-command line and its suggestion follow the same rule.

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

* test(cli): move the unknown-command text test to a file of its own

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

* test(cli): write the direction mark in the test as an escape

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

* test(cli): run the unknown command text test with the default test group

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

* fix(cli): keep the suggestion under an unknown command on one line

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

* fix(cli): show typed and project text as visible text in every line cli.ts prints

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

* fix(cli): show typed text as visible text in the missing-value and extra-argument lines

The two argument checks that print their own line now show control
characters and line breaks in the repeated word as visible text. JSON
output keeps the message as built. A usage error from the argument
parser prints on one line like the CLI's own.

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

---------

Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 18:03:26 +00:00
Miguel Ángel 63e700de1e fix(studio-server): history keeps undo steps in order when file times and its clock disagree (#8383)
* fix(studio-server): history keeps undo steps in order when file times and its clock disagree

* fix(studio-server): a removal made while a turn was closed can join that turn
2026-11-21 17:55:42 +00:00
Miguel Ángel e0d8440309 test(lint): linear scans are held to characters read and one coarse time bound (#8386)
* test(lint): linear scans are held to characters read, not wall-clock time

* test(lint): keep one coarse 4 MB time bound so a backtracking regex still fails
2026-11-21 17:31:28 +00:00
Miguel Ángel 19587337f6 fix(core): a long text's name is cut at a word, not inside one (#8388) 2026-11-21 17:18:09 +00:00
Miguel Ángel d78e9a5f33 fix(cli): check reports its own deadlines as check_deadline (#8378)
* test(cli): both of check's deadlines report check_deadline

* fix(cli): check reports its own deadlines as check_deadline

* test(cli): the --timeout idle window also reports check_deadline
2026-11-21 16:41:56 +00:00
Miguel Ángel 93f2fcca49 fix(cli): Windows kills end only the process the CLI started, never a reused pid (#8382)
* test(cli): the Windows Chrome watchdog spares a pid that now runs another program

* fix(cli): the Windows Chrome watchdog kills only its own Chrome, never a reused pid

* test(cli): no preview lifecycle test may end a real process by a made-up pid

* fix(cli): the log-path preview test stops its made-up child through a fake, not a real kill

* test(cli): the Windows child reaper spares a held pid that now runs another program

* fix(cli): the Windows child reaper kills only the child it started, never a reused pid

* test(cli): the reaper's stand-ins outlive the fixture, so only the reaper can end them

* test(cli): the kill-failure test keeps processTree's other exports, which the reaper reads
2026-11-21 16:25:40 +00:00
Robin Ebers 120689e3c7 fix(player): stop the preview reloading itself after a quick seek, and stalling at cuts on a slower connection (#8339)
* fix(core): a fast seek no longer starts a preview reload loop

A seek to a clip the preload window called far loaded that clip behind the
window's back. The far-clip handler released it on its first metadata with
preload still "auto", so it loaded again: one wasted reload per seek, and
after two quick seeks or a fast scrub a loop on every clip the replaced seek
had touched, hundreds of reloads a second until the page closed.

A pending seek now owns the media window. When it starts, the clips it lands
on count as near, and the clips its destination does not need are let go,
along with the next takes they had armed, so their requests stop holding the
connection the destination loads over. Window passes leave media to the seek
until it commits. A clip the far-clip handler releases gets preload "none"
first, so it stays unloaded.

* fix(core): clips that are not playing let go of their requests, so plain play never freezes on a cut

Idle and paused clips no longer hold a connection open, and when the preview
waits for data the clips it paused release their open requests too, so the
wait always ends.

Upcoming clips load at preload metadata only in Chromium, where an idle
clip's unread bytes hold the connection's shared flow-control window.
Firefox and Safari keep buffering them ahead, which plays a film over a
slow link faster there.

* fix(core): a hold for data leaves the clip it waits for alone, and a seek during it stays put

A hold now reloads only the played clips it is not waiting for, so a clip
that stalls mid-play keeps its buffer and its picture. A clip the hold
reloaded goes back to the hold's time only while that same hold still
waits for it, so a seek made in between is not undone.

* test(core): every Chromium browser prefetches at preload metadata, Chrome on iOS does not
2026-11-21 16:02:26 +00:00
James RussoandClaude Fable 5.2 88f7d4052d fix(cli): print check and validate setup commands on their own lines (#8381)
* fix(cli): print check and validate setup commands on their own lines

When no browser can be set up on Linux ARM64, check and validate now
print the setup commands on lines of their own after the reason.

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

* fix(cli): split setup commands only for a stopped check

A finding with any other code keeps its whole message on one line.

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

---------

Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 15:45:43 +00:00
Miguel Ángel 40cc86252d fix(studio-server): the preview file check resolves links on volumes that refuse native realpath (#8377) 2026-11-21 14:27:08 +00:00