Releases: kxng0109/ai-commit-cli
Releases · kxng0109/ai-commit-cli
v1.2.0
Added
- Persistent user preferences - Settings now persist across application restarts
ai-commit config --auto-commit [on|off]- Enable/disable automatic commit without promptsai-commit config --auto-push [on|off]- Enable/disable automatic push after committingai-commit config --show- Display current configuration settingsai-commit config --reset- Reset all settings to defaults- Settings stored using Java Preferences API (Registry on Windows, .plist on macOS, XML on Linux)
- Auto-commit mode - Skip interactive prompts and commit immediately after AI generation
- Significantly faster workflow for rapid development
- Automatically aborts if AI generation fails (no changes committed)
- Warning displayed when enabling about loss of regenerate/edit/cancel options
- Auto-push mode - Automatically push changes after committing
- Works independently with both interactive and auto-commit modes
- With auto-commit OFF: Pushes after accepting in interactive prompt (review commits, skip manual push)
- With auto-commit ON: Pushes immediately after auto-commit (full automation)
- Gracefully handles push failures (commit still succeeds)
- Configuration command system - New
configsubcommand for managing preferencesai-commit config --help- Show configuration help- Interactive and auto modes coexist - easily switch between workflows
Changed
CommitServicenow checks user preferences before deciding workflow mode- Interactive prompts only shown when auto-commit is disabled
- Help text updated to include configuration commands
- README and documentation updated with auto-commit/auto-push examples
Technical
- Added
UserPreferencesclass for persistent storage management - Updated
CommitServicewith auto-commit and auto-push logic - Added
push()method toGitServicefor git push operations - Enhanced error handling for auto-commit mode
Installation
Linux:
curl -L https://github.com/kxng0109/ai-commit-cli/releases/download/v1.2.0/ai-commit-linux-amd64 -o ai-commit
chmod +x ai-commit
sudo mv ai-commit /usr/local/bin/macOS:
curl -L https://github.com/kxng0109/ai-commit-cli/releases/download/v1.2.0/ai-commit-macos-amd64 -o ai-commit
chmod +x ai-commit
sudo mv ai-commit /usr/local/bin/Windows:
Download ai-commit-windows-amd64.exe and add to PATH.
Verification
Verify SHA256 checksums:
sha256sum -c ai-commit-*.sha256Quick Start
export OPENAI_API_KEY="sk-..."
cd your-repo
git add .
ai-commitSee README for full documentation.
Full Changelog: v1.1.1...v1.2.0
v1.1.1
What's Changed
Fixed
- Working directory detection - Fixed issue where CLI tool couldn't detect staged changes when run from compiled binary
- Windows process hanging - Fixed timeout issue on Windows when running git commands with large diff output
- Logging configuration - Fixed
AI_LOG_LEVELenvironment variable not being respected
Changed
- Enhanced
GitServicewith more robust process handling for Windows compatibility - Improved debug logging throughout Git operations
- Added
--no-pagerflag to git commands for consistent non-interactive behavior
Technical Details
- Implemented asynchronous stream reading to prevent buffer overflow
- Fixed working directory resolution across all platforms
- Fixed SLF4J Simple Logger initialization timing
Full Changelog: v1.1.0...v1.1.1
Installation
Linux:
curl -L https://github.com/kxng0109/ai-commit-cli/releases/download/v1.1.1/ai-commit-linux-amd64 -o ai-commit
chmod +x ai-commit
sudo mv ai-commit /usr/local/bin/macOS:
curl -L https://github.com/kxng0109/ai-commit-cli/releases/download/v1.1.1/ai-commit-macos-amd64 -o ai-commit
chmod +x ai-commit
sudo mv ai-commit /usr/local/bin/Windows:
Download ai-commit-windows-amd64.exe and add to PATH.
Verification
Verify SHA256 checksums:
sha256sum -c ai-commit-*.sha256Quick Start
export OPENAI_API_KEY="sk-..."
cd your-repo
git add .
ai-commitSee README for full documentation.
Full Changelog: v1.1.0...v1.1.1
v1.1.0
Installation
Linux:
curl -L https://github.com/kxng0109/ai-commit-cli/releases/download/v1.1.0/ai-commit-linux-amd64 -o ai-commit
chmod +x ai-commit
sudo mv ai-commit /usr/local/bin/macOS:
curl -L https://github.com/kxng0109/ai-commit-cli/releases/download/v1.1.0/ai-commit-macos-amd64 -o ai-commit
chmod +x ai-commit
sudo mv ai-commit /usr/local/bin/Windows:
Download ai-commit-windows-amd64.exe and add to PATH.
Verification
Verify SHA256 checksums:
sha256sum -c ai-commit-*.sha256Quick Start
export OPENAI_API_KEY="sk-..."
cd your-repo
git add .
ai-commitSee README for full documentation.
Full Changelog: v1.0.0...v1.1.0
v1.0.0
Installation
Linux:
curl -L https://github.com/kxng0109/ai-commit-cli/releases/download/v1.0.0/ai-commit-linux-amd64 -o ai-commit
chmod +x ai-commit
sudo mv ai-commit /usr/local/bin/macOS:
curl -L https://github.com/kxng0109/ai-commit-cli/releases/download/v1.0.0/ai-commit-macos-amd64 -o ai-commit
chmod +x ai-commit
sudo mv ai-commit /usr/local/bin/Windows:
Download ai-commit-windows-amd64.exe and add to PATH.
Verification
Verify SHA256 checksums:
sha256sum -c ai-commit-*.sha256Quick Start
export OPENAI_API_KEY="sk-..."
cd your-repo
git add .
ai-commitSee README for full documentation.
Full Changelog: https://github.com/kxng0109/ai-commit-cli/commits/v1.0.0