SessionStore
Where a program keeps its sign-ins: read as a whole, and a sign-in kept (made the one used last) or forgotten.
fileSessions keeps them in a file; memorySessions, for as long as the process runs.
import type { KeptSessions, OAuthSession } from "#codebase/tcmts/atproto"; export interface SessionStore { read(): KeptSessions; keep(did: string, s: OAuthSession | undefined): void; }