This website requires JavaScript.
Explore
Help
Register
Sign In
admin
/
CC-Switch
Watch
1
Star
0
Fork
0
You've already forked CC-Switch
mirror of
https://github.com/farion1231/cc-switch.git
synced
2026-07-28 00:35:32 +08:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
Files
33753c72cd3919b29a6ece531037a0db804d4b41
CC-Switch
/
src-tauri
/
src
T
History
Jason
02d7eca2ad
refactor(import): rename default imported provider to 'current'\n\n- import_default_config now creates provider id/name 'current'\n- Avoid duplicate import by checking 'current' key\n- Set manager.current to 'current' when empty
2025-09-04 21:38:35 +08:00
..
app_config.rs
feat(config): backup v1 file before v2 migration
2025-09-01 10:49:31 +08:00
codex_config.rs
feat(fs): atomic writes for JSON and TOML saves\n\n- Introduce atomic_write utility and use it in write_json_file\n- Add write_text_file for TOML/strings and use in Codex paths\n- Reduce risk of partial writes and ensure directory creation
2025-09-04 16:00:19 +08:00
commands.rs
refactor(import): rename default imported provider to 'current'\n\n- import_default_config now creates provider id/name 'current'\n- Avoid duplicate import by checking 'current' key\n- Set manager.current to 'current' when empty
2025-09-04 21:38:35 +08:00
config.rs
feat(backup): archive current live config before switching\n\n- Archive Claude settings.json and Codex auth.json/config.toml to ~/.cc-switch/archive/<ts>\n- Preserve user edits while centralizing SSOT in cc-switch config.json\n- Uses atomic writes for all subsequent updates
2025-09-04 16:07:38 +08:00
lib.rs
feat(migration): import provider copy files into cc-switch config on first run\n\n- Scan Claude settings-*.json and Codex auth-*.json/config-*.toml\n- Merge into ~/.cc-switch/config.json, de-dupe by provider name (override with copies)\n- Backup old config.json and archive all scanned copy files\n- Add migration marker to avoid re-importing\n- Stop writing provider copy files in ProviderManager::add_provider
2025-09-04 16:16:51 +08:00
main.rs
chore: format code and fix bundle identifier for v3.0.0 release
2025-08-27 11:00:53 +08:00
migration.rs
chore(migration): use 'current' as the name for live-imported providers\n\n- Rename live-imported provider name from 'default' to 'current' for Claude/Codex\n- Keeps current selection logic intact when setting manager.current
2025-09-04 21:35:51 +08:00
provider.rs
feat(migration): import provider copy files into cc-switch config on first run\n\n- Scan Claude settings-*.json and Codex auth-*.json/config-*.toml\n- Merge into ~/.cc-switch/config.json, de-dupe by provider name (override with copies)\n- Backup old config.json and archive all scanned copy files\n- Add migration marker to avoid re-importing\n- Stop writing provider copy files in ProviderManager::add_provider
2025-09-04 16:16:51 +08:00
store.rs
- feat(codex): 引入 Codex 应用与供应商切换(管理 auth.json/config.toml,支持备份与恢复)
2025-08-30 21:54:52 +08:00