mirror of
https://github.com/tiennm99/ccs.git
synced 2026-09-10 10:21:02 +00:00
Root cause: fetchLatestCliproxyVersion() and checkCliproxyUpdate() ignored the caller's backend selection, always re-computing from config. This caused --update to report wrong version when config wasn't synced. Changes: - Add optional backend param to fetchLatestCliproxyVersion() - Add optional backend param to checkCliproxyUpdate() - Pass effectiveBackend in binary-service.ts calls - Pass backend in cliproxy-stats-routes.ts web endpoints Fixes inconsistent version reporting when switching between CLIProxyAPI (original) and CLIProxyAPIPlus backends.