mirror of
https://github.com/router-for-me/CLIProxyAPI.git
synced 2026-10-29 11:03:50 +08:00
- Fetch latest @xai-official/grok client version from npm registry on startup - Periodically refresh Grok CLI version every 3 hours without multiple retries - Update hardcoded fallback version to 1.0.50 if npm registry is unreachable - Dynamically inject active version into x-grok-client-version and User-Agent headers