directory
uses process
Where identities are looked up, if not on the network itself: $TCM_ATPROTO_DIRECTORY, a PLC directory that also
resolves handles (com.atproto.identity.resolveHandle), for a private network or a test's.
export const directory = (): string | undefined => process.env.TCM_ATPROTO_DIRECTORY?.replace(/\/+$/, "") || undefined