mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-08-12 09:13:23 +00:00
DesktopAccountStorage now caches AccountMetadata in memory after first read. Subsequent loadAccounts/saveAccount/setCurrentAccount serve from cache, only hitting disk on writes. Also caches AES encryption key to avoid repeated OS keychain lookups. Before: 3 decrypts + 1 encrypt + 4 keychain calls per login/switch After: 1 decrypt + 1 keychain call on first access, then memory only Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>