feat: initial implementation of AI Commit Ext VS Code extension

- 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
This commit is contained in:
2026-04-06 00:44:36 +02:00
commit 0835211a71
9 changed files with 1121 additions and 0 deletions

33
readme.md Normal file
View File

@@ -0,0 +1,33 @@
# 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