1// Extract rkey from AT Protocol URI (format: at://did/collection/rkey) 2export function getRkey(uri: string): string { 3 const parts = uri.split('/'); 4 return parts[parts.length - 1]; 5}