@ai-git/cli 2.8.5 → 2.10.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 +10 -3
- 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
|
|
@@ -104,6 +103,12 @@ ai-git --provider gemini-cli --model gemini-3-flash-preview
|
|
|
104
103
|
# Use Codex with reasoning effort baked in
|
|
105
104
|
ai-git --provider codex --model gpt-5.3-codex-low
|
|
106
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.4-mini#low
|
|
111
|
+
|
|
107
112
|
# Use OpenRouter
|
|
108
113
|
ai-git --provider openrouter --model anthropic/claude-sonnet-4-6
|
|
109
114
|
|
|
@@ -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) |
|
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.10.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.10.0",
|
|
31
|
+
"@ai-git/darwin-x64": "2.10.0",
|
|
32
|
+
"@ai-git/linux-arm64": "2.10.0",
|
|
33
|
+
"@ai-git/linux-x64": "2.10.0",
|
|
34
|
+
"@ai-git/win32-arm64": "2.10.0",
|
|
35
|
+
"@ai-git/win32-x64": "2.10.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
|