commit_agent library

📦 commit_agent

🔹 Description: An AI-powered Git Commit Assistant that automatically analyzes your staged changes, generates clean commit messages using OpenAI, and pushes them to your repository.

💡 Features: • Interactive CLI for selecting commit types • Supports FEAT, FIX, BUG, REFACTOR, DOCS, CHORE, TEST, STYLE • Auto stages, commits, and pushes changes • Cross-platform: Windows, macOS, and Linux

🧑‍💻 Author & Maintainer: Rohan Kumar Chaudhary (@rohan-165) ✉️ rohanchy165@gmail.com 🌐 https://github.com/rohan-165

🧩 License: MIT License Copyright (c) 2025 Rohan


⚙️ File: commit_agent.dart

Functions

initCommitAgent({required String openAIKey}) → void
runCommitAgent() Future<void>
Runs the commit agent interactively