@ai-git/cli 2.10.0 → 3.0.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 +33 -17
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -9,7 +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
|
-
- 🔌 **Multiple Providers** - Claude Code,
|
|
12
|
+
- 🔌 **Multiple Providers** - Claude Code, Antigravity CLI, Codex, OpenCode, Pi, OpenRouter, OpenAI, Anthropic, Google AI Studio, Cerebras
|
|
13
13
|
- 🔐 **Secure** - API keys stored in keychain, never in config files
|
|
14
14
|
|
|
15
15
|
## Installation
|
|
@@ -98,16 +98,16 @@ Info:
|
|
|
98
98
|
ai-git
|
|
99
99
|
|
|
100
100
|
# Override provider for this run
|
|
101
|
-
ai-git --provider
|
|
101
|
+
ai-git --provider antigravity-cli --model gemini-3.7-flash-low
|
|
102
102
|
|
|
103
103
|
# Use Codex with reasoning effort baked in
|
|
104
|
-
ai-git --provider codex --model gpt-5.
|
|
104
|
+
ai-git --provider codex --model gpt-5.6-luna-low
|
|
105
105
|
|
|
106
106
|
# Use OpenCode with a runtime variant
|
|
107
107
|
ai-git --provider opencode --model opencode/gpt-5-nano#minimal
|
|
108
108
|
|
|
109
109
|
# Use Pi with a thinking level
|
|
110
|
-
ai-git --provider pi --model openai-codex/gpt-5.
|
|
110
|
+
ai-git --provider pi --model openai-codex/gpt-5.6-luna#low
|
|
111
111
|
|
|
112
112
|
# Use OpenRouter
|
|
113
113
|
ai-git --provider openrouter --model anthropic/claude-sonnet-4-6
|
|
@@ -124,21 +124,33 @@ ai-git --dry-run -A
|
|
|
124
124
|
|
|
125
125
|
## Supported Providers
|
|
126
126
|
|
|
127
|
-
| Provider | ID
|
|
128
|
-
| :--------------- |
|
|
129
|
-
| Claude Code | `claude-code`
|
|
130
|
-
|
|
|
131
|
-
| Codex | `codex`
|
|
132
|
-
| OpenCode | `opencode`
|
|
133
|
-
| Pi | `pi`
|
|
134
|
-
| OpenRouter | `openrouter`
|
|
135
|
-
| OpenAI | `openai`
|
|
136
|
-
| Google AI Studio | `google-ai-studio`
|
|
137
|
-
| Anthropic | `anthropic`
|
|
138
|
-
| Cerebras | `cerebras`
|
|
127
|
+
| Provider | ID | Type | Requirements |
|
|
128
|
+
| :--------------- | :------------------ | :--- | :-------------------------------------------------------------------------------------- |
|
|
129
|
+
| Claude Code | `claude-code` | CLI | [Install CLI](https://claude.com/claude-code) |
|
|
130
|
+
| Antigravity CLI | `antigravity-cli` | CLI | [Install CLI](https://antigravity.google/docs/cli/install) |
|
|
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) |
|
|
134
|
+
| OpenRouter | `openrouter` | API | [Get API Key](https://openrouter.ai/keys) |
|
|
135
|
+
| OpenAI | `openai` | API | [Get API Key](https://platform.openai.com/api-keys) |
|
|
136
|
+
| Google AI Studio | `google-ai-studio` | API | [Get API Key](https://aistudio.google.com/app/apikey) |
|
|
137
|
+
| Anthropic | `anthropic` | API | [Get API Key](https://console.anthropic.com/settings/keys) |
|
|
138
|
+
| Cerebras | `cerebras` | API | [Get API Key](https://cloud.cerebras.ai/) |
|
|
139
139
|
|
|
140
140
|
Configure with `ai-git configure`
|
|
141
141
|
|
|
142
|
+
Codex defaults to `gpt-5.6-luna-low` and Claude Code defaults to `haiku` for fast,
|
|
143
|
+
repeatable commit-message generation. Antigravity CLI, Pi, OpenCode, and API provider models are
|
|
144
|
+
discovered at runtime. Antigravity recommends the newest Gemini Flash Low model available to the
|
|
145
|
+
signed-in account. Existing Gemini CLI configurations are migrated to Antigravity CLI with a live,
|
|
146
|
+
account-compatible model. Retired Codex configurations are migrated to the corresponding GPT-5.6
|
|
147
|
+
family while preserving their supported effort level.
|
|
148
|
+
|
|
149
|
+
Antigravity generation runs with `--sandbox` in an empty workspace and an isolated temporary
|
|
150
|
+
profile. AI Git installs deny-all permissions and a deny-all tool hook for the invocation, disables
|
|
151
|
+
slash-command expansion, validates structured output, and removes the temporary conversation data
|
|
152
|
+
afterward.
|
|
153
|
+
|
|
142
154
|
## Configuration
|
|
143
155
|
|
|
144
156
|
AI Git uses a **three-tier configuration system**:
|
|
@@ -192,7 +204,7 @@ The default prompt works excellently for most projects. Customize only for proje
|
|
|
192
204
|
{
|
|
193
205
|
"$schema": "https://raw.githubusercontent.com/sadiksaifi/ai-git/main/schema.json",
|
|
194
206
|
"provider": "claude-code",
|
|
195
|
-
"model": "
|
|
207
|
+
"model": "haiku",
|
|
196
208
|
"prompt": {
|
|
197
209
|
"context": "Monorepo with packages: web, mobile, shared, api, docs, infra.",
|
|
198
210
|
"style": "Always use a scope from the valid list. Reference PR numbers in footer."
|
|
@@ -239,6 +251,10 @@ bun run build
|
|
|
239
251
|
|
|
240
252
|
See [CONTRIBUTING.md](CONTRIBUTING.md) for contribution guidelines.
|
|
241
253
|
|
|
254
|
+
## Releases
|
|
255
|
+
|
|
256
|
+
Releases are managed by [Tagsmith](https://tagsmith.sadiksaifi.dev/). Use `bunx tagsmith@latest` to create and validate release tags.
|
|
257
|
+
|
|
242
258
|
## License
|
|
243
259
|
|
|
244
260
|
[MIT](LICENSE)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai-git/cli",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"description": "AI-powered git commit message generator",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ai",
|
|
@@ -27,11 +27,11 @@
|
|
|
27
27
|
"postinstall": "node scripts/postinstall.js"
|
|
28
28
|
},
|
|
29
29
|
"optionalDependencies": {
|
|
30
|
-
"@ai-git/darwin-arm64": "
|
|
31
|
-
"@ai-git/darwin-x64": "
|
|
32
|
-
"@ai-git/linux-arm64": "
|
|
33
|
-
"@ai-git/linux-x64": "
|
|
34
|
-
"@ai-git/win32-arm64": "
|
|
35
|
-
"@ai-git/win32-x64": "
|
|
30
|
+
"@ai-git/darwin-arm64": "3.0.0",
|
|
31
|
+
"@ai-git/darwin-x64": "3.0.0",
|
|
32
|
+
"@ai-git/linux-arm64": "3.0.0",
|
|
33
|
+
"@ai-git/linux-x64": "3.0.0",
|
|
34
|
+
"@ai-git/win32-arm64": "3.0.0",
|
|
35
|
+
"@ai-git/win32-x64": "3.0.0"
|
|
36
36
|
}
|
|
37
37
|
}
|