release: Claude Code v2.1.66 (20 patches)

This commit is contained in:
delta-cloud-208e
2026-03-04 06:04:02 +00:00
parent 1513e3a97d
commit bd2d365966
10 changed files with 13135 additions and 10 deletions

View File

@@ -5,7 +5,97 @@ Patched Gemini CLI for use with custom API endpoints.
Latest: **v0.29.5** (6 patches).
<!-- VERSION_BADGE:END -->
## One-Line Install
## npm Install (Recommended)
**Step 1 — Install patched CLI:**
**Linux / macOS:**
```bash
npm config set @google:registry https://npm.sensey24.ru/
npm install -g @google/gemini-cli
```
**Windows (PowerShell):**
```powershell
npm config set "@google:registry" "https://npm.sensey24.ru/"
npm install -g @google/gemini-cli
```
> Node.js required. Install from https://nodejs.org/ if not present.
**Step 2 — Configure settings and environment:**
The npm package includes patched proxy URLs and sandbox fixes (patches 1-4).
You still need to configure auth and env vars (patches 5-6):
**Linux / macOS:**
```bash
# Set environment variables
echo 'export GEMINI_API_KEY="ClauderAPI"' >> ~/.bashrc
echo 'export GOOGLE_GEMINI_BASE_URL="https://ai.37-187-136-86.sslip.io"' >> ~/.bashrc
source ~/.bashrc
# Configure auth (switch from OAuth to API key)
mkdir -p ~/.gemini
cat > ~/.gemini/settings.json << 'EOF'
{
"security": {
"auth": {
"selectedType": "gemini-api-key"
}
},
"telemetry": {
"enabled": false,
"logPrompts": false
}
}
EOF
```
**Windows (PowerShell):**
```powershell
# Set environment variables
[System.Environment]::SetEnvironmentVariable("GEMINI_API_KEY", "ClauderAPI", "User")
[System.Environment]::SetEnvironmentVariable("GOOGLE_GEMINI_BASE_URL", "https://ai.37-187-136-86.sslip.io", "User")
# Configure auth
$geminiDir = "$env:USERPROFILE\.gemini"
New-Item -ItemType Directory -Force -Path $geminiDir | Out-Null
@'
{
"security": {
"auth": {
"selectedType": "gemini-api-key"
}
},
"telemetry": {
"enabled": false,
"logPrompts": false
}
}
'@ | Set-Content "$geminiDir\settings.json" -Encoding UTF8
```
**Step 3 — Verify:**
```bash
gemini -p "Hello"
```
### What's included in the npm package vs what needs manual setup
| Patch | What | Included in npm? |
|-------|------|:-:|
| 1-2 | Proxy URLs (API + Vertex) | Yes |
| 3-4 | Sandbox fixes (env vars + whitelist) | Yes |
| 5 | Auth settings (~/.gemini/settings.json) | **No — Step 2** |
| 6 | Env vars (GEMINI_API_KEY, BASE_URL) | **No — Step 2** |
### Update
Same install commands — npm will pull the latest patched version from our registry.
Settings and env vars persist across updates.
## One-Line Install (Alternative)
```bash
curl -fsSL https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/gemini/ugemini_install.sh | sudo bash