Files
cc-switch/src-tauri
T
Jason 4c88174cb0 refactor(provider): replace startup auto-import with manual import button
Remove the startup loop in lib.rs that auto-imported default providers
for Claude/Codex/Gemini. Move config snippet extraction logic into the
import_default_config command so it works when triggered manually.

Add an "Import Current Config" button to ProviderEmptyState, wired via
useMutation in ProviderList (shown only for standard apps). Update i18n
keys (zh/en/ja) with new button labels and revised empty state text.
4c88174cb0 · 2026-02-20 22:01:18 +08:00
History
..
2025-11-22 19:18:35 +08:00
2025-12-21 21:10:00 +08:00