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