Bluesky app fork with some witchin' additions 💫

fix: Cannot clone a subclass of BskyAgent

http://witchsky.app/profile/did:plc:q7suwaz53ztc4mbiqyygbn43/post/3mcnu54wgks2x
http://localhost:19006/profile/did:plc:q7suwaz53ztc4mbiqyygbn43/post/3mcnu54wgks2x

authored by shi.gg and committed by tangled.org 73515d1a 73b1c564

+3
+3
src/state/session/agent.ts
··· 465 465 * other PDS-specific operations like preferences. 466 466 */ 467 467 export function pdsAgent<T extends BaseAgent>(agent: T): T { 468 + if ('cloneWithoutProxy' in agent && typeof agent.cloneWithoutProxy === 'function') { 469 + return agent.cloneWithoutProxy() as T 470 + } 468 471 const clone = agent.clone() as T 469 472 clone.configureProxy(null) 470 473 return clone