Commit Graph
672 Commits
Author SHA1 Message Date
Miguel Ángel 248f56fbaa fix(studio-server): a claim waits for a changing file's first copy, so its edit stays undoable (#7497) 2026-11-10 12:34:52 +00:00
Miguel Ángel ad1a5eab29 chore: release v0.9.30 (#7494) 2026-11-10 12:14:01 +00:00
Miguel Ángel 61e720b0e7 fix(studio-server): history sweeps stop holding the host's event loop on large projects (#7491)
* fix(studio-server): project history lists files without holding the host's event loop

* test(studio-server): the history walk test counts the hold up to the sweep's end

* fix(studio-server): history rewrites video-state.json only when it changed

* refactor(studio-server): names carry what the history walk comments said
2026-11-10 10:28:22 +00:00
f318d3d08a fix(studio-server): refuse cross-origin writes and unknown hosts on the preview server (#7490)
* fix(studio-server): reject cross-origin state-changing requests

Non-GET routes in createStudioApi answer 403 unless the shared
sameOriginPost predicate (lifted into studio-server's ./request-identity
subpath) accepts the request: the Host must be a server identity, a
present Sec-Fetch-Site must be same-origin, and a present Origin must
match the effective host and scheme. Hosts behind Codespaces or tunnels
allow their public name with HYPERFRAMES_PREVIEW_ALLOWED_HOSTS, read by
`hyperframes preview` and the Studio dev server.

Squashed from #6128 (42574a7, 110a300, 89011e1, 41c6626, 27193bb) onto
current main.

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

* fix(cli): the preview server answers only the hosts it is reached by

Every route of `hyperframes preview` (the forwarded studio API, the SSE
stream, /__hyperframes_config and the Studio page) now answers only
loopback names, the HYPERFRAMES_PREVIEW_HOST bind, or a host listed in
HYPERFRAMES_PREVIEW_ALLOWED_HOSTS, the same list the write guard uses.
Only the Host header counts here, since a page can set X-Forwarded-Host
on its own requests and a read carries no Origin to compare it with.

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

---------

Co-authored-by: Dextheking1 <Dextheking1@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 10:14:23 +00:00
Miguel Ángel b4c7f9cf7c chore: release v0.9.29 (#7483) 2026-11-10 08:45:45 +00:00
James RussoandClaude Opus 5.5 724ab39b3f fix(studio-server): buildSubCompositionHtml reads only compositions inside the project (#7482)
* fix(studio-server): buildSubCompositionHtml reads only compositions inside the project

The helper joined projectDir with compPath and read the result, trusting
every caller to have confined the path first. Studio's own preview route
does; an embedder that forgets would serve any readable file. The helper
now resolves compPath with core's resolveWithinProject and returns null
for a path outside the project, the same answer as a missing file.

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

* fix(studio-server): keep subComposition.ts's comment share flat

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

* fix(studio-server): the sub-composition head reads only an index.html inside the project

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 08:30:30 +00:00
Miguel Ángel e8416b2a41 fix(studio-server): history waits out a file a save has emptied, and rereads one written mid-copy (#7480)
* fix(studio-server): history waits out a file a save has emptied, and rereads one written mid-copy

* style(studio-server): state the history copy's null result in the present tense

* style(studio-server): wrap the put doc comment

* style(studio-server): shorten the put doc comment to one line

* fix(studio-server): a file still changing as history opens starts at its first whole copy
2026-11-10 07:02:11 +00:00
Vance Ingalls 58686a74c6 chore: release v0.9.28 (#7475) 2026-11-09 18:13:13 -08:00
Miguel Ángel 9e346f9bb7 chore(release): cut v0.9.27 (#7464) 2026-11-09 22:55:56 +00:00
Miguel Ángel b59fa20833 fix(cli): staging folders beside a project path no longer fail past 260 characters on Windows (#7338)
* fix(cli): staging folders beside a project path no longer fail past 260 characters on Windows

mkdtemp does not get the long-path prefix that mkdir does, so every staging folder
made beside a project or output path failed once its full path passed 260 characters.
They now come from one helper, createStagingDir in @hyperframes/core/atomic-file, and a
scan test fails on a new mkdtemp beside a path.

* fix(cli): give mkdtemp the long-path form instead of replacing it

CodeQL treats mkdtemp as the safe way to make a folder under the system temp dir and
flagged every file written into a folder from the mkdir-based helper. createStagingDir
now calls mkdtemp with the long-path form of the path on Windows, so both hold.

* fix(cli): leave non-Windows paths alone when making a staging folder

The long-path form is now chosen by the shape of the path, not process.platform,
so tests that pretend to be Windows keep working and the comment share does not rise.

* fix(core): a staging folder keeps a Windows path that already names its namespace

* fix(core): a staging folder keeps a Windows device path as the caller gave it

* fix(core): the staging folder helper's comment fits the line limit
2026-11-09 17:16:08 +00:00
Miguel Ángel 0c6c7fca45 chore: release v0.9.26 (#7421) 2026-11-08 23:36:46 +00:00
Miguel Ángel 2927fe6155 perf(studio-server): a large project's first history copy takes a fraction of the time (#7415)
* perf(studio-server): a large project's first history copy takes a fraction of the time

* perf(studio-server): read a small file through one handle, with fewer comments

* fix(studio-server): small files keep their exact permissions in history under a strict umask
2026-11-08 22:25:44 +00:00
Miguel Ángel 327e20208c chore: release v0.9.25 (#7414) 2026-11-08 19:59:06 +00:00
Miguel Ángel 7ad2be96ea chore: release v0.9.23 (#7399) 2026-11-08 06:39:39 +00:00
Miguel Ángel 26956ea1f4 chore: release v0.9.22 (#7392) 2026-11-08 01:18:54 +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
Miguel Ángel a0bbaab436 chore: release v0.9.21 (#7385) 2026-11-07 22:51:28 +00:00
Miguel Ángel e206ff6bd9 chore: release v0.9.20 (#7358) 2026-11-07 10:56:20 +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 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 f3e45b492e fix(studio-server): proxy MPEG-4 Part 2 and MJPEG video the browser cannot decode (#7310)
* fix(studio-server): proxy MPEG-4 Part 2 and MJPEG video the browser cannot decode

* fix(studio-server): drop the codec comment the comment gate counts
2026-11-06 10:00:26 +00:00
Miguel Ángel b4cc674f7f chore: release v0.9.19 (#7290) 2026-11-06 03:19:54 +00:00
Miguel Ángel cbe5dcb2d2 chore: release v0.9.18 (#7270) 2026-11-06 01:14:12 +00:00
Vance IngallsandClaude Opus 5.5 32eb4c3582 chore: release v0.9.17 (#7260)
* chore: release v0.9.17

* chore(producer): raise the unpacked size budget for windowed video frames

The new modules and this version bump put the unpacked package 49 bytes
past the 1% tolerance. No tests or source maps are in the tarball.

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 12:00:52 -08:00
Miguel Ángel 2f2195515b fix(cli): normalize-audio --reference stops short of the peak ceiling instead of refusing (#7254)
* fix(cli): normalize-audio --reference stops short of the peak ceiling instead of refusing

* docs(cli): the README says normalize-audio stops short of the ceilings instead of refusing
2026-11-05 18:47:49 +00:00
Miguel Ángel 5ee9e928d5 fix(core): hlg footage tone-maps to sdr at the bt.2408 reference white (#7234)
* fix(core): hlg footage tone-maps to sdr at the bt.2408 reference white

* fix(core): an HLG clip whose stream leaves its transfer unset keeps HLG's white

An SPS with an unspecified transfer takes the stream's tag, as its frames do; a failed keyframe read is not cached; the grey test needs ffmpeg 8.
2026-11-05 13:04:56 +00:00
Miguel Ángel 45705fa25c chore: release v0.9.16 (#7230)
* chore: release v0.9.16

* chore: format v0.9.16 release notes

* chore: add #7228 and #7231 to v0.9.16 notes

* chore: add #7217 #7224 #7225 #7226 #7229 #7233 to v0.9.16 notes
2026-11-05 13:03:33 +00:00
Miguel Ángel 18513d46d2 fix(studio-server): the cancel route replies once the adapter's stop has settled (#7221)
* fix(studio-server): the cancel route replies once the adapter's stop has settled

* fix(studio-server): shorten the cancel route comments

* fix(studio-server): drop the added cancel comments so the comment share stays down

* fix(studio-server): the cancel route clears its timer when the stop throws
2026-11-05 08:00:38 +00:00
Miguel Ángel 7050b9b5bb fix(studio-server): a refused cut says which way it was refused (#7212) 2026-11-05 07:05:25 +00:00
WaterrrForever 33c17df5ae chore: release v0.9.15 (#7202) 2026-11-05 02:08:44 +00:00
Miguel Ángel 15b1de4aeb chore: release v0.9.14 (#7192) 2026-11-05 01:05:50 +00:00
Miguel Ángel c6f87f59b0 fix(cli): check copies only the stretch of a video it plays and stops after 2 minutes of copies (#7182)
* fix(cli): check stops after 2 minutes of video copies and says how to finish

* fix(cli): check copies only the stretch of a video the composition plays

* docs(cli): check copies only the played stretch of a long video

* docs(cli): shorten two comments on the copy window

* fix(cli): finding crops and frames get the same copy windows as the check

* fix(cli): drop a comment the ratchet counts

* refactor(studio-server): keep runFfmpeg under the complexity gate
2026-11-04 21:16:31 +00:00
Miguel Ángel 06722eb9b9 chore: release v0.9.13 (#7175) 2026-11-04 18:24:32 +00:00
Miguel Ángel 0bbc9b2943 fix(studio-server): splitting a clip that starts after another clip cuts where it plays (#7172) 2026-11-04 16:57:09 +00:00
Miguel Ángel 1ff4cefd40 chore: release v0.9.12 (#7156) 2026-11-04 12:23:12 +00:00
Miguel Ángel e04b722a99 chore: release v0.9.11 (#7152) 2026-11-04 10:16:08 +00:00
Miguel Ángel 183614bda3 chore: release v0.9.10 (#7128) 2026-11-04 02:25:21 +00:00
WaterrrForever 12ce8c2ffd chore: release v0.9.9 (#7095) 2026-11-03 11:28:41 -05:00
Miguel Ángel fc006f713b fix(studio-server): a render that ran over 5 minutes can still be read after it finishes (#7087)
* fix(studio-server): a render that ran over 5 minutes can still be read after it finishes

* fix(studio-server): keep the finished-jobs helper's reasoning in its names
2026-11-03 14:22:36 +00:00
Miguel Ángel 4ceec0171f perf(studio-server): preview steps skip the page parse when a tag scan answers (#7092)
* test(studio-server): a stamped preview build parses its page once

* perf(studio-server): preview steps skip the page parse when a tag scan answers
2026-11-03 14:16:22 +00:00
Miguel Ángel ce9830fece fix(studio-server): a project's signature no longer freezes the host while it walks the files (#7073)
* fix(studio-server): a project's signature no longer freezes the host while it walks the files

* style(studio-server): format the signature changes

* fix(studio-server): keep the adapter for the preview's early-error script
2026-11-03 09:16:40 +00:00
Miguel Ángel 9ceced05e2 chore: release v0.9.8 (#7077) 2026-11-03 09:15:54 +00:00
Miguel Ángel b84835c413 feat(studio-server): the preview records the kind and origin of each early error (#7041)
* feat(studio-server): the preview records the kind and origin of each early error

* fix(studio-server): write preview script values with U+2028/2029 and < escaped
2026-11-03 07:47:49 +00:00
James RussoandClaude Opus 5.5 8c799ebd1b chore: release v0.9.7 (#7064)
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-11-03 05:21:25 +00:00
Miguel Ángel 92943d99f0 fix(studio-server): two exports in the same second get separate jobs (#7053)
* fix(studio-server): two exports in the same second get separate jobs

* fix(studio-server): name the same-second job id helper instead of commenting it
2026-11-03 01:15:11 +00:00
Miguel Ángel eb3562966f feat(preview): an unplayable video shows its own frame while its copy is made (#6589)
* feat(preview): an unplayable video shows its own frame while its copy is made

* fix(preview): drop the comment on the copy's light flag

* fix(preview): shorten the still helper's doc comment

* test(preview): each proxy-wait test starts with no copy report left over

* fix(preview): cached still frames are swept with the proxy copies
2026-11-03 00:23:50 +00:00
Jerrai 398ef50624 chore: release v0.9.6 (#7037) 2026-11-02 20:19:33 +00:00
Miguel Ángel c14d92a227 chore: release v0.9.5 (#7025) 2026-11-02 16:20:52 +00:00
Miguel Ángel 34a8d48160 chore: release v0.9.4 (#7018) 2026-11-02 14:33:44 +00:00
Miguel Ángel f6536e9f5d chore: release v0.9.3 (#7010) 2026-11-02 12:04:35 +00:00