Skip to content

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 dialoguer with inquire 0.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::Dialoguer to GcopError::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-level changed from "s" (size) to "z" (aggressive size) for smaller binaries
  • config crate: disabled default features, only toml feature enabled
  • rustls: removed logging feature

Upgrade

bash
# Homebrew
brew upgrade gcop-rs

# Cargo
cargo install gcop-rs

# pip
pip install --upgrade gcop-rs