Commit Graph
5559 Commits
Author SHA1 Message Date
Miguel Ángel fed14b0161 fix(producer): keep page timers on the film's schedule at every worker count (#7390) 2026-11-08 00:46:29 +00:00
James Russo b7157bdabb feat(studio): scrub full-quality video with decoded preview frames (#7379)
* feat(studio): scrub full-quality video with decoded preview frames

* fix(studio): release scrub decoders before native playback

* fix(studio): bound paused fallback and tolerate decoder load failure

* fix(studio): recover stalled native preview handoffs

* fix(runtime): recognize cross-realm preview video elements

* fix(studio): bound Play handoffs and drain transparent preview samples

* fix(preview): recover retained video without chasing playback clock

* fix(studio): drain finite alpha queries before disposing readers
2026-11-08 00:17:12 +00:00
James Russo b87a01f6a8 fix(core): retain complete preview pictures during native seeks (#7378)
* fix(core): retain complete preview pictures during native seeks

* fix: settle failed seeks and preserve coherent progress
2026-11-07 23:29:21 +00:00
Miguel Ángel 34118d8f20 test(producer): the injector budget test no longer leaves a no-op injector for later tests (#7384) 2026-11-07 22:54:11 +00:00
Miguel Ángel a0bbaab436 chore: release v0.9.21 (#7385) 2026-11-07 22:51:28 +00:00
Miguel Ángel 942893eb2c fix(core): preview playback moves every frame between an audio track's time updates (#7373) 2026-11-07 22:50:52 +00:00
Miguel Ángel 841e90ffe2 fix(core): Safari video picture lands on the cut again, undoing the hidden pre-roll (#7383)
* fix(core): Safari video picture lands on the cut again, undoing the hidden pre-roll

Reverts the one-second hidden video pre-roll (#7265): on Safari the pre-rolled video is still behind at the cut and trails it by 30 to 150 ms in every measured run, and some cut flashes never show.

* fix(core): shorten a restored comment line to the 120-column limit
2026-11-07 22:09:06 +00:00
Miguel Ángel e0c11bf09a fix(cli): a media file referenced by its filesystem path goes into the cloud archive (#7381)
* fix(cli): a media file referenced by its filesystem path goes into the cloud archive

* fix(cli): an absolute media path keeps its fragment and query, and the resolver is split

* fix(cli): a Windows drive-letter media path is a filesystem path too
2026-11-07 21:51:51 +00:00
Miguel Ángel 7b79ab4290 fix(check): lint and check skip compositions the project never mounts (#7369)
* fix(check): lint and check skip compositions the project never mounts

* refactor(lint): let two new names stand without doc comments

* test(cli): lint tests that lint unmounted files say so
2026-11-07 21:47:17 +00:00
Miguel Ángel b559a98d37 fix(engine): hlg footage with a large header sei also tone-maps at hlg's white (#7349)
* fix(engine): hlg footage with a large header sei also tone-maps at hlg's white

* fix(engine): say in the read's own doc line why it streams

* test(engine): the header-SEI HLG fixture encodes without b-frames, so it muxes on windows
2026-11-07 21:46:28 +00:00
Miguel Ángel c27475b972 perf(producer): size a long video's chunks in one plan, no re-plan (#7382)
* perf(producer): size a long video's chunks in one plan, no re-plan

* docs(producer): chunk formulas name the minParallelChunks floor
2026-11-07 21:29:51 +00:00
Miguel Ángel 3d7f12acd7 feat(cli): cloud uploads send a big file in parts, so a cut connection resends one part (#7375)
* refactor(cli): the cloud upload's PUT and retry code moves to its own file

* feat(cli): cloud uploads send a big file in parts, so a cut connection resends one part

* test(cli): the cutting link fails a single PUT of the same file

* fix(cli): a file the cloud refuses forgets its saved parts plan

* fix(cli): a resumed upload goes straight to its parts, so a saved plan never feeds the single PUT
2026-11-07 21:14:19 +00:00
Miguel Ángel 57a75337b7 fix(cli): a re-encode of a media file over the cap is limited to fit it (#7376)
* fix(cli): a re-encode of a media file over the cap is limited to fit it

* fix(cli): satisfy the typecheck and the comment and complexity gates for the re-encode limit

* fix(cli): the re-encode limit applies to every video, not only a source over the cap
2026-11-07 20:17:25 +00:00
Miguel Ángel b418bb24fc refactor(cli): the cloud upload's PUT and retry code moves to its own file (#7374) 2026-11-07 19:33:10 +00:00
Miguel Ángel a595755a35 fix(core): a film moves on past a video the browser never starts loading (#7368) 2026-11-07 18:16:25 +00:00
Miguel Ángel 59c2065d63 fix(producer): page timers during a render run on film time (#7362)
* fix(producer): page timers during a render run on film time

* test(producer): a regression film whose timer bars must follow film time

* test(producer): schedule the timers regression film in CI shards

* fix(producer): keep setup timers on the wall clock until the page reports ready

* fix(producer): keep the renderer's own waits and deadlines on the wall clock

* test(engine): fail CI on a bare timer in code the engine runs in the page

* fix(core): type the wall-clock timers like the global timers they replace

* chore(engine): drop the comment on the shim's window type
2026-11-07 18:06:55 +00:00
Miguel Ángel 9efbbdf5ae fix(cli): transcribe names why whisper is missing and the one line that fixes it (#7366)
* fix(cli): transcribe names why whisper is missing and the one line that fixes it

* fix(cli): a Windows box gets a runnable install line and finds the whisper it just built
2026-11-07 18:06:28 +00:00
Miguel Ángel a3b8f521d9 fix(check): masked or clipped-away text no longer counts as overlapping (#7364)
* fix(check): masked or clipped-away text no longer counts as overlapping

* test(check): name the masked-overlap fixture's headings in plain words

* test(check): word a gradient-stop comment without an acronym

* fix(check): a moved or content-box mask keeps today's overlap verdict
2026-11-07 18:06:05 +00:00
Miguel Ángel 330be7cd2d fix(check): the overlap finding names the decorative mark, data-layout-ignore (#7365) 2026-11-07 18:05:18 +00:00
Michael WangandClaude Opus 5.5 896a77c307 fix(cli): open stops the project's background preview first (#7297)
The desktop app can't run an edit while a preview of the project is
running, because the preview holds the project's history lock. Following
the hint that `preview --background` prints therefore left the app's edit
waiting until someone stopped the preview by hand.

`hyperframes open` now stops a background preview of the same project
before handing it to the app, and prints one line saying so. It only
stops a preview it can prove it started (a saved session whose wrapper
process still owns the server). Any other preview is left running, and
`open` prints the exact `preview --stop --port N` command instead. With
--json the result carries a `preview` field.

The hint that `preview` prints now says that `open` stops a background
preview, or that a foreground one must be stopped first. The project
template and the CLI skill's preview reference say the same.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 17:24:14 +00:00
Miguel Ángel 7b1d9ccebf test(player): a Safari perf run that fails says which wait timed out and why (#7347)
* test(player): a Safari perf run that fails says which wait timed out

* test(player): a Safari run that never starts loading a video says so
2026-11-07 12:02:22 +00:00
Miguel Ángel 336abaa80f fix(cli): stop waiting for the cloud's file check when the caller aborts (#7361) 2026-11-07 11:28:13 +00:00
Miguel Ángel e827de256f fix(check): a Chrome that never becomes ready ends the check with a named error (#7360)
* fix(check): a Chrome that never becomes ready ends the check with a named error

* fix(check): name the Chrome start window in code instead of comments
2026-11-07 11:25:11 +00:00
Miguel Ángel e206ff6bd9 chore: release v0.9.20 (#7358) 2026-11-07 10:56:20 +00:00
Miguel Ángel f46a593a96 fix(cli): wait for the cloud's file check as long as the file's size allows (#7357)
* fix(cli): wait for the cloud's file check as long as the file's size allows before giving up

* style(cli): format the complete-wait test

* fix(cli): keep the complete-wait settings private to the upload module
2026-11-07 10:45:27 +00:00
Miguel Ángel 555c788a33 fix(cli): cloud upload tests stop flaking and two cuts at the same age count as one (#7352)
* refactor(cli): split the upload retry decision and the test drain to keep complexity down

* test(cli): drain the slow upload test server at a fixed rate whatever the chunk size

* fix(cli): two cuts at the same age are the same cut whatever bytes each got through

* fix(cli): sample upload progress on its own interval so a short try still reports its bytes

* style(cli): format the cloud upload files
2026-11-07 09:21:06 +00:00
Miguel Ángel 9058fd1a7a fix(core): skip a video the browser can't decode instead of freezing the film (#7355)
* fix(core): skip a video the browser can't decode instead of freezing the film

* fix(core): keep waiting on a clip whose play the browser refused; drop the codec-map skip
2026-11-07 09:16:39 +00:00
Miguel Ángel cf75dfd7af fix(studio-server): a video with a codec nobody listed gets a playable preview copy (#7356)
* fix(studio-server): a video with a codec nobody listed gets a playable preview copy

* refactor(studio-server): drop a comment the codec names already carry
2026-11-07 08:55:14 +00:00
Miguel Ángel 6161ae740a fix(cli): cloud render zip carries files the composition references under dot-folders (#7353)
* fix(cli): cloud render zip carries files the composition references under dot-folders

* fix(cli): a missing link href no longer fails the cloud zip; media refs still do

* chore(cli): shorten the referenced-file comment

* fix(cli): only a missing video, audio, img src or poster stops the cloud zip

* fix(cli): a stylesheet url() never stops the cloud zip; only the no-fallback media refs do
2026-11-07 07:39:04 +00:00
Miguel Ángel 9ac2a2387a feat(check): name the saved report file and print one stderr line per check step (#7344)
* feat(check): every check step prints a line on stderr and repeats it every 30 s while it runs long

* feat(check): name the saved report file on stderr and tell agents not to use npm run

* fix(check): print a step's line once when the step starts, not on every progress ping

* style(check): wrap two long lines for oxfmt

* fix(check): say the report file is written unless a not-recorded warning follows

* chore(skills): refresh the skills manifest hash for the check doc line

* fix(check): keep the start line free of the not-recorded warning text
2026-11-07 06:45:31 +00:00
Miguel Ángel 6004508e65 fix(studio-server): MPEG-2 and DNxHD videos get a playable preview copy (#7348) 2026-11-07 04:47:20 +00:00
Miguel Ángel 65c62f3145 fix(cli): a cloud upload cut at a fixed age stops early and shows its progress (#7350)
* fix(cli): a cloud upload cut at a fixed age stops after two identical cuts and shows its progress

* test(cli): size the upload tests so the kernel cannot buffer the whole file

* test(cli): keep the upload test server quiet when the client drops the connection

* test(cli): shorten the upload test server comment
2026-11-07 04:45:44 +00:00
Miguel Ángel bc2773d047 fix(check): a Korean number and its counter count as one word in line reading time (#7343)
* fix(check): count a Korean number and its counter as one word in line reading time

* fix(check): keep segmenting Thai, Lao, Khmer and Burmese when counting reading words
2026-11-07 04:16:55 +00:00
JerraiandJerrai b37db11225 feat(cli): audio --read --layer reads a one-layer file whole, no separation (#7345)
* feat(cli): audio --read --layer music|sfx|voice reads a one-layer file whole

A caller that knows a file holds a single layer can declare it: the file is
read whole as that layer with no stem separation and nothing uploaded.
Without the flag the read is unchanged. An unknown layer is rejected.

Consumer: heygen-com/experiment-framework#66322. Proposal OK'd by Rory
(C0BEH487Q7R, 2026-11-07).

Co-Authored-By: Jerrai

* chore(cli): drop added comments from audio read layer

Co-Authored-By: Jerrai
2026-11-07 03:25:46 +00:00
Miguel Ángel 1ddd425587 fix(core): words in a scene the preview mounts later keep their spaces (#7342)
* fix(core): words in a scene the preview mounts later keep their spaces

* fix(core): a scene laid out for its scripts ignores clicks until it shows
2026-11-07 02:46:21 +00:00
Mihir MenonandClaude Opus 5.5 25a61016d1 feat(studio): type an exact preview zoom and see a pixel grid at high zoom (#5708)
* feat(studio): type an exact preview zoom and see a pixel grid at high zoom

Clicking the preview's zoom readout opens an input: Enter applies the typed
percentage (clamped to the zoom limits, keeping the view's centre), Esc or
blur cancels. Above 800% a one-pixel grid is drawn over the stage, one cell
per composition pixel. It lives in Studio's DOM, so renders and snapshots
never include it.

The max preview zoom goes from 400% to 1600% so the 800% grid is reachable.

Closes #5587

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

* refactor(studio): move preview zoom reasoning from comments to the PR

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 00:20:06 +00:00
ump45nose cc7a760f03 fix(lint): flag crypto.randomUUID() as non-deterministic (#7322)
The non_deterministic_code rule already catches Math.random and crypto.getRandomValues, but crypto.randomUUID() stayed unseeded across renders/workers. Add it to the pattern list and cover it with a unit test.

Fixes #7276
2026-11-07 00:16:36 +00:00
Muzzy5150 f004622a6b feat(studio): improve element picker cancellation feedback (#6900) 2026-11-07 00:10:08 +00:00
Dante a4a84deec5 feat(studio): show canvas gesture position, size and rotation (#5594)
* feat(studio): show live canvas gesture measurements

Candidate source; required readout regressions pass. Browser captures and full Studio validation remain in progress.

* test(studio): explain the React test flag typing boundary

* fix(studio): derive gesture readout from pointer drafts
2026-11-07 00:10:03 +00:00
SophiaHuangCc 6c0cab814f feat(cli): support JSON telemetry status (#7289) 2026-11-07 00:08:29 +00:00
Miguel Ángel 539c70ceea fix(core): a render no longer rewinds when a set sits beside a tween on another property (#7339) 2026-11-06 22:46:38 +00:00
Miguel Ángel ca64c2a6d3 refactor(engine): the effect scan resolves its options before scanning (#7336) 2026-11-06 22:04:48 +00:00
James RussoandClaude Opus 5.5 ab50e9c148 fix(cli): price GPT Image 2.6 and every GPT Image reference picture (#7307)
* fix(cli): price GPT Image 2.6 and every GPT Image reference picture

The media-use image estimate priced every non-default model as GPT Image 2.5 and
charged references at $0.0082 after the first. fal bills every reference picture,
the first one too, at about $0.0125, and the price book now does the same. GPT
Image 2.6 and 2.6-flare take 2.5's prices; nano-banana-2.1 gets its own; any
other model is not priced ahead instead of guessed.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* chore(cli): drop the new pricing comments to keep the comment share flat

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-11-06 21:59:59 +00:00
Miguel Ángel d2b170ce58 test(studio): kill and retry a test Chrome that hangs after it starts listening (#7337)
* test(studio): kill and retry a test Chrome that hangs after it starts listening

* docs(producer): say the setup budget bounds each step, not setup as a whole
2026-11-06 21:46:53 +00:00
Miguel Ángel cfa0d0cef9 fix(engine): a missing frame file skips its self-verify sample instead of aborting the render (#7334) 2026-11-06 20:45:36 +00:00
Miguel Ángel 9acdce4a25 feat(cli): the sign-in page the browser lands on follows the design (#7332)
* feat(cli): the sign-in page the browser lands on follows the design

* style(cli): format the sign-in page files

* fix(cli): the sign-in page picks Cancel or failure inside the page builder, and drops unused code
2026-11-06 20:27:17 +00:00
Miguel Ángel fe0f54b38c fix(producer): a failure before the first frame reports frame capture as its stage (#7331)
* fix(producer): a failure before the first frame reports frame capture as its stage

* fix(producer): a failure after the effect scan reports frame capture, with a stable code
2026-11-06 20:17:00 +00:00
Miguel Ángel a9a8d89377 fix(engine): a render no longer finishes without an image that loaded late (#7304)
* fix(engine): a render no longer finishes without an image that loaded late

* style(engine): format the frame gate

* fix(engine): an image outside the frame no longer stops a render

* fix(engine): a render stops and warns when a frame's image never arrives, with no cloud retries

* fix(producer): a cloud chunk keeps the missing image's error name so retries stop
2026-11-06 20:11:01 +00:00
Miguel Ángel 6fab219142 fix(producer): segmented capture gives up on a session stuck opening or initializing (#7329)
* fix(producer): segmented capture gives up on a session stuck opening or initializing

* fix(producer): sequential disk capture bounds the opt-in drawElement setup the same way
2026-11-06 18:54:32 +00:00
Vance IngallsandClaude Opus 5.5 18fc75dcd7 fix(engine): drawElement falls back on gpu-less linux and beginframe launches instead of hanging self-verify (#7324)
* fix(engine): a gpu-less linux host falls back from drawElement instead of hanging self-verify

On a GPU-less Linux headless shell asked for browserGpuMode "hardware", Chrome has
GPU args and no GPU, so getContext("webgl") returns null. detectGpuBackend read that
as { isSwiftShader: false }, the SwiftShader gate let drawElement engage on a
BeginFrame-launched browser, and self-verify on its truth page then stalled until
the render failed after about 300 s, with no fallback.

drawElementGate now decides the init-time fallback, each with a named deGateReason:

- swiftshader: any software GL (SwiftShader, llvmpipe, lavapipe, softpipe, Microsoft
  Basic Render Driver), from one shared token list. Detection on real GPUs is unchanged.
- webgl_unavailable: no WebGL context could be created (null, or getContext throws).
- beginframe_no_self_verify: the browser was launched for BeginFrame. Its self-verify
  truth page has no BeginFrame driver, so drawElement frames could not be checked, and
  a Linux host with a GPU would stall the same way. HF_FORCE_DRAWELEMENT bypasses only
  this gate.

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

* test(producer): windowed frames runs drawElement through self-verify and a recycle

Adds a drawElement case to the windowed-frames integration test: drawElement capture,
self-verify through the on-demand hook, and a browser recycle. It covers that hook
only on a macOS or Windows host with a GPU. Linux always gates drawElement away
(headless-shell launches for BeginFrame, which has no self-verify), and so does any
host with no GPU; there the case asserts the named gate fallback (swiftshader,
webgl_unavailable or beginframe_no_self_verify) and prints that drawElement did not
run. HF_TEST_REQUIRE_DRAWELEMENT=1 turns that fallback into a failure, for the hosts
that are meant to run it.

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-06 08:59:04 -08:00