mirror of
https://github.com/tiennm99/ccs.git
synced 2026-07-17 14:16:21 +00:00
- Add useUpdateBackend mutation hook that invalidates related queries - Reduce update-check stale time from 1hr to 5min + enable refetchOnWindowFocus - Settings proxy page now uses mutation hook for proper query invalidation - Make all CLIProxy labels dynamic based on backendLabel from API: - cliproxy-header.tsx: page title - app-sidebar.tsx: nav item label - cliproxy-stats-overview.tsx: both offline and running descriptions - model-preferences-grid.tsx: card description - settings proxy section: descriptions for local/remote modes - Fix API route to use DEFAULT_BACKEND constant instead of hardcoded 'plus' Ensures backend switching in Settings immediately reflects in all CLIProxy pages.