@jerryshell/aicommits 0.2.0 → 0.3.0
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 +18 -2
- package/dist/cli.mjs +129 -129
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -18,7 +18,7 @@ git add <files>
|
|
|
18
18
|
aicommits
|
|
19
19
|
```
|
|
20
20
|
|
|
21
|
-
`aic` is the short alias. `setup` lists the provider presets, fetches models when the endpoint supports it, and writes the endpoint, key when needed, and
|
|
21
|
+
`aic` is the short alias. `setup` lists the provider presets, fetches models when the endpoint supports it, asks for the commit language, and writes the endpoint, key when needed, model, and locale to `~/.aicommits`. Ollama and LM Studio need no key.
|
|
22
22
|
|
|
23
23
|
## What this fork changes
|
|
24
24
|
|
|
@@ -28,6 +28,7 @@ aicommits
|
|
|
28
28
|
| Large diffs | Condensed into a per-file skeleton before the call. | Chunked diffs with agent inspection. |
|
|
29
29
|
| Providers | URL-based presets: Command Code, OpenAI, Anthropic, Together AI, Groq, xAI, OpenRouter, Ollama, LM Studio, Custom. | Provider config plus Claude Code, Codex, and OpenCode Go subscriptions. |
|
|
30
30
|
| Command Code | Claude models use Anthropic Messages. Other models use chat completions with `json_schema`. Requests omit `reasoning_effort`, and `CMD_ZDR=1` adds the zero-data-retention header. | Not included. |
|
|
31
|
+
| Setup | Asks for the commit language. New installs preselect the system language. | Language set through config. |
|
|
31
32
|
| Tooling | Bun, oxlint, oxfmt, Fallow. | pnpm, pkgroll, manten, semantic-release. |
|
|
32
33
|
|
|
33
34
|
This fork does not include upstream's subscription providers, automatic updater, or VS Code extension.
|
|
@@ -67,6 +68,8 @@ Unknown flags pass to `git commit`.
|
|
|
67
68
|
|
|
68
69
|
Keys: `OPENAI_BASE_URL`, `OPENAI_API_KEY`, `OPENAI_MODEL`, `type`, `locale`, `max-length`, `max-output-tokens`, `timeout`.
|
|
69
70
|
|
|
71
|
+
`locale` accepts a language code such as `en`, `zh-CN`, or `pt-BR`.
|
|
72
|
+
|
|
70
73
|
The base URL selects the provider preset. There is no separate provider key.
|
|
71
74
|
|
|
72
75
|
## Providers
|
|
@@ -75,10 +78,23 @@ The base URL selects the provider preset. There is no separate provider key.
|
|
|
75
78
|
|
|
76
79
|
Command Code routes Claude models to Anthropic Messages. Other models use chat completions with `response_format: json_schema`. Requests omit `reasoning_effort`, and `CMD_ZDR=1` adds the zero-data-retention header.
|
|
77
80
|
|
|
78
|
-
##
|
|
81
|
+
## Local install
|
|
82
|
+
|
|
83
|
+
To run this repository as a global CLI:
|
|
79
84
|
|
|
80
85
|
```bash
|
|
86
|
+
git clone https://github.com/jerryshell/aicommits.git
|
|
87
|
+
cd aicommits
|
|
81
88
|
bun install
|
|
89
|
+
bun run build
|
|
90
|
+
bun link
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
`bun link` exposes `aicommits` and `aic` from the clone.
|
|
94
|
+
|
|
95
|
+
## Development
|
|
96
|
+
|
|
97
|
+
```bash
|
|
82
98
|
bun run verify
|
|
83
99
|
```
|
|
84
100
|
|