mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-07-31 04:12:10 +03:00
Adds a new provider that routes through Grok's internal NDJSON API using an X/Grok subscription SSO cookie, enabling access to Grok 3, 4, 4.1, 4.2/4.20, and 4 Heavy via grok.com without xAI API costs. - GrokWebExecutor with full NDJSON→OpenAI translation - 12 models incl. grok-4.2 (4.20 beta), grok-4-heavy (SuperGrok) - Dynamic x-statsig-id generation (base64 fake TypeError) - W3C traceparent headers for Cloudflare compatibility - Thinking/reasoning mode for mini/thinking/expert/heavy variants - SSO cookie auth with auto-strip of 'sso=' prefix - Fetch timeout + upstreamExtraHeaders (BaseExecutor parity) - 16 unit tests, all passing Derived from: GrokProxy, GrokBridge, grok-web-api, grok2api-merged, Grok API Research Report