···8585 * Create and log in a dev-mode agent. Use this instead of createAgent()
8686 * when in dev mode (session.oauthSession is undefined).
8787 */
8888-export async function loginDevAgent(session: Session): Promise<Agent> {
8888+async function loginDevAgent(session: Session): Promise<Agent> {
8989 const devPdsUrl = getDevPdsUrl();
9090 if (!devPdsUrl) {
9191 throw new Error("DEV_PDS_URL not configured");
···106106 identifier: account.handle,
107107 password: account.password,
108108 });
109109- return agent;
109109+ return agent as unknown as Agent;
110110}
111111112112export const DEV_DID = "did:plc:mock123";