mirror of
https://github.com/greenart7c3/Amber.git
synced 2026-10-05 10:58:23 +00:00
Accounts move from a single flat ~/.amber-bunker/{account.key,bunker.db}
to per-account directories under accounts/<pubkeyHex>/ plus an
active_account pointer file, with an idempotent migration for existing
installs (aborts without touching any file if the legacy key can't be
decrypted). BunkerApp owns the account list/active pointer and AppShell
loads the active account's key and services keyed on its pubkey, so
switching accounts tears down and rebuilds the whole signing/relay
stack. The Home screen's avatar opens an account switcher dialog to
add, switch, or log out (with a destructive-action confirmation).
AppDetailScreen also gains a "Remove app" action, clearing an app's
connected-app record and permissions while leaving its history intact
for the activity log.