#2156

docs: plan Session replay and public share links

DraftDouglasymlaiwants to merge intofrom

Pull Request

Related Issue

N/A — maintainer-directed work; no linked issue required for this PR.

Description

Draft. This branch only adds the plan, docs/session-replay-sharing-plan.md. The implementation will follow in the pull requests listed in §7 of the plan.

Problem

People cannot re-watch how a finished Session ran, and they cannot share a Session with someone who does not have Eigent. The current Share action in Home covers one Task, not a Session; the link only opens inside the desktop app; it plays the older step history rather than the current timeline; it lasts one day; and there is no place to see or stop shared links.

Approach

  • Replay: play a finished Session's stored Run events back into the timeline with play, pause, speed and a step scrubber. Read-only: nothing runs again. Works on the device with no server change.
  • Share: a Share dialog lets people choose which Runs and what details to include, preview the cleaned copy (local paths made relative, keys and raw model data removed, files only when chosen), and create a link with an expiry. Anyone with the link can open a read-only copy in a browser and replay it. Owners can list, change and stop their links.
  • The older Task share keeps working for links already sent, then is replaced.

Testing

Not started. This branch only adds the plan document, which passes the repository's Prettier check. Testing will follow §8 of the plan.

Testing Evidence (REQUIRED)

  • I have included human-verified testing evidence in this PR.
  • This PR includes frontend/UI changes, and I attached screenshot(s) or screen recording(s).
  • No frontend/UI changes in this PR.

Not yet available: the branch currently contains only the plan document.

What is the purpose of this pull request?

  • Bug fix
  • New Feature
  • Documentation update
  • Other

Contribution Guidelines Acknowledgement

Activity

1

This pull request is a draft

Merging is unavailable until it is marked ready for review.