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-26 06:24:32 +08:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
Files
ab71b115325d566384c8379f9b60dbf8b739d239
CC-Switch
/
src-tauri
/
src
T
History
Jason
ab71b11532
feat(migration-live): import current live settings on first run and set as current if empty\n\n- Read Claude ~/.claude/settings.json and Codex ~/.codex/auth.json + config.toml\n- Merge with priority: live > copies > existing\n- Set manager.current to the live-imported provider when empty
2025-09-04 21:33:19 +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
feat(edit-current): allow editing current provider and sync to live on save\n\n- Enable Edit button for current provider in UI\n- On update_provider, if updating current provider, write changes to live config (Claude/Codex)\n- Maintain SSOT in cc-switch/config.json with atomic writes
2025-09-04 16:34:47 +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
feat(migration-live): import current live settings on first run and set as current if empty\n\n- Read Claude ~/.claude/settings.json and Codex ~/.codex/auth.json + config.toml\n- Merge with priority: live > copies > existing\n- Set manager.current to the live-imported provider when empty
2025-09-04 21:33:19 +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