fix(cliproxy): correct sync terminology and add unit tests

- Fix "Remote" → "Local" in sync-dialog.tsx and CLI help text
- Add resetWatcherState() export for test cleanup
- Add unit tests for profile-mapper, local-config-sync, auto-sync-watcher
- Remove unused ModelAlias and AliasesResponse types from hooks
This commit is contained in:
kaitranntt committed 2026-01-28 13:26:40 -05:00
1 parent ab9bbedfa9
commit c3f85bc4a8
7 files changed
+356 -15

No files matched your search

+2 -2
View File
@@ -617,9 +617,9 @@ async function showHelp(): Promise<void> {
],
],
[
'Remote Sync:',
'Local Sync:',
[
['sync', 'Sync API profiles to remote CLIProxy'],
['sync', 'Sync API profiles to local CLIProxy config'],
['sync --dry-run', 'Preview sync without applying'],
['sync --force', 'Sync without confirmation prompt'],
],