Release v0.11.1
Hook & Stats - Git Hook Management and Commit Heatmap
Adds gcop-rs hook command for managing Git prepare-commit-msg hooks, and enhances stats with commit heatmap and streak tracking. Includes internal refactoring for git root discovery and provider utilities.
Added
Git Hook Management
- New
gcop-rs hook installto install aprepare-commit-msghook that auto-generates commit messages from staged changes - New
gcop-rs hook uninstallto remove the installed hook - Hook intelligently skips merge, squash, and pre-existing message scenarios
- Hook errors are printed to stderr without failing the git commit process
Commit Heatmap & Streaks
gcop-rs statsnow displays a 30-day commit activity heatmap with intensity indicators- New current streak and longest streak statistics
- Improved colored output with section headers
Changed
Git Repository Discovery
- Changed from
Repository::open(".")toRepository::discover("."), allowinggcop-rsto work correctly from any subdirectory - Centralized
find_git_rootutility insrc/git/mod.rs, replacing duplicate implementations in init and config loader
Provider Utilities
- Extracted API key masking logic to
src/llm/provider/utils.rs - New
complete_endpointfunction for intelligent API endpoint URL handling
Dependencies Updated
- Updated core dependency versions
Upgrade
bash
# Homebrew
brew upgrade gcop-rs
# Cargo
cargo install gcop-rs
# pip
pip install --upgrade gcop-rs