- Add VS Code extension with OpenCode AI integration - Generate Conventional Commit messages via SCM header button - Include gitService for staged changes detection - Include opencodeService for CLI invocation - Add configuration options for model, includeUnstaged, notifications - Add button disable during generation with progress indicator - Add sparkle icon for the action button - Include package.json, tsconfig, and basic project setup
34 lines
667 B
Markdown
34 lines
667 B
Markdown
# AI Commit Ext
|
|
|
|
Generate commit messages using OpenCode AI.
|
|
|
|
## Features
|
|
|
|
- Generate Conventional Commit messages via OpenCode
|
|
- Button in SCM header
|
|
- Progress indicator while generating
|
|
|
|
## Requirements
|
|
|
|
- VS Code 1.71+
|
|
- OpenCode CLI installed
|
|
|
|
## Installation
|
|
|
|
1. Clone this repository
|
|
2. npm install
|
|
3. Press F5 to test
|
|
|
|
## Configuration
|
|
|
|
- `aiCommitExt.model` - Model to use
|
|
- `aiCommitExt.includeUnstaged` - Use unstaged changes if nothing staged
|
|
- `aiCommitExt.showNotification` - Show notifications
|
|
|
|
## Usage
|
|
|
|
1. Open a Git repository in VS Code
|
|
2. Stage some changes
|
|
3. Click the sparkle icon in the SCM header
|
|
4. Commit message is generated and filled in
|