9router/src/app/api/providers
Fadjrir Herlambang a11937cdd6 feat(grok-cli): add Grok CLI / Grok Build provider with OAuth device-code flow (#2502)
New OAuth provider routing through cli-chat-proxy.grok.com (OpenAI Responses
API), distinct from xai (api.x.ai) and grok-web (cookie SSO):

- Registry + GrokCliExecutor: Chat Completions -> Responses transform, CLI
  fingerprint headers, virtual effort models grok-4.5-{low,medium,high}
- OAuth device-code flow (auth.x.ai) with no-PKCE, shared xAI token refresh
- store=false multi-turn continuity via reasoning encrypted_content
- Quota tracker: on-demand window + prepaid balance on dashboard
- Connection test: 402 spending-limit = soft success (auth OK, out of credits)
- Alias/oauth/provider baselines + unit tests
2026-07-10 11:47:08 +07:00
..
[id] feat(grok-cli): add Grok CLI / Grok Build provider with OAuth device-code flow (#2502) 2026-07-10 11:47:08 +07:00
client feat(kiro): headless API-key auth + direct Claude/Kiro route 2026-06-17 10:01:30 +07:00
kilo/free-models feat(kilo): fetch free models from Kilo API + Windows build fixes (#455) 2026-03-31 09:22:21 +07:00
suggested-models feat(provider): add MiMo Free no-auth provider 2026-06-13 10:14:21 +07:00
test-batch Add Providers 2026-02-20 17:05:46 +07:00
validate fix(xiaomi-tokenplan): region selector, key validation, multi-connection (#2251) 2026-07-03 11:03:18 +07:00
route.js feat(usage): track cached tokens + correct input/output/cache cost (#2209) 2026-07-03 15:18:27 +07:00