3 Commits
Author SHA1 Message Date
s41r4j c0f4cd97eb 0.5.4 2025-09-12 14:47:14 +05:30
s41r4j 8de40357a6 chore: support Node 18 and pin @google/genai
- Relax engines to >=18.18.0\n- Pin @google/genai to 1.5.1 to avoid Node 20-only releases\n- Docs: add nvm steps and npm global prefix guidance for EACCES on Linux
2025-09-12 14:47:10 +05:30
s41r4j b3ec6c74e8 0.5.3 2025-09-10 15:06:13 +05:30
4 changed files with 28 additions and 5 deletions

No files matched your search

+23
View File
@@ -60,12 +60,35 @@ g o # AI analyzes changes, commits with perfect message, and pushes!
## 🚀 Quick Start ## 🚀 Quick Start
### Prerequisites
- Node.js >= 18.18.0 (Node 20+ recommended)
- npm >= 9
Tip: Use nvm to manage Node versions per-user without sudo:
```bash
curl -fsSL https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
export NVM_DIR="$HOME/.nvm" && . "$NVM_DIR/nvm.sh"
nvm install 20 && nvm alias default 20
```
### Installation ### Installation
```bash ```bash
npm install -g gims npm install -g gims
``` ```
If you get EACCES permission errors on Linux when installing globally, set a user prefix:
```bash
mkdir -p ~/.npm-global
npm config set prefix '~/.npm-global'
echo 'export PATH="$HOME/.npm-global/bin:$PATH"' >> ~/.bashrc
source ~/.bashrc
npm install -g gims
```
### Setup AI (Choose One) ### Setup AI (Choose One)
**Option 1: OpenAI** **Option 1: OpenAI**
+2 -2
View File
@@ -1,12 +1,12 @@
{ {
"name": "gims", "name": "gims",
"version": "0.5.2", "version": "0.5.4",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "gims", "name": "gims",
"version": "0.5.2", "version": "0.5.4",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@google/genai": "^1.5.1", "@google/genai": "^1.5.1",
+3 -3
View File
@@ -1,6 +1,6 @@
{ {
"name": "gims", "name": "gims",
"version": "0.5.2", "version": "0.5.4",
"description": "Git Made Simple – AI‑powered git helper using Gemini / OpenAI", "description": "Git Made Simple – AI‑powered git helper using Gemini / OpenAI",
"author": "S41R4J", "author": "S41R4J",
"license": "MIT", "license": "MIT",
@@ -29,10 +29,10 @@
"homepage": "https://github.com/s41r4j/gims#readme", "homepage": "https://github.com/s41r4j/gims#readme",
"main": "bin/gims.js", "main": "bin/gims.js",
"engines": { "engines": {
"node": ">=20.0.0" "node": ">=18.18.0"
}, },
"dependencies": { "dependencies": {
"@google/genai": "^1.5.1", "@google/genai": "1.5.1",
"clipboardy": "^3.0.0", "clipboardy": "^3.0.0",
"commander": "^11.1.0", "commander": "^11.1.0",
"openai": "^4.0.0", "openai": "^4.0.0",
BIN
View File
Binary file not shown.