mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-04-03 14:36:44 +08:00
* fix(misc): improve CLI version detection with path scanning - Extract version helper to parse semver from raw output - Add fallback path scanning when direct execution fails - Scan common npm global paths: .npm-global, .local/bin, homebrew - Support nvm by scanning all node versions under ~/.nvm/versions/node - Add platform-specific paths for macOS, Linux, and Windows - Ensure node is in PATH when executing CLI tools from scanned paths * fix(ui): use semantic color tokens for text foreground - Replace hardcoded gray-900/gray-100 with text-foreground in EndpointSpeedTest - Add text-foreground class to Input component for consistent theming - Ensures proper text color in both light and dark modes