aicommit2 2.5.1 → 2.5.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +22 -12
- package/dist/cli.mjs +94 -94
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<div align="center">
|
|
2
2
|
<div>
|
|
3
|
-
<img src="https://github.com/tak-bro/aicommit2/blob/main/img/demo-min.gif?raw=true" alt="
|
|
4
|
-
<h1 align="center">
|
|
3
|
+
<img src="https://github.com/tak-bro/aicommit2/blob/main/img/demo-min.gif?raw=true" alt="aicommit2"/>
|
|
4
|
+
<h1 align="center">aicommit2</h1>
|
|
5
5
|
</div>
|
|
6
6
|
<p>
|
|
7
7
|
A Reactive CLI that generates commit messages for Git, YADM, and Jujutsu with Ollama, ChatGPT, Gemini, Claude, Mistral, and other AI
|
|
@@ -378,8 +378,7 @@ Run `aicommit2 --help` to see all available options grouped by category.
|
|
|
378
378
|
- `--confirm` or `-y`: Skip confirmation when committing after message generation (default: **false**)
|
|
379
379
|
- `--auto-select` or `-s`: Automatically select when only one message is generated (default: **false**)
|
|
380
380
|
- `--edit` or `-e`: Open the AI-generated commit message in your default editor (default: **false**)
|
|
381
|
-
- `--clipboard` or `-c`: Copy the selected message to
|
|
382
|
-
- If you give this option, **_aicommit2_ will not commit**.
|
|
381
|
+
- `--clipboard` or `-c`: Copy the selected message to clipboard and exit **without committing** (default: **false**)
|
|
383
382
|
- `--dry-run` or `-d`: Generate commit message without committing (default: **false**)
|
|
384
383
|
- Useful for reviewing messages before manual commit (e.g., with GitHub Desktop)
|
|
385
384
|
- `--output` or `-o`: Output format for non-interactive mode (default: **none**)
|
|
@@ -669,20 +668,27 @@ aicommit2 stats
|
|
|
669
668
|
Example output:
|
|
670
669
|
|
|
671
670
|
```
|
|
672
|
-
📊
|
|
673
|
-
Period:
|
|
671
|
+
📊 aicommit2 Statistics
|
|
672
|
+
Period: 3/16/2026 - 3/17/2026
|
|
674
673
|
|
|
675
674
|
Overview:
|
|
676
|
-
Total requests:
|
|
677
|
-
Success rate:
|
|
678
|
-
Avg response time:
|
|
675
|
+
Total requests: 144
|
|
676
|
+
Success rate: 60.4%
|
|
677
|
+
Avg response time: 1.3s
|
|
679
678
|
|
|
680
679
|
Provider Usage:
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
680
|
+
Provider Rate Bar Cnt Selected Time
|
|
681
|
+
GROQ 100% ████████████████████ 48 1 (2.1%) 732ms
|
|
682
|
+
OPENAI 0% ░░░░░░░░░░░░░░░░░░░░ 46 0 514ms
|
|
683
|
+
GITHUB_MODELS 96% ███████████████████░ 25 0 2.0s
|
|
684
|
+
GEMINI 29% ██████░░░░░░░░░░░░░░ 14 0 2.8s
|
|
684
685
|
```
|
|
685
686
|
|
|
687
|
+
**Columns:**
|
|
688
|
+
- **Rate**: Success rate (bar color: 🟢 ≥80%, 🟡 50-79%, 🔴 <50%)
|
|
689
|
+
- **Cnt**: Total request count
|
|
690
|
+
- **Selected**: How many times you chose this provider's message
|
|
691
|
+
|
|
686
692
|
Options:
|
|
687
693
|
- `aicommit2 stats -d 7` - Show statistics for the last 7 days
|
|
688
694
|
- `aicommit2 stats clear` - Clear all statistics
|
|
@@ -867,6 +873,9 @@ For detailed information about all available settings, see the [General Settings
|
|
|
867
873
|
| `maxTokens` | Maximum number of tokens to generate | 1024 |
|
|
868
874
|
| `includeBody` | Whether the commit message includes body | false |
|
|
869
875
|
| `codeReview` | Enable automated code review | false |
|
|
876
|
+
| `autoCopy` | Auto-copy commit message to clipboard (commits normally) | false |
|
|
877
|
+
| `useStats` | Enable usage statistics tracking | true |
|
|
878
|
+
| `statsDays` | Days to retain statistics data (auto-cleanup) | 30 |
|
|
870
879
|
| `systemPromptPath` | Path to custom system prompt file | - |
|
|
871
880
|
|
|
872
881
|
```bash
|
|
@@ -1123,6 +1132,7 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
|
|
|
1123
1132
|
<td align="center"><a href="https://github.com/jaytaylor"><img src="https://avatars.githubusercontent.com/jaytaylor" width="100px;" alt=""/><br /><sub><b>@jaytaylor</b></sub></a><br /><a href="https://github.com/tak-bro/aicommit2/commits?author=jaytaylor" title="Code">💻</a></td>
|
|
1124
1133
|
<td align="center"><a href="https://github.com/denniswebb"><img src="https://avatars.githubusercontent.com/denniswebb" width="100px;" alt=""/><br /><sub><b>@denniswebb</b></sub></a><br /><a href="https://github.com/tak-bro/aicommit2/commits?author=denniswebb" title="Code">💻</a></td>
|
|
1125
1134
|
<td align="center"><a href="https://github.com/peinan"><img src="https://avatars.githubusercontent.com/peinan" width="100px;" alt=""/><br /><sub><b>@peinan</b></sub></a><br /><a href="https://github.com/tak-bro/aicommit2/issues/215" title="Documentation">📖</a></td>
|
|
1135
|
+
<td align="center"><a href="https://github.com/totoroot"><img src="https://avatars.githubusercontent.com/totoroot" width="100px;" alt=""/><br /><sub><b>@totoroot</b></sub></a><br /><a href="https://github.com/tak-bro/aicommit2/commits?author=totoroot" title="Code">💻</a></td>
|
|
1126
1136
|
</tr>
|
|
1127
1137
|
</table>
|
|
1128
1138
|
<!-- markdownlint-restore -->
|