release: deepseek-tui 0.4.7

Bump workspace version 0.4.6 -> 0.4.7 and ship the bug fix flagged by Devin
on PR #18: an uncommented `DEEPSEEK_API_KEY=` line in .env.example caused
`cp .env.example .env` to load an empty key, which `apply_env_overrides`
then propagated into the config and `Config::validate()` rejected on
startup with "api_key cannot be empty string".

- .env.example: comment out the empty `DEEPSEEK_API_KEY=` placeholder.
- crates/tui/src/config.rs: skip empty `DEEPSEEK_API_KEY` env values in
  `apply_env_overrides`, matching the facade's empty-string filter.
- Add `apply_env_overrides_ignores_empty_api_key` regression test.
- Bump Cargo.toml workspace version, npm wrapper version + binary version,
  and Cargo.lock.
This commit is contained in:
Hunter Bown
2026-04-25 07:59:01 -05:00
parent dff592bc6d
commit 5c1086fe9e
5 changed files with 53 additions and 18 deletions
+1 -1
View File
@@ -4,7 +4,7 @@
# DeepSeek API (default provider)
# Get an API key from DeepSeek, then keep it local in `.env`.
DEEPSEEK_API_KEY=
# DEEPSEEK_API_KEY=
# Global endpoint:
# DEEPSEEK_BASE_URL=https://api.deepseek.com