Release v0.13.1
UI Enhancement - Replace dialoguer with inquire + Commit Message Cleaning
Migrates all interactive prompts from dialoguer to inquire for a better terminal UX. Also adds automatic stripping of markdown code block fences from LLM-generated commit messages and optimizes the release binary size.
Changed
Interactive Prompt Library Migration
- Replaced
dialoguerwithinquire0.9 for all interactive prompts (Select,Confirm,Text) - Affected modules: commit action menu, split action menu, config edit menu, retry feedback input, confirm dialog
- Error type renamed from
GcopError::DialoguertoGcopError::Inquire
Commit Message Cleaning
- New
clean_commit_response()strips markdown code block fences (```,```text,```markdown) from LLM responses - Applied in both streaming and non-streaming commit generation paths
- 9 unit tests added for fence stripping edge cases
Build Optimization
- Release
opt-levelchanged from"s"(size) to"z"(aggressive size) for smaller binaries configcrate: disabled default features, onlytomlfeature enabledrustls: removedloggingfeature
Upgrade
bash
# Homebrew
brew upgrade gcop-rs
# Cargo
cargo install gcop-rs
# pip
pip install --upgrade gcop-rs