Files
cc-switch/src/lib
T
Jason e4df1a32a5 feat(opencode): implement isInConfig semantics for additive provider management
OpenCode uses additive provider management where providers can exist in
the database but not necessarily in the live opencode.json config. This
commit implements proper isInConfig state:

Backend:
- Add get_opencode_live_provider_ids command to query live config

Frontend:
- Add getOpenCodeLiveProviderIds API method
- ProviderList queries live provider IDs and computes isInConfig
- ProviderCard receives and passes isInConfig to ProviderActions
- ProviderActions already handles the add/remove button logic
e4df1a32a5 · 2026-01-15 19:37:35 +08:00
History
..
2025-11-22 16:57:09 +08:00
2025-12-31 22:57:00 +08:00
2025-11-25 09:30:55 +08:00
2025-10-16 10:00:22 +08:00