Files
hyperframes/packages
tai (bot)andClaude Opus 4.7 ef13428d26 Merge branch 'main' into fix/electron-nested-iframe-raf-tick
Resolves conflicts in packages/player/src/hyperframes-player.ts
introduced by main's LOC-split refactor (PR #750), which extracted
DirectTimelineClock + ParentMediaManager into separate modules.

The PR's parent-tick-clock additions are re-applied on top of the
refactored class structure:

- New `_parentTickRaf` field
- New `_startParentTickClock` / `_stopParentTickClock` private methods
  (placed alongside `_sendControl`, since the tick uses postMessage)
- `_stopParentTickClock()` call added to `disconnectedCallback`,
  `pause`, `seek`, and `_onIframeLoad` (alongside the existing
  `this._directTimelineClock.stop()` calls there)
- `play()` updated:
  - `this._paused = false` moved BEFORE `_startParentTickClock` so the
    RAF tick's `_paused` check doesn't self-terminate on first callback
  - `_startParentTickClock()` only fires on the runtime-bridge path
    (`!directTimelineStarted`) AND when ready + no adapter, matching
    the second PR commit's review fix

No semantic change vs. the pre-refactor PR head — this commit only
reconciles the surface differences from #750.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-13 20:07:53 +00:00
..