v0.4.1 - Hardening + UI Improvements
New
- Model whitelist (SUPPORTED_MODELS + _validate_model): rejects unsupported models client-side with friendly did-you-mean hint
- Multimodal graceful degrade (_strip_image_blocks): auto-strips image_url content blocks when sending to text-only backends (e.g. deepseek-v4-flash)
- Spinner animation in chat/ask modes with GBK-safe ASCII fallback
- Error categorization for cmd_chat/cmd_ask (separate ModelNotSupportedError UX)
Fixed
- Windows GBK UnicodeEncodeError on codex++.exe
- PyInstaller onefile relative import crash
- codex++.exe rebuilt (26.9 MB, includes Python 3.13 runtime)
Stats
- 7 files changed
- +260 / -80 lines
- 6 new functions
Install
pip install git+https://github.com/fast118/codex-pp.git@v0.4.1
# or download EXE from release page