docs(sessions): a restored export keeps its pinned, hidden and archive flags

(cherry picked from commit c04df9dbe560c1de862d020f69073c535e021995)
This commit is contained in:
John Paul Soliva
2026-10-02 12:43:17 +09:00
committed by kshitij
parent 98cb791b81
commit 618a4d5dbd

View File

@@ -493,6 +493,13 @@ Pinning sets a durable "keep" flag: pinned sessions are exempt from the
same flag the Desktop sidebar's Pinned section uses — pin from either surface
and both see it.
Restoring a session export (the dashboard import, or a profile adopting a
stranded session) keeps the pinned, archived and hidden flags, and whether an
archive came from the `sessions.auto_archive` sweep. A restored pinned session
stays exempt from retention cleanup, an adopted Bot Mode chat stays hidden, and
a restored sweep archive still comes back when you resume it. Exports that
predate these flags restore as ordinary, unpinned, visible sessions.
```bash
# Pin one or more sessions (unique ID prefixes work)
hermes sessions pin 20250305_091523_a1b2c3d4