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

This commit is contained in:
Jason
2025-09-04 16:34:47 +08:00
parent 5176134c28
commit a858596fa2
2 changed files with 41 additions and 3 deletions

View File

@@ -94,7 +94,6 @@ const ProviderList: React.FC<ProviderListProps> = ({
<button
className="edit-btn"
onClick={() => onEdit(provider.id)}
disabled={isCurrent}
>
</button>