Files
hyperframes/packages
Miguel Angel Simon Sierra 9f6c20e482 perf(studio): grow composition duration live on extend, no preview remount
Extending a clip past the video end used to force the server-fallback
path that fully remounts the preview iframe (the SDK fast path can't
express the root composition's data-duration, and the runtime bakes+drops
data-duration at load so it can't be patched live). On a large comp that
remount is a visible hitch.

Add a runtime control-bridge action set-root-duration -> clock.setDuration,
so the studio can grow the transport length in place. On an extend the
studio now posts it (and patches the clip's own timing live) instead of
reloading; it only reloads when a GSAP source rewrite actually happened
(the gsap-mutation endpoints now report a mutated flag). Non-animated
extends — the common case — commit as fast as a normal edit.

Verified: bridge dispatch + studio no-reload/post-message paths unit-
tested; core/studio/studio-server typecheck + suites green; the built
runtime artifact carries the handler; E2E confirms the extend no longer
remounts the preview and still persists.
2026-07-08 23:46:28 -04:00
..
2026-07-08 16:21:05 -07:00
2026-07-08 16:21:05 -07:00
2026-07-08 16:21:05 -07:00
2026-07-08 16:21:05 -07:00
2026-07-08 16:21:05 -07:00
2026-07-08 16:21:05 -07:00
2026-07-08 16:21:05 -07:00
2026-07-08 16:21:05 -07:00
2026-07-08 16:21:05 -07:00