mirror of
https://github.com/tiennm99/ccs.git
synced 2026-07-16 10:16:49 +00:00
When CCS updates trigger CLIProxy config regeneration, user-added API keys in ~/.ccs/cliproxy/config.yaml were being overwritten with only the internal CCS key. Changes: - Add parseUserApiKeys() to extract user keys from existing config - Modify regenerateConfig() to preserve user API keys alongside port - Update generateUnifiedConfigContent() to accept userApiKeys param - Add comprehensive test suite (14 tests) for key preservation Fixes #200