Recorder survives page navigation, cursor clock sync, initial page_url
- Background reinstalls the capture listeners (and recorder bar) in
  every new document while a recording is active, so a full page
  navigation no longer resets the track; pending input debounces and
  the mouse-track tail are flushed on pagehide so "type, then
  navigate" keeps the input step
- The report's page_url now stays the URL where recording started
  (replay opens that page; the rest of the path lives in url_change
  steps)
- Replay: after a url_change step the new document gets its content
  script and cursor back, resuming the mouse path from the current
  step (replay_start now takes a from_t offset); after every executed
  step the background nudges the cursor clock toward the gap-capped
  step clock (max 400 ms per nudge) so the virtual mouse no longer
  drifts behind the actions

Co-Authored-By: Claude Code <noreply@anthropic.com>
1 parent 166a931 commit 23ac5062b583611dfac856a599fae15354a2a1f8
@Eugene Sukhodolskiy Eugene Sukhodolskiy authored 20 hours ago
Showing 3 changed files
View
packages/extension/e2e.mjs
View
packages/extension/src/background/index.ts
View
packages/extension/src/content/index.ts