v0.0.1 - Initial release of aicommit
aicommit 0.0.1
Initial release of aicommit, a Rust CLI for generating Git commit messages with AI. The package is named aicommit, and the public command is aic.
Highlights
- Generate commit messages from staged Git diffs with an interactive review flow.
- Accept, edit, regenerate, or abort generated messages before committing.
- Skip confirmation for automation-friendly local workflows with
aic --yes. - Add extra context to a generation request with
aic --context. - Pass normal Git commit flags through to
git commit, including templates that replace$msg. - Use GitMoji-aware commit prompts, with a short default mode and optional full GitMoji guidance via
aic --fgm.
Providers
- OpenAI-compatible chat completions support through the
openaiprovider. - Azure OpenAI v1 support through the
azure-openaiprovider. - Configurable API base URLs, custom headers, proxy settings, model names, token limits, output language, and prompt behavior.
- Model discovery through
aic models, including refresh support and a local model cache.
Configuration
- Guided setup with
aic setup. - Config management with
aic config set,aic config get, andaic config describe. - Configuration precedence across built-in defaults, global config at
~/.aicommit, and process environment variables. - Repository-level diff exclusions with
.aicommitignore. - Prompt tuning via
AIC_PROMPT_FILE, so the default commit-message behavior can be changed without recompiling.
Git Integration
- Token-aware diff splitting for larger changes.
- Optional commit-and-push flow with remote labels for supported Git hosts.
prepare-commit-msghook management withaic hook setandaic hook unset.- Hook-generated suggestions are commented by default for review, with
AIC_HOOK_AUTO_UNCOMMENT=trueavailable for active insertion.
Install
macOS users can install with Homebrew:
brew install russmckendrick/tap/aicommit
Pre-built binaries are published for Linux, macOS, and Windows from GitHub Releases. The installed executable is aic.
Notes
- This is the first public release, so the CLI and configuration surface may still evolve before a stable 1.0.
- Provider behavior is intentionally isolated behind the
AiEnginetrait so additional providers can be added without changing the commit workflow.
Full Changelog: https://github.com/russmckendrick/aicommit/commits/v0.0.1
Full Changelog: https://github.com/russmckendrick/aicommit/commits/v0.0.1