feat: add cc-switch integration and modal for token management

- Introduced a new CCSwitchModal component for managing CCSwitch configurations.
- Updated the TokensPage to include functionality for opening the CCSwitch modal.
- Enhanced the useTokensData hook to handle CCSwitch URLs and trigger the modal.
- Modified chat settings to include a new "CC Switch" entry.
- Updated sidebar logic to skip certain links based on the new configuration.
This commit is contained in:
CaIon committed 2026-03-01 23:23:20 +08:00
1 parent 1583463436
commit c1cb03456c
12 files changed
+6361 -992

No files matched your search

+625 -278
View File
File diff suppressed because it is too large. Load diff
+583 -169
View File
File diff suppressed because it is too large. Load diff
+580 -168
View File
File diff suppressed because it is too large. Load diff
+583 -168
View File
File diff suppressed because it is too large. Load diff
+572 -164
View File
File diff suppressed because it is too large. Load diff
+3083
View File
File diff suppressed because it is too large. Load diff