feat(ai,coding-agent): add Meta provider with Muse subscription OAuth (#9096)

Device authorization flow against auth.meta.com mints a Model API key via the Muse Code key-mint endpoint. Identity token stored as refresh, minted key as access; daily re-mint via the standard OAuth scheduler. Identity is non-renewable (no refresh grant), so mint 401/403 directs to /login meta. Models sourced from models.dev; default muse-spark-1.3.
This commit is contained in:
Alexey Zaytsev 2026-09-20 06:13:43 -03:00 • committed by GitHub
parent d1230ea200
commit b73412a378
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
22 changed files with 481 additions and 0 deletions

View file

@ -130,6 +130,7 @@ For each built-in provider, pi maintains a list of tool-capable models. Configur
- Together AI
- Baseten
- Kimi For Coding
- Meta
- MiniMax
- Xiaomi MiMo
- Xiaomi MiMo Token Plan (China)