fix(env): improve empty profile UX and consolidate shell validation constants

- Return {} instead of null for valid-but-empty settings profiles
- Consolidate VALID_SHELLS and validShellInputs into VALID_SHELL_INPUTS
- Fix docs test count 33 → 34
This commit is contained in:
Tam Nhu Tran committed 2026-02-11 11:20:25 +07:00
1 parent a98f4a5427
commit b96eacfc06
2 files changed
+6 -7

No files matched your search

+1 -1
View File
@@ -276,7 +276,7 @@ CCS provides:
- [x] Settings profile support (glm, kimi, custom API)
- [x] Security: single-quoted output, key sanitization, shell-specific escaping
- [x] Shell completion updated (bash, zsh, fish, PowerShell)
- [x] 33 unit tests for env command
- [x] 34 unit tests for env command
### v8.0 Release (Planned - Q1 2026)
- [ ] Multiple CLIProxyAPI instances (load balancing, failover)