Skip to content

Cursor

Cursor Cloud Agents can put Playwemo stills and walk.mp4 in the chat, not only as file paths. The human reviews the beat the same way they would open the storyboard folder.

This is the Cloud Agent path. Default artifactsDir is /opt/cursor/artifacts. A laptop without that folder still writes stamps under test-results/e2e-demo/ — see Stills and Video.

What Playwemo already copies

When artifactsDir exists:

ArtifactWhen it lands there
walk.mp4E2E_DEMO=1 (unless E2E_DEMO_VIDEO=0)
transcript.txtevery runDemoWalk (unless E2E_DEMO_TRANSCRIPT=0)
teaching shot PNGsstills run (E2E_DEMO unset)

Fast-path stills stay in test-results/e2e-demo/stills/<stamp>/screenshots/. Copy the ones you mean to show. Video does not recapture them.

Override with E2E_DEMO_COPY_WALK, E2E_DEMO_COPY_TRANSCRIPT, or E2E_DEMO_SCREENSHOT_DIR. See Environment variables.

Show stills in the thread

  1. Run the walk (E2E_DEMO unset).
  2. Read test-results/e2e-demo/stills/latest.txt.
  3. Copy the teaching PNGs into /opt/cursor/artifacts/….
  4. Put HTML in the reply. Absolute path. One beat per image.
bash
stamp=$(cat test-results/e2e-demo/stills/latest.txt)
mkdir -p /opt/cursor/artifacts/walk-stills
cp "$stamp/screenshots/"*.png /opt/cursor/artifacts/walk-stills/
html
<img alt="1 / 4 AUTHOR on writing-a-walk" src="/opt/cursor/artifacts/walk-stills/personas_desktop_01_author_stills.png" />

Caption with the step, persona, and route — the same facts as the transcript. Do not describe the frame instead of showing it. Reading a PNG with a file tool is for the model; the human sees what you put in the reply.

Markdown ![](...) is for this docs site. Cursor chat wants the <img> tag.

Show walk.mp4 in the thread

After a headed run, Playwemo copies the stitch when the artifacts dir exists. Override the name with E2E_DEMO_COPY_WALK.

html
<video src="/opt/cursor/artifacts/e2e_demo_walk_2026-08-22T08-08-43-623Z.mp4"></video>

The file is faststart (moov first) so the player can start. A copy that is still writing will not play.

Rules that bite

  • Copy first, then tag. test-results/ is for you; the chat embed uses /opt/cursor/artifacts.
  • Pick the teaching shots. Do not dump every PNG.
  • Keep expects on. A pretty still that skipped an assertion is not a review.

Agents reading this site: start at For agents.

Released under the MIT License.