Skip to content

Commit 58f3d33

Browse files
committed
fix.
1 parent 380f17f commit 58f3d33

4 files changed

Lines changed: 536 additions & 104 deletions

File tree

‎README.md‎

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,13 @@ You're already investing in Claude Code – whether it's Pro, Max ×5, or Max ×
1717
- **One-click commit message generation**: The sparkle button ✨ you know and love, right in VS Code's Source Control panel
1818
- **Powered by your Claude CLI**: Uses your existing Claude installation – no extra API keys or subscriptions needed
1919
- **Context-aware analysis**: Understands your git diff to generate meaningful, conventional commit messages
20+
- **Edit with feedback**: Not satisfied? Click "Edit with feedback" to refine the message with AI assistance
21+
- **Multi-line commit support**: Generate detailed commits with body and footer for complex changes
22+
- **Model selection**: Choose between Haiku (fast), Sonnet (balanced), or Opus (most capable)
2023
- **Bilingual support**: Works in English and Ukrainian
2124
- **Flexible backend**: Automatically uses Claude CLI, with API fallback option
25+
- **Auto-discovery & caching**: Finds and remembers your Claude CLI path automatically
26+
- **Progress indicators**: See exactly what's happening during generation
2227
- **Seamless VS Code integration**: Works directly with the built-in Git interface
2328

2429
## Requirements
@@ -54,8 +59,10 @@ This extension keeps it simple with just a few optional settings:
5459

5560
* `claudeCommit.cliPath`: Path to Claude CLI executable (leave empty for auto-detection)
5661
* `claudeCommit.preferredMethod`: Choose AI backend (`auto`, `cli`, or `api`) – defaults to `auto`
62+
* `claudeCommit.model`: Claude model to use (`haiku`, `sonnet`, `opus`) – defaults to `haiku`
5763
* `claudeCommit.apiKey`: Your Anthropic API key (only needed if using API method)
5864
* `claudeCommit.language`: Interface language (`en` for English, `ua` for Ukrainian)
65+
* `claudeCommit.multiLineCommit`: Generate detailed multi-line commits with body and footer – defaults to `false`
5966

6067
## Configuration Examples
6168

@@ -90,6 +97,22 @@ The extension will automatically search for Claude CLI in common locations.
9097
}
9198
```
9299

100+
### Detailed multi-line commits
101+
```json
102+
{
103+
"claudeCommit.multiLineCommit": true
104+
}
105+
```
106+
This generates commits with subject, body, and footer following the full conventional commits format.
107+
108+
### Using a specific model
109+
```json
110+
{
111+
"claudeCommit.model": "sonnet"
112+
}
113+
```
114+
Available models: `haiku` (fast, default), `sonnet` (balanced), `opus` (most capable).
115+
93116
## Troubleshooting
94117

95118
### Claude CLI not found

‎package.json‎

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,22 @@
6868
"description": "Preferred method for generating commits: auto (try CLI first, then API), cli (Claude Code CLI only), or api (Anthropic API only)",
6969
"order": 3
7070
},
71+
"claudeCommit.model": {
72+
"type": "string",
73+
"enum": [
74+
"haiku",
75+
"sonnet",
76+
"opus"
77+
],
78+
"default": "haiku",
79+
"enumDescriptions": [
80+
"Claude Haiku - Fast and cost-effective",
81+
"Claude Sonnet - Balanced performance",
82+
"Claude Opus - Most capable"
83+
],
84+
"description": "Claude model to use for commit generation",
85+
"order": 4
86+
},
7187
"claudeCommit.language": {
7288
"type": "string",
7389
"enum": [
@@ -80,7 +96,13 @@
8096
"Ukrainian"
8197
],
8298
"description": "Language for commit messages",
83-
"order": 4
99+
"order": 5
100+
},
101+
"claudeCommit.multiLineCommit": {
102+
"type": "boolean",
103+
"default": false,
104+
"description": "Generate detailed multi-line commits with body and footer (conventional commits extended format)",
105+
"order": 6
84106
}
85107
}
86108
}

0 commit comments

Comments
 (0)