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
|
||
|---|---|---|
| .. | ||
| tokenRefresh | ||
| usage | ||
| accountFallback.js | ||
| clinepassModels.js | ||
| combo.js | ||
| compact.js | ||
| copilotModels.js | ||
| kimchiModels.js | ||
| kiroModels.js | ||
| model.js | ||
| oauthCredentialManager.js | ||
| projectId.js | ||
| provider.js | ||
| qoderModels.js | ||
| tokenRefresh.js | ||
| usage.js | ||