@jerryshell/aicommits 0.1.0 → 0.1.2

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.
Files changed (3) hide show
  1. package/README.md +6 -6
  2. package/dist/cli.mjs +112 -112
  3. package/package.json +3 -4
package/README.md CHANGED
@@ -4,10 +4,10 @@ AI-powered git commit message generator. Fork of [nutlope/aicommits](https://git
4
4
 
5
5
  ## What's different from upstream
6
6
 
7
- - **Structured output** — Uses Zod schemas + `Output.object()` to enforce JSON responses, eliminating parsing fragility from free-text LLM output.
8
- - **No reasoning tokens** — All LLM calls set `reasoning: "none"` to skip thinking/reasoning tokens, saving costs on models that support it.
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
- - **Bun for dev, Node for prod** — Dev tooling uses Bun (faster builds, oxfmt, oxlint). Production binary targets Node.
7
+ - **Structured output**: Uses Zod schemas + `Output.object()` to enforce JSON responses, eliminating parsing fragility from free-text LLM output.
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
+ - **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
+ - **Bun for dev, Node for prod**: Dev tooling uses Bun (faster builds, oxfmt, oxlint). Production binary targets Node.
11
11
 
12
12
  ## Install
13
13
 
@@ -20,7 +20,7 @@ npm add -g @jerryshell/aicommits
20
20
  ```bash
21
21
  aicommits setup # configure your API endpoint and key, pick a model
22
22
  aicommits # generate a commit message from staged changes
23
- # tip: `aic` works too — same thing, shorter
23
+ # tip: `aic` works too (same thing, shorter)
24
24
  ```
25
25
 
26
26
  ## Development
@@ -59,4 +59,4 @@ bun link
59
59
 
60
60
  ## Providers
61
61
 
62
- Any OpenAI-compatible endpoint works — OpenAI, Groq, xAI, Together, Ollama, LM Studio, vLLM, or a custom server. `aicommits setup` asks for the base URL and API key; no per-provider presets or hardcoded defaults. Local endpoints (e.g. Ollama) can use an empty API key.
62
+ Any OpenAI-compatible endpoint works: OpenAI, Groq, xAI, Together, Ollama, LM Studio, vLLM, or a custom server. `aicommits setup` asks for the base URL and API key; no per-provider presets or hardcoded defaults. Local endpoints (e.g. Ollama) can use an empty API key.