@jerryshell/aicommits 0.1.3 → 0.1.5
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 +2 -1
- package/dist/cli.mjs +126 -121
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,11 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
AI-powered git commit message generator. Fork of [nutlope/aicommits](https://github.com/nutlope/aicommits).
|
|
4
4
|
|
|
5
|
-
##
|
|
5
|
+
## Features and changes
|
|
6
6
|
|
|
7
7
|
- **Structured output**: Uses Zod schemas + `Output.object()` to enforce JSON responses, eliminating parsing fragility from free-text LLM output.
|
|
8
8
|
- **No reasoning tokens**: All LLM calls disable reasoning (`reasoning: "none"`, sent as `reasoning_effort: "none"` on OpenAI-compatible endpoints), skipping thinking tokens on models that support it.
|
|
9
9
|
- **Large-diff summarization**: Diffs over 30 KB are condensed locally into a per-file skeleton (stat + key declarations) instead of sending truncated raw diff text, cutting tokens ~10× on big commits. Small diffs are sent verbatim.
|
|
10
|
+
- **Interactive editing**: After generation, use the arrow keys to choose `Yes`, `Edit`, or `No`; `Edit` lets you revise the message before committing.
|
|
10
11
|
- **Bun for dev, Node for prod**: Dev tooling uses Bun (faster builds, oxfmt, oxlint). Production binary targets Node.
|
|
11
12
|
|
|
12
13
|
## Install
|