···660660 Ok(())
661661}
662662663663+/// Return the list of managed DIDs currently stored in the Keychain.
664664+///
665665+/// Returns an empty list if no identities have been claimed. Returns an error only if
666666+/// the Keychain entry exists but contains invalid data (data corruption).
667667+///
668668+/// The frontend calls this on mount to check for existing identities and decide whether
669669+/// to skip the mode selector.
670670+#[tauri::command]
671671+fn list_identities() -> Result<Vec<String>, identity_store::IdentityStoreError> {
672672+ identity_store::IdentityStore.list_identities()
673673+}
674674+663675/// Check whether the relay can resolve `handle` to `expected_did` via the ATProto
664676/// `resolveHandle` endpoint.
665677///
···749761 perform_did_ceremony,
750762 register_handle,
751763 check_handle_resolution,
764764+ list_identities,
752765 get_relay_url,
753766 save_relay_url,
754767 home::load_home_data,