@ai-git/cli 2.9.0 → 2.11.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 +21 -5
- package/bin/ai-git +1 -1
- package/package.json +7 -6
- package/scripts/postinstall.js +1 -1
package/README.md
CHANGED
|
@@ -9,8 +9,7 @@ A CLI tool that leverages AI to automatically generate semantically correct, con
|
|
|
9
9
|
- 🤖 **AI-Powered** - Analyzes diffs and understands the _intent_ of your changes
|
|
10
10
|
- 📝 **Conventional Commits** - Strictly adheres to [v1.0.0](https://www.conventionalcommits.org/en/v1.0.0/) specification
|
|
11
11
|
- 🎨 **Interactive TUI** - Beautiful prompts for staging, editing, and confirming
|
|
12
|
-
-
|
|
13
|
-
- 🔌 **Multiple Providers** - Claude Code, Gemini CLI, Codex, OpenRouter, OpenAI, Anthropic, Google AI Studio, Cerebras
|
|
12
|
+
- 🔌 **Multiple Providers** - Claude Code, Gemini CLI, Codex, OpenCode, Pi, OpenRouter, OpenAI, Anthropic, Google AI Studio, Cerebras
|
|
14
13
|
- 🔐 **Secure** - API keys stored in keychain, never in config files
|
|
15
14
|
|
|
16
15
|
## Installation
|
|
@@ -102,7 +101,13 @@ ai-git
|
|
|
102
101
|
ai-git --provider gemini-cli --model gemini-3-flash-preview
|
|
103
102
|
|
|
104
103
|
# Use Codex with reasoning effort baked in
|
|
105
|
-
ai-git --provider codex --model gpt-5.
|
|
104
|
+
ai-git --provider codex --model gpt-5.6-luna-low
|
|
105
|
+
|
|
106
|
+
# Use OpenCode with a runtime variant
|
|
107
|
+
ai-git --provider opencode --model opencode/gpt-5-nano#minimal
|
|
108
|
+
|
|
109
|
+
# Use Pi with a thinking level
|
|
110
|
+
ai-git --provider pi --model openai-codex/gpt-5.6-luna#low
|
|
106
111
|
|
|
107
112
|
# Use OpenRouter
|
|
108
113
|
ai-git --provider openrouter --model anthropic/claude-sonnet-4-6
|
|
@@ -123,7 +128,9 @@ ai-git --dry-run -A
|
|
|
123
128
|
| :--------------- | :----------------- | :--- | :-------------------------------------------------------------------------------------- |
|
|
124
129
|
| Claude Code | `claude-code` | CLI | [Install CLI](https://claude.com/claude-code) |
|
|
125
130
|
| Gemini CLI | `gemini-cli` | CLI | [Install CLI](https://ai.google.dev/gemini-api/docs/cli) |
|
|
126
|
-
| Codex | `codex` | CLI | [Install CLI](https://developers.openai.com/codex/cli)
|
|
131
|
+
| Codex | `codex` | CLI | [Install CLI](https://developers.openai.com/codex/cli) |
|
|
132
|
+
| OpenCode | `opencode` | CLI | [Install CLI](https://opencode.ai) |
|
|
133
|
+
| Pi | `pi` | CLI | [Install CLI](https://pi.dev) |
|
|
127
134
|
| OpenRouter | `openrouter` | API | [Get API Key](https://openrouter.ai/keys) |
|
|
128
135
|
| OpenAI | `openai` | API | [Get API Key](https://platform.openai.com/api-keys) |
|
|
129
136
|
| Google AI Studio | `google-ai-studio` | API | [Get API Key](https://aistudio.google.com/app/apikey) |
|
|
@@ -132,6 +139,11 @@ ai-git --dry-run -A
|
|
|
132
139
|
|
|
133
140
|
Configure with `ai-git configure`
|
|
134
141
|
|
|
142
|
+
Codex defaults to `gpt-5.6-luna-low` and Claude Code defaults to `haiku` for fast,
|
|
143
|
+
repeatable commit-message generation. Pi, OpenCode, and API provider models are discovered at
|
|
144
|
+
runtime. Retired Codex configurations are migrated to the corresponding GPT-5.6 family while
|
|
145
|
+
preserving their supported effort level.
|
|
146
|
+
|
|
135
147
|
## Configuration
|
|
136
148
|
|
|
137
149
|
AI Git uses a **three-tier configuration system**:
|
|
@@ -185,7 +197,7 @@ The default prompt works excellently for most projects. Customize only for proje
|
|
|
185
197
|
{
|
|
186
198
|
"$schema": "https://raw.githubusercontent.com/sadiksaifi/ai-git/main/schema.json",
|
|
187
199
|
"provider": "claude-code",
|
|
188
|
-
"model": "
|
|
200
|
+
"model": "haiku",
|
|
189
201
|
"prompt": {
|
|
190
202
|
"context": "Monorepo with packages: web, mobile, shared, api, docs, infra.",
|
|
191
203
|
"style": "Always use a scope from the valid list. Reference PR numbers in footer."
|
|
@@ -232,6 +244,10 @@ bun run build
|
|
|
232
244
|
|
|
233
245
|
See [CONTRIBUTING.md](CONTRIBUTING.md) for contribution guidelines.
|
|
234
246
|
|
|
247
|
+
## Releases
|
|
248
|
+
|
|
249
|
+
Releases are managed by [Tagsmith](https://tagsmith.sadiksaifi.dev/). Use `bunx tagsmith@latest` to create and validate release tags.
|
|
250
|
+
|
|
235
251
|
## License
|
|
236
252
|
|
|
237
253
|
[MIT](LICENSE)
|
package/bin/ai-git
CHANGED
|
@@ -8,7 +8,7 @@ const os = require("os");
|
|
|
8
8
|
const PLATFORMS = {
|
|
9
9
|
darwin: { arm64: "@ai-git/darwin-arm64", x64: "@ai-git/darwin-x64" },
|
|
10
10
|
linux: { arm64: "@ai-git/linux-arm64", x64: "@ai-git/linux-x64" },
|
|
11
|
-
win32: { x64: "@ai-git/win32-x64" },
|
|
11
|
+
win32: { arm64: "@ai-git/win32-arm64", x64: "@ai-git/win32-x64" },
|
|
12
12
|
};
|
|
13
13
|
|
|
14
14
|
const platformPkgs = PLATFORMS[os.platform()];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai-git/cli",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.11.0",
|
|
4
4
|
"description": "AI-powered git commit message generator",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ai",
|
|
@@ -27,10 +27,11 @@
|
|
|
27
27
|
"postinstall": "node scripts/postinstall.js"
|
|
28
28
|
},
|
|
29
29
|
"optionalDependencies": {
|
|
30
|
-
"@ai-git/darwin-arm64": "2.
|
|
31
|
-
"@ai-git/darwin-x64": "2.
|
|
32
|
-
"@ai-git/linux-arm64": "2.
|
|
33
|
-
"@ai-git/linux-x64": "2.
|
|
34
|
-
"@ai-git/win32-
|
|
30
|
+
"@ai-git/darwin-arm64": "2.11.0",
|
|
31
|
+
"@ai-git/darwin-x64": "2.11.0",
|
|
32
|
+
"@ai-git/linux-arm64": "2.11.0",
|
|
33
|
+
"@ai-git/linux-x64": "2.11.0",
|
|
34
|
+
"@ai-git/win32-arm64": "2.11.0",
|
|
35
|
+
"@ai-git/win32-x64": "2.11.0"
|
|
35
36
|
}
|
|
36
37
|
}
|
package/scripts/postinstall.js
CHANGED
|
@@ -5,7 +5,7 @@ const path = require("path");
|
|
|
5
5
|
const PLATFORMS = {
|
|
6
6
|
darwin: { arm64: "@ai-git/darwin-arm64", x64: "@ai-git/darwin-x64" },
|
|
7
7
|
linux: { arm64: "@ai-git/linux-arm64", x64: "@ai-git/linux-x64" },
|
|
8
|
-
win32: { x64: "@ai-git/win32-x64" },
|
|
8
|
+
win32: { arm64: "@ai-git/win32-arm64", x64: "@ai-git/win32-x64" },
|
|
9
9
|
};
|
|
10
10
|
|
|
11
11
|
// Write install method marker
|