Something went wrong. Try again.
The Social Wire — an ATProto publication reader. thesocialwire.app
Something went wrong. Try again.
1234567891011121314151617import { Agent } from "@atproto/api";
/** Per-instance labelers keep isolated local networks from changing global SDK safety defaults. */export class LocalAppViewAgent extends Agent { constructor(options: ConstructorParameters<typeof Agent>[0], private readonly localLabelers: readonly string[]) { super(options); }
override get appLabelers(): readonly string[] { return this.localLabelers; }
override clone(): LocalAppViewAgent { return this.copyInto(new LocalAppViewAgent(this.sessionManager, this.localLabelers)); }}