feat(stats): integrate Artificial Analysis API with caching and UI support
- Replace static MODELS array with config object (label +
aaSlug)
- Add Artificial Analysis API integration via
GM_xmlhttpRequest
- Implement 24h cached model stats (
AA_CACHE_KEY) with missing-data detection
- Add optional user API key input in settings (stored in
localStorage)
- Pre-fetch stats once via
initStats() and reuse shared Promise
- Convert model switcher to async and display AA index as option tooltips
- Gracefully disable stats when no API key is provided
feat(settings): add API key input UI
- Password-style input with validation (
aa_ prefix)
- Styled to match existing settings menu components
refactor(core): update fetch override to use unsafeWindow.fetch
- Allows compatibility with
GM_xmlhttpRequest for Artificial Analysis API request