Files
loki/scripts
CatoandClaude d2501ad2cf feat(loki): the Live update shows the page after the fix, beside the before (#1205)
The "Live" update in chat had the reporter's screenshot and nothing of the
page as it is now — to see the result the owner still had to open the site.

- post-shipped-update.ts takes an after picture of the live page at phone
  size (takePagePicture, the same one-at-a-time browser the fix check uses),
  scrolled to the element the reporter pointed at. When the fix check already
  took one (payload.fixPicture), that is reused instead of a second browser.
- It is stored like any chat picture (conversation_images) and the update
  carries its path; the card shows before and after side by side, even on a
  phone.
- No picture for a failed deploy (the page is the old one) or a
  behind-the-scenes change (nothing on the page changed). No browser or a page
  that will not load: the update still posts, without the picture.


Claude-Session: https://claude.ai/code/session_01MqXhtjrmVb4vKE6oKSyHVg

Co-authored-by: Claude <noreply@anthropic.com>
2026-10-15 04:38:59 -07:00
..
…