mirror of
https://github.com/HeyPuter/puter.git
synced 2026-09-11 15:55:44 +00:00
A grant on the entry itself is keyed on uuid, so it follows the entry into the owner's Trash. Both ends of the move then resolved, and the recipient was told the shared item had moved — to the GUID name Trash gave it. Their own copy got renamed to a GUID and stayed on screen. `shared-with-me` has always omitted trashed entries, so the listing and the event disagreed; only the event was wrong. Trashing now reports item.removed at the path the recipient knew, which is also what the desktop's data-path selector needs to find the row. Restoring out of Trash reports item.added. A move that leaves the recipient's masked address unchanged now stays quiet — a share masks its own root, so the owner shuffling it around their tree is invisible to the recipient and the event carried nothing.