docs: sync all localized READMEs (RU/ZH/ES) with current install flow
- Update product table versions everywhere (claude v2.1.112, codex v0.116.0, gemini v0.35.3, qwen v0.14.5) - Replace outdated bash heredocs with one-liner installer scripts - Add Windows PowerShell + Windows CMD entry points - Update claude/README*.md: drop git clone snippets, use uclaude_install.ps1 one-liner Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
194
README_es.md
194
README_es.md
@@ -8,82 +8,18 @@ Herramientas de IA para codificación con soporte para puntos finales de API per
|
||||
|
||||
| Carpeta | Herramienta | Estado |
|
||||
|-------|-----------|--------|
|
||||
| [claude/](claude/) | Claude Code | Activo (v2.1.62) |
|
||||
| codex/ | OpenAI Codex CLI | Planeado |
|
||||
| gemini/ | Gemini CLI | Planeado |
|
||||
| qwen/ | Qwen Code | Planeado |
|
||||
| [claude/](claude/) | Claude Code | Activo (v2.1.112) |
|
||||
| [codex/](codex/) | OpenAI Codex CLI | **Activo (v0.116.0)** |
|
||||
| [gemini/](gemini/) | Gemini CLI | **Activo (v0.35.3)** |
|
||||
| [qwen/](qwen/) | Qwen Code | **Activo (v0.14.5)** |
|
||||
| antigravity/ | Antigravity | Planeado |
|
||||
|
||||
## Inicio rápido
|
||||
## Instalación con un solo comando
|
||||
|
||||
### Verificación de requisitos previos
|
||||
> El instalador descarga Node.js (si falta), el paquete npm, las variables de entorno
|
||||
> y `~/.gemini/settings.json` automáticamente. **No necesita pegar manualmente código bash/PowerShell.**
|
||||
|
||||
Antes de instalar, verifique que Node.js v24.13+ esté instalado:
|
||||
|
||||
```bash
|
||||
# Comprobar versión de Node.js
|
||||
node --version
|
||||
|
||||
# Si falta Node.js o la versión es demasiado antigua, instale:
|
||||
# Linux (Debian/Ubuntu):
|
||||
sudo apt update && sudo apt install -y nodejs npm
|
||||
|
||||
# Linux (RHEL/Fedora):
|
||||
sudo dnf install -y nodejs npm
|
||||
|
||||
# macOS:
|
||||
brew install node
|
||||
|
||||
# Windows (PowerShell como Administrador):
|
||||
winget install OpenJS.NodeJS
|
||||
```
|
||||
|
||||
### Alternativa - Autoinstalación de Node.js
|
||||
|
||||
Si necesita instalar o actualizar Node.js automáticamente:
|
||||
|
||||
**Linux:**
|
||||
```bash
|
||||
curl -fsSL https://deb.nodesource.com/setup_24.x | sudo -E bash - && sudo apt-get install -y nodejs
|
||||
```
|
||||
|
||||
**macOS:**
|
||||
```bash
|
||||
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
|
||||
brew install node
|
||||
```
|
||||
|
||||
**Windows:**
|
||||
```powershell
|
||||
# Como Administrador
|
||||
winget install OpenJS.NodeJS
|
||||
```
|
||||
|
||||
### Claude Code — Instalación
|
||||
|
||||
Dos comandos en cualquier plataforma:
|
||||
|
||||
**Linux / macOS:**
|
||||
```bash
|
||||
npm config set @anthropic-ai:registry https://npm.sensey24.ru/
|
||||
npm install -g @anthropic-ai/claude-code
|
||||
```
|
||||
|
||||
**Windows (PowerShell):**
|
||||
```powershell
|
||||
npm config set "@anthropic-ai:registry" "https://npm.sensey24.ru/"
|
||||
npm install -g @anthropic-ai/claude-code
|
||||
```
|
||||
|
||||
> Se requiere Node.js. Descargar: https://nodejs.org/
|
||||
|
||||
### Actualización
|
||||
|
||||
Los mismos dos comandos — npm descargará automáticamente la última versión parcheada desde nuestro registro.
|
||||
|
||||
### Alternativa — instalador automático (si no tienes Node.js)
|
||||
|
||||
Instala Node.js, Claude Code y los parches automáticamente.
|
||||
### Claude Code
|
||||
|
||||
**Linux (Debian/Ubuntu/RHEL/Fedora):**
|
||||
```bash
|
||||
@@ -99,37 +35,101 @@ curl -fsSL -H "Authorization: token cadffcb0a6a3be728ac1ff619bb40c86588f6837" \
|
||||
-o /tmp/uclaude.sh && bash /tmp/uclaude.sh
|
||||
```
|
||||
|
||||
**Windows (PowerShell como administrador):**
|
||||
**Windows (PowerShell como Administrador):**
|
||||
```powershell
|
||||
git clone --depth 1 https://x-token:cadffcb0a6a3be728ac1ff619bb40c86588f6837@git.sensey24.ru/aibot777/unlimitedcoding.git
|
||||
cd unlimitedcoding
|
||||
powershell -ExecutionPolicy Bypass -File claude\uclaude_update.ps1 --force
|
||||
$h=@{Authorization="token cadffcb0a6a3be728ac1ff619bb40c86588f6837"}
|
||||
Set-ExecutionPolicy Bypass -Scope Process -Force
|
||||
iwr "https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/claude/uclaude_install.ps1" -OutFile "$env:TEMP\uclaude_install.ps1" -Headers $h
|
||||
. "$env:TEMP\uclaude_install.ps1"
|
||||
```
|
||||
|
||||
### Instalación manual desde el lanzamiento
|
||||
|
||||
Clona el repositorio y ejecuta el instalador:
|
||||
### Gemini CLI
|
||||
|
||||
**Linux / macOS:**
|
||||
```bash
|
||||
git clone --depth 1 https://x-token:cadffcb0a6a3be728ac1ff619bb40c86588f6837@git.sensey24.ru/aibot777/unlimitedcoding.git
|
||||
cd unlimitedcoding
|
||||
curl -fsSL -H "Authorization: token cadffcb0a6a3be728ac1ff619bb40c86588f6837" \
|
||||
https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/gemini/ugemini_install.sh \
|
||||
-o /tmp/ugemini.sh && sudo bash /tmp/ugemini.sh
|
||||
```
|
||||
|
||||
<!-- MANUAL_VERSION:START -->
|
||||
| Plataforma | Comando |
|
||||
|-----------|---------|
|
||||
| Linux / macOS | `sudo bash claude/releases/v2.1.62/install.sh` |
|
||||
| Windows CMD | `claude\releases\v2.1.62\install.bat` |
|
||||
| Windows PowerShell | `powershell -ExecutionPolicy Bypass -File claude\releases\v2.1.62\install.ps1` |
|
||||
<!-- MANUAL_VERSION:END -->
|
||||
**Windows (PowerShell como Administrador):**
|
||||
```powershell
|
||||
$h=@{Authorization="token cadffcb0a6a3be728ac1ff619bb40c86588f6837"}
|
||||
Set-ExecutionPolicy Bypass -Scope Process -Force
|
||||
iwr "https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/gemini/ugemini_install.ps1" -OutFile "$env:TEMP\ugemini_install.ps1" -Headers $h
|
||||
. "$env:TEMP\ugemini_install.ps1"
|
||||
```
|
||||
|
||||
## Qué se instala automáticamente
|
||||
**Windows (CMD como Administrador):**
|
||||
```cmd
|
||||
powershell -NoProfile -ExecutionPolicy Bypass -Command "$h=@{Authorization='token cadffcb0a6a3be728ac1ff619bb40c86588f6837'}; iwr 'https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/gemini/ugemini_install.ps1' -OutFile \"$env:TEMP\ugemini_install.ps1\" -Headers $h; & \"$env:TEMP\ugemini_install.ps1\""
|
||||
```
|
||||
|
||||
| Componente | Linux | macOS | Windows |
|
||||
|-----------|-------|-------|---------|
|
||||
| Git | apt/dnf/yum | brew | winget |
|
||||
| Python 3 | apt/dnf/yum | brew | winget |
|
||||
| Node.js v24.13+ | nodesource | brew | winget |
|
||||
| Claude Code | npm | npm | npm |
|
||||
| cli.js parcheado | reemplazo con copia de seguridad | reemplazo con copia de seguridad | reemplazo con copia de seguridad |
|
||||
| Configuraciones | todos los usuarios | todos los usuarios | todos los usuarios |
|
||||
### Codex CLI
|
||||
|
||||
> Codex CLI es un binario Rust compilado (no npm). El instalador lo descarga desde GitHub releases.
|
||||
|
||||
**Linux / macOS:**
|
||||
```bash
|
||||
curl -fsSL -H "Authorization: token cadffcb0a6a3be728ac1ff619bb40c86588f6837" \
|
||||
https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/codex/ucodex_install.sh \
|
||||
-o /tmp/ucodex_install.sh && sudo bash /tmp/ucodex_install.sh
|
||||
```
|
||||
|
||||
**Windows (PowerShell como Administrador):**
|
||||
```powershell
|
||||
$h=@{Authorization="token cadffcb0a6a3be728ac1ff619bb40c86588f6837"}
|
||||
Set-ExecutionPolicy Bypass -Scope Process -Force
|
||||
iwr "https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/codex/ucodex_install.ps1" -OutFile "$env:TEMP\ucodex_install.ps1" -Headers $h
|
||||
. "$env:TEMP\ucodex_install.ps1"
|
||||
```
|
||||
|
||||
**Windows (CMD como Administrador):**
|
||||
```cmd
|
||||
powershell -NoProfile -ExecutionPolicy Bypass -Command "$h=@{Authorization='token cadffcb0a6a3be728ac1ff619bb40c86588f6837'}; iwr 'https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/codex/ucodex_install.ps1' -OutFile \"$env:TEMP\ucodex_install.ps1\" -Headers $h; & \"$env:TEMP\ucodex_install.ps1\""
|
||||
```
|
||||
|
||||
### Qwen Code
|
||||
|
||||
**Linux / macOS:**
|
||||
```bash
|
||||
curl -fsSL -H "Authorization: token cadffcb0a6a3be728ac1ff619bb40c86588f6837" \
|
||||
https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/qwen/uqwen_install.sh \
|
||||
-o /tmp/uqwen.sh && sudo bash /tmp/uqwen.sh
|
||||
```
|
||||
|
||||
**Windows (PowerShell como Administrador):**
|
||||
```powershell
|
||||
$h=@{Authorization="token cadffcb0a6a3be728ac1ff619bb40c86588f6837"}
|
||||
Set-ExecutionPolicy Bypass -Scope Process -Force
|
||||
iwr "https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/qwen/uqwen_install.ps1" -OutFile "$env:TEMP\uqwen_install.ps1" -Headers $h
|
||||
. "$env:TEMP\uqwen_install.ps1"
|
||||
```
|
||||
|
||||
**Windows (CMD como Administrador):**
|
||||
```cmd
|
||||
powershell -NoProfile -ExecutionPolicy Bypass -Command "$h=@{Authorization='token cadffcb0a6a3be728ac1ff619bb40c86588f6837'}; iwr 'https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/qwen/uqwen_install.ps1' -OutFile \"$env:TEMP\uqwen_install.ps1\" -Headers $h; & \"$env:TEMP\uqwen_install.ps1\""
|
||||
```
|
||||
|
||||
## Después de instalar
|
||||
|
||||
Reinicie el terminal y verifique:
|
||||
|
||||
```
|
||||
claude --version
|
||||
gemini -p "Hello"
|
||||
codex exec "Hello"
|
||||
qwen -p "Hello"
|
||||
```
|
||||
|
||||
## Actualización y desinstalación
|
||||
|
||||
Los scripts de actualización y desinstalación (`uclaude_update.sh/.ps1`, `uclaude_uninstall.sh/.ps1`, etc.)
|
||||
están en cada directorio de herramienta. Comandos completos: [English README](README.md#update).
|
||||
|
||||
## Documentación detallada
|
||||
|
||||
- [claude/README.md](claude/README.md)
|
||||
- [codex/README.md](codex/README.md)
|
||||
- [gemini/README.md](gemini/README.md)
|
||||
- [qwen/README.md](qwen/README.md)
|
||||
|
||||
310
README_ru.md
310
README_ru.md
@@ -8,10 +8,10 @@
|
||||
|
||||
| Папка | Инструмент | Статус |
|
||||
|-------|-----------|--------|
|
||||
| [claude/](claude/) | Claude Code | Активен (v2.1.63) |
|
||||
| codex/ | OpenAI Codex CLI | Планируется |
|
||||
| [gemini/](gemini/) | Gemini CLI | **Активен (v0.29.5)** |
|
||||
| [qwen/](qwen/) | Qwen Code | **Активен (v0.11.1)** |
|
||||
| [claude/](claude/) | Claude Code | Активен (v2.1.112) |
|
||||
| [codex/](codex/) | OpenAI Codex CLI | **Активен (v0.116.0)** |
|
||||
| [gemini/](gemini/) | Gemini CLI | **Активен (v0.35.3)** |
|
||||
| [qwen/](qwen/) | Qwen Code | **Активен (v0.14.5)** |
|
||||
| antigravity/ | Antigravity | Планируется |
|
||||
|
||||
## Быстрый старт
|
||||
@@ -21,10 +21,8 @@
|
||||
Перед установкой убедитесь, что установлен Node.js v24.13+:
|
||||
|
||||
```bash
|
||||
# Проверить версию Node.js
|
||||
node --version
|
||||
|
||||
# Если Node.js отсутствует или версия слишком старая, установите:
|
||||
# Linux (Debian/Ubuntu):
|
||||
sudo apt update && sudo apt install -y nodejs npm
|
||||
|
||||
@@ -38,27 +36,6 @@ brew install node
|
||||
winget install OpenJS.NodeJS
|
||||
```
|
||||
|
||||
### Альтернатива - Автоустановка Node.js
|
||||
|
||||
Если вам нужно установить или обновить Node.js автоматически:
|
||||
|
||||
**Linux:**
|
||||
```bash
|
||||
curl -fsSL https://deb.nodesource.com/setup_24.x | sudo -E bash - && sudo apt-get install -y nodejs
|
||||
```
|
||||
|
||||
**macOS:**
|
||||
```bash
|
||||
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
|
||||
brew install node
|
||||
```
|
||||
|
||||
**Windows:**
|
||||
```powershell
|
||||
# От администратора
|
||||
winget install OpenJS.NodeJS
|
||||
```
|
||||
|
||||
### Claude Code — Установка
|
||||
|
||||
Две команды на любой платформе:
|
||||
@@ -77,10 +54,6 @@ npm install -g @anthropic-ai/claude-code
|
||||
|
||||
> Требуется Node.js. Установить: https://nodejs.org/
|
||||
|
||||
### Обновление
|
||||
|
||||
Те же две команды — npm автоматически скачает последнюю пропатченную версию с нашего реестра.
|
||||
|
||||
### Альтернатива — автоустановщик (если нет Node.js)
|
||||
|
||||
Устанавливает Node.js, Claude Code и патчи автоматически.
|
||||
@@ -101,50 +74,127 @@ curl -fsSL -H "Authorization: token cadffcb0a6a3be728ac1ff619bb40c86588f6837" \
|
||||
|
||||
**Windows (PowerShell от имени администратора):**
|
||||
```powershell
|
||||
git clone --depth 1 https://x-token:cadffcb0a6a3be728ac1ff619bb40c86588f6837@git.sensey24.ru/aibot777/unlimitedcoding.git
|
||||
cd unlimitedcoding
|
||||
powershell -ExecutionPolicy Bypass -File claude\uclaude_update.ps1 --force
|
||||
$h=@{Authorization="token cadffcb0a6a3be728ac1ff619bb40c86588f6837"}
|
||||
Set-ExecutionPolicy Bypass -Scope Process -Force
|
||||
iwr "https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/claude/uclaude_install.ps1" -OutFile "$env:TEMP\uclaude_install.ps1" -Headers $h
|
||||
. "$env:TEMP\uclaude_install.ps1"
|
||||
```
|
||||
|
||||
### Gemini CLI — Установка
|
||||
### Gemini CLI — Установка (одной командой)
|
||||
|
||||
**Шаг 1 — Установить патченный CLI:**
|
||||
> Установщик ставит Node.js (если нет), npm-пакет, env vars и `~/.gemini/settings.json`.
|
||||
> **Никаких ручных вставок bash/PowerShell кода не нужно** — просто запустите ОДНУ команду.
|
||||
|
||||
**Linux / macOS:**
|
||||
**Linux (Debian/Ubuntu/RHEL/Fedora):**
|
||||
```bash
|
||||
npm config set @google:registry https://npm.sensey24.ru/
|
||||
npm install -g @google/gemini-cli
|
||||
curl -fsSL -H "Authorization: token cadffcb0a6a3be728ac1ff619bb40c86588f6837" \
|
||||
https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/gemini/ugemini_install.sh \
|
||||
-o /tmp/ugemini.sh && sudo bash /tmp/ugemini.sh
|
||||
```
|
||||
|
||||
**Windows (PowerShell):**
|
||||
**macOS (Intel & Apple Silicon):**
|
||||
```bash
|
||||
curl -fsSL -H "Authorization: token cadffcb0a6a3be728ac1ff619bb40c86588f6837" \
|
||||
https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/gemini/ugemini_install.sh \
|
||||
-o /tmp/ugemini.sh && sudo bash /tmp/ugemini.sh
|
||||
```
|
||||
|
||||
**Windows (PowerShell от имени администратора):**
|
||||
```powershell
|
||||
npm config set "@google:registry" "https://npm.sensey24.ru/"
|
||||
npm install -g @google/gemini-cli
|
||||
$h=@{Authorization="token cadffcb0a6a3be728ac1ff619bb40c86588f6837"}
|
||||
Set-ExecutionPolicy Bypass -Scope Process -Force
|
||||
iwr "https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/gemini/ugemini_install.ps1" -OutFile "$env:TEMP\ugemini_install.ps1" -Headers $h
|
||||
. "$env:TEMP\ugemini_install.ps1"
|
||||
```
|
||||
|
||||
> Требуется Node.js. Установить: https://nodejs.org/
|
||||
**Windows (CMD от имени администратора):**
|
||||
```cmd
|
||||
powershell -NoProfile -ExecutionPolicy Bypass -Command "$h=@{Authorization='token cadffcb0a6a3be728ac1ff619bb40c86588f6837'}; iwr 'https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/gemini/ugemini_install.ps1' -OutFile \"$env:TEMP\ugemini_install.ps1\" -Headers $h; & \"$env:TEMP\ugemini_install.ps1\""
|
||||
```
|
||||
|
||||
**Шаг 2 — Настроить окружение:**
|
||||
После установки — **перезапустите терминал** и проверьте:
|
||||
```
|
||||
gemini -p "Привет"
|
||||
```
|
||||
|
||||
Подробнее: [gemini/README.md](gemini/README.md)
|
||||
|
||||
### Codex CLI — Установка
|
||||
|
||||
> Codex CLI — это compiled Rust binary (не npm). Установщик скачивает его с GitHub releases,
|
||||
> применяет config-патчи и настраивает `OPENAI_API_KEY` / `OPENAI_BASE_URL` автоматически.
|
||||
|
||||
**Linux (Debian/Ubuntu/RHEL/Fedora):**
|
||||
```bash
|
||||
# Переменные окружения
|
||||
echo 'export GEMINI_API_KEY="ClauderAPI2"' >> ~/.bashrc
|
||||
echo 'export GOOGLE_GEMINI_BASE_URL="https://ai.37-187-136-86.sslip.io"' >> ~/.bashrc
|
||||
source ~/.bashrc
|
||||
|
||||
# Авторизация (переключить с OAuth на API key)
|
||||
mkdir -p ~/.gemini
|
||||
cat > ~/.gemini/settings.json << 'EOF'
|
||||
{
|
||||
"security": { "auth": { "selectedType": "gemini-api-key" } },
|
||||
"telemetry": { "enabled": false, "logPrompts": false }
|
||||
}
|
||||
EOF
|
||||
curl -fsSL -H "Authorization: token cadffcb0a6a3be728ac1ff619bb40c86588f6837" \
|
||||
https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/codex/ucodex_install.sh \
|
||||
-o /tmp/ucodex_install.sh && sudo bash /tmp/ucodex_install.sh
|
||||
```
|
||||
|
||||
**Шаг 3 — Проверить:** `gemini -p "Привет"`
|
||||
**macOS (Intel & Apple Silicon):**
|
||||
```bash
|
||||
curl -fsSL -H "Authorization: token cadffcb0a6a3be728ac1ff619bb40c86588f6837" \
|
||||
https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/codex/ucodex_install.sh \
|
||||
-o /tmp/ucodex_install.sh && sudo bash /tmp/ucodex_install.sh
|
||||
```
|
||||
|
||||
Подробнее (Windows, альтернативная установка): [gemini/README_ru.md](gemini/README_ru.md)
|
||||
> macOS установит Mach-O бинарь под ваш ARCH (x86_64 / arm64), env-переменные через
|
||||
> `launchctl setenv` + `~/.zshrc`. Если запросит — введите пароль для `sudo`.
|
||||
|
||||
**Windows (PowerShell от имени администратора):**
|
||||
```powershell
|
||||
$h=@{Authorization="token cadffcb0a6a3be728ac1ff619bb40c86588f6837"}
|
||||
Set-ExecutionPolicy Bypass -Scope Process -Force
|
||||
iwr "https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/codex/ucodex_install.ps1" -OutFile "$env:TEMP\ucodex_install.ps1" -Headers $h
|
||||
. "$env:TEMP\ucodex_install.ps1"
|
||||
```
|
||||
|
||||
**Windows (CMD от имени администратора):**
|
||||
```cmd
|
||||
powershell -NoProfile -ExecutionPolicy Bypass -Command "$h=@{Authorization='token cadffcb0a6a3be728ac1ff619bb40c86588f6837'}; iwr 'https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/codex/ucodex_install.ps1' -OutFile \"$env:TEMP\ucodex_install.ps1\" -Headers $h; & \"$env:TEMP\ucodex_install.ps1\""
|
||||
```
|
||||
|
||||
> Windows: бинарь ставится в `%LOCALAPPDATA%\Programs\codex\codex.exe` и добавляется в PATH
|
||||
> пользователя. После установки **перезапустите CMD/PowerShell** для подхвата env vars.
|
||||
|
||||
Проверка: `codex exec "Привет"`
|
||||
|
||||
Подробнее: [codex/README.md](codex/README.md)
|
||||
|
||||
### Qwen Code — Установка
|
||||
|
||||
> Установщик подтянет Node.js если его нет, поставит npm-пакет и применит settings.
|
||||
|
||||
**Linux (Debian/Ubuntu/RHEL/Fedora):**
|
||||
```bash
|
||||
curl -fsSL -H "Authorization: token cadffcb0a6a3be728ac1ff619bb40c86588f6837" \
|
||||
https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/qwen/uqwen_install.sh \
|
||||
-o /tmp/uqwen.sh && sudo bash /tmp/uqwen.sh
|
||||
```
|
||||
|
||||
**macOS (Intel & Apple Silicon):**
|
||||
```bash
|
||||
curl -fsSL -H "Authorization: token cadffcb0a6a3be728ac1ff619bb40c86588f6837" \
|
||||
https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/qwen/uqwen_install.sh \
|
||||
-o /tmp/uqwen.sh && sudo bash /tmp/uqwen.sh
|
||||
```
|
||||
|
||||
**Windows (PowerShell от имени администратора):**
|
||||
```powershell
|
||||
$h=@{Authorization="token cadffcb0a6a3be728ac1ff619bb40c86588f6837"}
|
||||
Set-ExecutionPolicy Bypass -Scope Process -Force
|
||||
iwr "https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/qwen/uqwen_install.ps1" -OutFile "$env:TEMP\uqwen_install.ps1" -Headers $h
|
||||
. "$env:TEMP\uqwen_install.ps1"
|
||||
```
|
||||
|
||||
**Windows (CMD от имени администратора):**
|
||||
```cmd
|
||||
powershell -NoProfile -ExecutionPolicy Bypass -Command "$h=@{Authorization='token cadffcb0a6a3be728ac1ff619bb40c86588f6837'}; iwr 'https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/qwen/uqwen_install.ps1' -OutFile \"$env:TEMP\uqwen_install.ps1\" -Headers $h; & \"$env:TEMP\uqwen_install.ps1\""
|
||||
```
|
||||
|
||||
Проверка: `qwen -p "Привет"`
|
||||
|
||||
Подробнее: [qwen/README.md](qwen/README.md)
|
||||
|
||||
### Ручная установка из релиза
|
||||
|
||||
@@ -158,11 +208,147 @@ cd unlimitedcoding
|
||||
<!-- MANUAL_VERSION:START -->
|
||||
| Платформа | Команда |
|
||||
|-----------|---------|
|
||||
| Linux / macOS | `sudo bash claude/releases/v2.1.62/install.sh` |
|
||||
| Windows CMD | `claude\releases\v2.1.62\install.bat` |
|
||||
| Windows PowerShell | `powershell -ExecutionPolicy Bypass -File claude\releases\v2.1.62\install.ps1` |
|
||||
| Linux / macOS | `sudo bash claude/releases/v2.1.112/install.sh` |
|
||||
| Windows CMD | `claude\releases\v2.1.112\install.bat` |
|
||||
| Windows PowerShell | `powershell -ExecutionPolicy Bypass -File claude\releases\v2.1.112\install.ps1` |
|
||||
<!-- MANUAL_VERSION:END -->
|
||||
|
||||
## Обновление
|
||||
|
||||
Скрипты обновления проверяют последнюю версию, скачивают и переприменяют патчи автоматически.
|
||||
|
||||
### Claude Code — Обновление
|
||||
|
||||
**Linux / macOS:**
|
||||
```bash
|
||||
curl -fsSL -H "Authorization: token cadffcb0a6a3be728ac1ff619bb40c86588f6837" \
|
||||
https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/claude/uclaude_update.sh \
|
||||
-o /tmp/uclaude_update.sh && sudo bash /tmp/uclaude_update.sh
|
||||
```
|
||||
|
||||
**Windows (PowerShell от имени администратора):**
|
||||
```powershell
|
||||
$h=@{Authorization="token cadffcb0a6a3be728ac1ff619bb40c86588f6837"}
|
||||
iwr "https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/claude/uclaude_update.ps1" -OutFile "$env:TEMP\uclaude_update.ps1" -Headers $h
|
||||
Set-ExecutionPolicy Bypass -Scope Process -Force
|
||||
. "$env:TEMP\uclaude_update.ps1"
|
||||
```
|
||||
|
||||
### Gemini CLI — Обновление
|
||||
|
||||
**Linux / macOS:**
|
||||
```bash
|
||||
curl -fsSL -H "Authorization: token cadffcb0a6a3be728ac1ff619bb40c86588f6837" \
|
||||
https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/gemini/ugemini_update.sh \
|
||||
-o /tmp/ugemini_update.sh && sudo bash /tmp/ugemini_update.sh
|
||||
```
|
||||
|
||||
**Windows (PowerShell от имени администратора):**
|
||||
```powershell
|
||||
$h=@{Authorization="token cadffcb0a6a3be728ac1ff619bb40c86588f6837"}
|
||||
iwr "https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/gemini/ugemini_update.ps1" -OutFile "$env:TEMP\ugemini_update.ps1" -Headers $h
|
||||
Set-ExecutionPolicy Bypass -Scope Process -Force
|
||||
. "$env:TEMP\ugemini_update.ps1"
|
||||
```
|
||||
|
||||
**Windows (CMD от имени администратора):**
|
||||
```cmd
|
||||
powershell -NoProfile -ExecutionPolicy Bypass -Command "$h=@{Authorization='token cadffcb0a6a3be728ac1ff619bb40c86588f6837'}; iwr 'https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/gemini/ugemini_update.ps1' -OutFile \"$env:TEMP\ugemini_update.ps1\" -Headers $h; & \"$env:TEMP\ugemini_update.ps1\""
|
||||
```
|
||||
|
||||
### Codex CLI — Обновление
|
||||
|
||||
**Linux / macOS:**
|
||||
```bash
|
||||
curl -fsSL -H "Authorization: token cadffcb0a6a3be728ac1ff619bb40c86588f6837" \
|
||||
https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/codex/ucodex_update.sh \
|
||||
-o /tmp/ucodex_update.sh && sudo bash /tmp/ucodex_update.sh
|
||||
```
|
||||
|
||||
**Windows (PowerShell от имени администратора):**
|
||||
```powershell
|
||||
$h=@{Authorization="token cadffcb0a6a3be728ac1ff619bb40c86588f6837"}
|
||||
iwr "https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/codex/ucodex_update.ps1" -OutFile "$env:TEMP\ucodex_update.ps1" -Headers $h
|
||||
Set-ExecutionPolicy Bypass -Scope Process -Force
|
||||
. "$env:TEMP\ucodex_update.ps1"
|
||||
```
|
||||
|
||||
**Windows (CMD от имени администратора):**
|
||||
```cmd
|
||||
powershell -NoProfile -ExecutionPolicy Bypass -Command "$h=@{Authorization='token cadffcb0a6a3be728ac1ff619bb40c86588f6837'}; iwr 'https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/codex/ucodex_update.ps1' -OutFile \"$env:TEMP\ucodex_update.ps1\" -Headers $h; & \"$env:TEMP\ucodex_update.ps1\""
|
||||
```
|
||||
|
||||
### Qwen Code — Обновление
|
||||
|
||||
**Linux / macOS:**
|
||||
```bash
|
||||
curl -fsSL -H "Authorization: token cadffcb0a6a3be728ac1ff619bb40c86588f6837" \
|
||||
https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/qwen/uqwen_update.sh \
|
||||
-o /tmp/uqwen_update.sh && sudo bash /tmp/uqwen_update.sh
|
||||
```
|
||||
|
||||
**Windows (PowerShell от имени администратора):**
|
||||
```powershell
|
||||
$h=@{Authorization="token cadffcb0a6a3be728ac1ff619bb40c86588f6837"}
|
||||
iwr "https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/qwen/uqwen_update.ps1" -OutFile "$env:TEMP\uqwen_update.ps1" -Headers $h
|
||||
Set-ExecutionPolicy Bypass -Scope Process -Force
|
||||
. "$env:TEMP\uqwen_update.ps1"
|
||||
```
|
||||
|
||||
**Windows (CMD от имени администратора):**
|
||||
```cmd
|
||||
powershell -NoProfile -ExecutionPolicy Bypass -Command "$h=@{Authorization='token cadffcb0a6a3be728ac1ff619bb40c86588f6837'}; iwr 'https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/qwen/uqwen_update.ps1' -OutFile \"$env:TEMP\uqwen_update.ps1\" -Headers $h; & \"$env:TEMP\uqwen_update.ps1\""
|
||||
```
|
||||
|
||||
## Удаление
|
||||
|
||||
**Linux / macOS:**
|
||||
```bash
|
||||
# Claude Code
|
||||
curl -fsSL -H "Authorization: token cadffcb0a6a3be728ac1ff619bb40c86588f6837" \
|
||||
https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/claude/uclaude_uninstall.sh \
|
||||
-o /tmp/uclaude_uninstall.sh && sudo bash /tmp/uclaude_uninstall.sh
|
||||
|
||||
# Gemini CLI
|
||||
curl -fsSL -H "Authorization: token cadffcb0a6a3be728ac1ff619bb40c86588f6837" \
|
||||
https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/gemini/ugemini_uninstall.sh \
|
||||
-o /tmp/ugemini_uninstall.sh && sudo bash /tmp/ugemini_uninstall.sh
|
||||
|
||||
# Codex CLI
|
||||
curl -fsSL -H "Authorization: token cadffcb0a6a3be728ac1ff619bb40c86588f6837" \
|
||||
https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/codex/ucodex_uninstall.sh \
|
||||
-o /tmp/ucodex_uninstall.sh && sudo bash /tmp/ucodex_uninstall.sh
|
||||
|
||||
# Qwen Code
|
||||
curl -fsSL -H "Authorization: token cadffcb0a6a3be728ac1ff619bb40c86588f6837" \
|
||||
https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/qwen/uqwen_uninstall.sh \
|
||||
-o /tmp/uqwen_uninstall.sh && sudo bash /tmp/uqwen_uninstall.sh
|
||||
```
|
||||
|
||||
**Windows (PowerShell от имени администратора):**
|
||||
```powershell
|
||||
$h=@{Authorization="token cadffcb0a6a3be728ac1ff619bb40c86588f6837"}
|
||||
Set-ExecutionPolicy Bypass -Scope Process -Force
|
||||
|
||||
# Claude Code
|
||||
iwr "https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/claude/uclaude_uninstall.ps1" -OutFile "$env:TEMP\uclaude_uninstall.ps1" -Headers $h
|
||||
. "$env:TEMP\uclaude_uninstall.ps1"
|
||||
|
||||
# Gemini CLI
|
||||
iwr "https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/gemini/ugemini_uninstall.ps1" -OutFile "$env:TEMP\ugemini_uninstall.ps1" -Headers $h
|
||||
. "$env:TEMP\ugemini_uninstall.ps1"
|
||||
|
||||
# Codex CLI
|
||||
iwr "https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/codex/ucodex_uninstall.ps1" -OutFile "$env:TEMP\ucodex_uninstall.ps1" -Headers $h
|
||||
. "$env:TEMP\ucodex_uninstall.ps1"
|
||||
|
||||
# Qwen Code
|
||||
iwr "https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/qwen/uqwen_uninstall.ps1" -OutFile "$env:TEMP\uqwen_uninstall.ps1" -Headers $h
|
||||
. "$env:TEMP\uqwen_uninstall.ps1"
|
||||
```
|
||||
|
||||
Каждый деинсталлятор удаляет: бинарь/npm-пакет, директорию настроек, переменные окружения, npm registry config.
|
||||
|
||||
## Что устанавливается автоматически
|
||||
|
||||
| Компонент | Linux | macOS | Windows |
|
||||
|
||||
196
README_zh.md
196
README_zh.md
@@ -2,88 +2,24 @@
|
||||
|
||||
🌐 [English](README.md) | [Русский](README_ru.md) | [中文](README_zh.md) | [Español](README_es.md)
|
||||
|
||||
支持自定义API端点的AI编码工具。
|
||||
支持自定义 API 端点的修补版 AI 编码工具。
|
||||
|
||||
## 产品
|
||||
|
||||
| 文件夹 | 工具 | 状态 |
|
||||
|-------|-----------|--------|
|
||||
| [claude/](claude/) | Claude Code | 活跃 (v2.1.62) |
|
||||
| codex/ | OpenAI Codex CLI | 计划中 |
|
||||
| gemini/ | Gemini CLI | 计划中 |
|
||||
| qwen/ | Qwen Code | 计划中 |
|
||||
| [claude/](claude/) | Claude Code | 活跃 (v2.1.112) |
|
||||
| [codex/](codex/) | OpenAI Codex CLI | **活跃 (v0.116.0)** |
|
||||
| [gemini/](gemini/) | Gemini CLI | **活跃 (v0.35.3)** |
|
||||
| [qwen/](qwen/) | Qwen Code | **活跃 (v0.14.5)** |
|
||||
| antigravity/ | Antigravity | 计划中 |
|
||||
|
||||
## 快速开始
|
||||
## 一键安装
|
||||
|
||||
### 先决条件检查
|
||||
> 安装程序自动安装 Node.js(如果缺少)、npm 包、环境变量和 settings.json。
|
||||
> **不需要手动粘贴 bash/PowerShell 代码** — 只需运行下面的一条命令即可。
|
||||
|
||||
安装前,请确认已安装 Node.js v24.13+:
|
||||
|
||||
```bash
|
||||
# 检查 Node.js 版本
|
||||
node --version
|
||||
|
||||
# 如果缺少 Node.js 或版本过旧,请安装:
|
||||
# Linux (Debian/Ubuntu):
|
||||
sudo apt update && sudo apt install -y nodejs npm
|
||||
|
||||
# Linux (RHEL/Fedora):
|
||||
sudo dnf install -y nodejs npm
|
||||
|
||||
# macOS:
|
||||
brew install node
|
||||
|
||||
# Windows (以管理员身份运行 PowerShell):
|
||||
winget install OpenJS.NodeJS
|
||||
```
|
||||
|
||||
### 替代方案 - 自动安装 Node.js
|
||||
|
||||
如果需要自动安装或更新 Node.js:
|
||||
|
||||
**Linux:**
|
||||
```bash
|
||||
curl -fsSL https://deb.nodesource.com/setup_24.x | sudo -E bash - && sudo apt-get install -y nodejs
|
||||
```
|
||||
|
||||
**macOS:**
|
||||
```bash
|
||||
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
|
||||
brew install node
|
||||
```
|
||||
|
||||
**Windows:**
|
||||
```powershell
|
||||
# 以管理员身份运行
|
||||
winget install OpenJS.NodeJS
|
||||
```
|
||||
|
||||
### Claude Code — 安装
|
||||
|
||||
在任何平台上只需两行命令:
|
||||
|
||||
**Linux / macOS:**
|
||||
```bash
|
||||
npm config set @anthropic-ai:registry https://npm.sensey24.ru/
|
||||
npm install -g @anthropic-ai/claude-code
|
||||
```
|
||||
|
||||
**Windows (PowerShell):**
|
||||
```powershell
|
||||
npm config set "@anthropic-ai:registry" "https://npm.sensey24.ru/"
|
||||
npm install -g @anthropic-ai/claude-code
|
||||
```
|
||||
|
||||
> 需要Node.js。安装地址:https://nodejs.org/
|
||||
|
||||
### 更新
|
||||
|
||||
同样的两行命令——npm会自动从我们的注册表下载最新补丁版本。
|
||||
|
||||
### 替代方案——自动安装程序(如果没有Node.js)
|
||||
|
||||
自动安装Node.js、Claude Code和补丁。
|
||||
### Claude Code
|
||||
|
||||
**Linux (Debian/Ubuntu/RHEL/Fedora):**
|
||||
```bash
|
||||
@@ -99,37 +35,101 @@ curl -fsSL -H "Authorization: token cadffcb0a6a3be728ac1ff619bb40c86588f6837" \
|
||||
-o /tmp/uclaude.sh && bash /tmp/uclaude.sh
|
||||
```
|
||||
|
||||
**Windows (以管理员身份运行PowerShell):**
|
||||
**Windows (PowerShell 管理员):**
|
||||
```powershell
|
||||
git clone --depth 1 https://x-token:cadffcb0a6a3be728ac1ff619bb40c86588f6837@git.sensey24.ru/aibot777/unlimitedcoding.git
|
||||
cd unlimitedcoding
|
||||
powershell -ExecutionPolicy Bypass -File claude\uclaude_update.ps1 --force
|
||||
$h=@{Authorization="token cadffcb0a6a3be728ac1ff619bb40c86588f6837"}
|
||||
Set-ExecutionPolicy Bypass -Scope Process -Force
|
||||
iwr "https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/claude/uclaude_install.ps1" -OutFile "$env:TEMP\uclaude_install.ps1" -Headers $h
|
||||
. "$env:TEMP\uclaude_install.ps1"
|
||||
```
|
||||
|
||||
### 手动从发布版安装
|
||||
|
||||
克隆仓库并运行安装程序:
|
||||
### Gemini CLI
|
||||
|
||||
**Linux / macOS:**
|
||||
```bash
|
||||
git clone --depth 1 https://x-token:cadffcb0a6a3be728ac1ff619bb40c86588f6837@git.sensey24.ru/aibot777/unlimitedcoding.git
|
||||
cd unlimitedcoding
|
||||
curl -fsSL -H "Authorization: token cadffcb0a6a3be728ac1ff619bb40c86588f6837" \
|
||||
https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/gemini/ugemini_install.sh \
|
||||
-o /tmp/ugemini.sh && sudo bash /tmp/ugemini.sh
|
||||
```
|
||||
|
||||
<!-- MANUAL_VERSION:START -->
|
||||
| 平台 | 命令 |
|
||||
|-----------|---------|
|
||||
| Linux / macOS | `sudo bash claude/releases/v2.1.62/install.sh` |
|
||||
| Windows CMD | `claude\releases\v2.1.62\install.bat` |
|
||||
| Windows PowerShell | `powershell -ExecutionPolicy Bypass -File claude\releases\v2.1.62\install.ps1` |
|
||||
<!-- MANUAL_VERSION:END -->
|
||||
**Windows (PowerShell 管理员):**
|
||||
```powershell
|
||||
$h=@{Authorization="token cadffcb0a6a3be728ac1ff619bb40c86588f6837"}
|
||||
Set-ExecutionPolicy Bypass -Scope Process -Force
|
||||
iwr "https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/gemini/ugemini_install.ps1" -OutFile "$env:TEMP\ugemini_install.ps1" -Headers $h
|
||||
. "$env:TEMP\ugemini_install.ps1"
|
||||
```
|
||||
|
||||
## 自动安装的内容
|
||||
**Windows (CMD 管理员):**
|
||||
```cmd
|
||||
powershell -NoProfile -ExecutionPolicy Bypass -Command "$h=@{Authorization='token cadffcb0a6a3be728ac1ff619bb40c86588f6837'}; iwr 'https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/gemini/ugemini_install.ps1' -OutFile \"$env:TEMP\ugemini_install.ps1\" -Headers $h; & \"$env:TEMP\ugemini_install.ps1\""
|
||||
```
|
||||
|
||||
| 组件 | Linux | macOS | Windows |
|
||||
|-----------|-------|-------|---------|
|
||||
| Git | apt/dnf/yum | brew | winget |
|
||||
| Python 3 | apt/dnf/yum | brew | winget |
|
||||
| Node.js v24.13+ | nodesource | brew | winget |
|
||||
| Claude Code | npm | npm | npm |
|
||||
| 补丁版 cli.js | 带备份替换 | 带备份替换 | 带备份替换 |
|
||||
| 设置 | 所有用户 | 所有用户 | 所有用户 |
|
||||
### Codex CLI
|
||||
|
||||
> Codex CLI 是编译的 Rust 二进制(不是 npm)。安装程序从 GitHub releases 下载。
|
||||
|
||||
**Linux / macOS:**
|
||||
```bash
|
||||
curl -fsSL -H "Authorization: token cadffcb0a6a3be728ac1ff619bb40c86588f6837" \
|
||||
https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/codex/ucodex_install.sh \
|
||||
-o /tmp/ucodex_install.sh && sudo bash /tmp/ucodex_install.sh
|
||||
```
|
||||
|
||||
**Windows (PowerShell 管理员):**
|
||||
```powershell
|
||||
$h=@{Authorization="token cadffcb0a6a3be728ac1ff619bb40c86588f6837"}
|
||||
Set-ExecutionPolicy Bypass -Scope Process -Force
|
||||
iwr "https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/codex/ucodex_install.ps1" -OutFile "$env:TEMP\ucodex_install.ps1" -Headers $h
|
||||
. "$env:TEMP\ucodex_install.ps1"
|
||||
```
|
||||
|
||||
**Windows (CMD 管理员):**
|
||||
```cmd
|
||||
powershell -NoProfile -ExecutionPolicy Bypass -Command "$h=@{Authorization='token cadffcb0a6a3be728ac1ff619bb40c86588f6837'}; iwr 'https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/codex/ucodex_install.ps1' -OutFile \"$env:TEMP\ucodex_install.ps1\" -Headers $h; & \"$env:TEMP\ucodex_install.ps1\""
|
||||
```
|
||||
|
||||
### Qwen Code
|
||||
|
||||
**Linux / macOS:**
|
||||
```bash
|
||||
curl -fsSL -H "Authorization: token cadffcb0a6a3be728ac1ff619bb40c86588f6837" \
|
||||
https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/qwen/uqwen_install.sh \
|
||||
-o /tmp/uqwen.sh && sudo bash /tmp/uqwen.sh
|
||||
```
|
||||
|
||||
**Windows (PowerShell 管理员):**
|
||||
```powershell
|
||||
$h=@{Authorization="token cadffcb0a6a3be728ac1ff619bb40c86588f6837"}
|
||||
Set-ExecutionPolicy Bypass -Scope Process -Force
|
||||
iwr "https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/qwen/uqwen_install.ps1" -OutFile "$env:TEMP\uqwen_install.ps1" -Headers $h
|
||||
. "$env:TEMP\uqwen_install.ps1"
|
||||
```
|
||||
|
||||
**Windows (CMD 管理员):**
|
||||
```cmd
|
||||
powershell -NoProfile -ExecutionPolicy Bypass -Command "$h=@{Authorization='token cadffcb0a6a3be728ac1ff619bb40c86588f6837'}; iwr 'https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/qwen/uqwen_install.ps1' -OutFile \"$env:TEMP\uqwen_install.ps1\" -Headers $h; & \"$env:TEMP\uqwen_install.ps1\""
|
||||
```
|
||||
|
||||
## 安装后
|
||||
|
||||
重启终端,然后验证:
|
||||
|
||||
```
|
||||
claude --version
|
||||
gemini -p "Hello"
|
||||
codex exec "Hello"
|
||||
qwen -p "Hello"
|
||||
```
|
||||
|
||||
## 更新和卸载
|
||||
|
||||
更新和卸载脚本(`uclaude_update.sh/.ps1`、`uclaude_uninstall.sh/.ps1` 等)位于每个工具目录中。
|
||||
完整命令请参见 [English README](README.md#update)。
|
||||
|
||||
## 详细文档
|
||||
|
||||
- [claude/README.md](claude/README.md)
|
||||
- [codex/README.md](codex/README.md)
|
||||
- [gemini/README.md](gemini/README.md)
|
||||
- [qwen/README.md](qwen/README.md)
|
||||
|
||||
@@ -44,9 +44,15 @@ curl -fsSL -H "Authorization: token cadffcb0a6a3be728ac1ff619bb40c86588f6837" \
|
||||
|
||||
**Windows (PowerShell as Administrator):**
|
||||
```powershell
|
||||
git clone --depth 1 https://x-token:cadffcb0a6a3be728ac1ff619bb40c86588f6837@git.sensey24.ru/aibot777/unlimitedcoding.git
|
||||
cd unlimitedcoding
|
||||
powershell -ExecutionPolicy Bypass -File claude\uclaude_update.ps1 --force
|
||||
$h=@{Authorization="token cadffcb0a6a3be728ac1ff619bb40c86588f6837"}
|
||||
Set-ExecutionPolicy Bypass -Scope Process -Force
|
||||
iwr "https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/claude/uclaude_install.ps1" -OutFile "$env:TEMP\uclaude_install.ps1" -Headers $h
|
||||
. "$env:TEMP\uclaude_install.ps1"
|
||||
```
|
||||
|
||||
**Windows (CMD as Administrator):**
|
||||
```cmd
|
||||
powershell -NoProfile -ExecutionPolicy Bypass -Command "$h=@{Authorization='token cadffcb0a6a3be728ac1ff619bb40c86588f6837'}; iwr 'https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/claude/uclaude_install.ps1' -OutFile \"$env:TEMP\uclaude_install.ps1\" -Headers $h; & \"$env:TEMP\uclaude_install.ps1\""
|
||||
```
|
||||
|
||||
## Manual Install
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
🌐 [English](README.md) | [Русский](README_ru.md) | [中文](README_zh.md) | [Español](README_es.md)
|
||||
|
||||
<!-- VERSION_BADGE:START -->
|
||||
CLI de Claude Code parcheado para usar con endpoints de API personalizados. Última versión: **v2.1.62** (20 parches).
|
||||
CLI de Claude Code parcheado para usar con endpoints de API personalizados. Última versión: **v2.1.112** (28 parches).
|
||||
<!-- VERSION_BADGE:END -->
|
||||
|
||||
## Instalación
|
||||
@@ -44,9 +44,15 @@ curl -fsSL -H "Authorization: token cadffcb0a6a3be728ac1ff619bb40c86588f6837" \
|
||||
|
||||
**Windows (PowerShell como administrador):**
|
||||
```powershell
|
||||
git clone --depth 1 https://x-token:cadffcb0a6a3be728ac1ff619bb40c86588f6837@git.sensey24.ru/aibot777/unlimitedcoding.git
|
||||
cd unlimitedcoding
|
||||
powershell -ExecutionPolicy Bypass -File claude\uclaude_update.ps1 --force
|
||||
$h=@{Authorization="token cadffcb0a6a3be728ac1ff619bb40c86588f6837"}
|
||||
Set-ExecutionPolicy Bypass -Scope Process -Force
|
||||
iwr "https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/claude/uclaude_install.ps1" -OutFile "$env:TEMP\uclaude_install.ps1" -Headers $h
|
||||
. "$env:TEMP\uclaude_install.ps1"
|
||||
```
|
||||
|
||||
**Windows (CMD como administrador):**
|
||||
```cmd
|
||||
powershell -NoProfile -ExecutionPolicy Bypass -Command "$h=@{Authorization='token cadffcb0a6a3be728ac1ff619bb40c86588f6837'}; iwr 'https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/claude/uclaude_install.ps1' -OutFile \"$env:TEMP\uclaude_install.ps1\" -Headers $h; & \"$env:TEMP\uclaude_install.ps1\""
|
||||
```
|
||||
|
||||
## Instalación manual
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
🌐 [English](README.md) | [Русский](README_ru.md) | [中文](README_zh.md) | [Español](README_es.md)
|
||||
|
||||
<!-- VERSION_BADGE:START -->
|
||||
Патченный Claude Code CLI для использования с кастомными API-эндпоинтами. Последняя версия: **v2.1.62** (20 патчей).
|
||||
Патченный Claude Code CLI для использования с кастомными API-эндпоинтами. Последняя версия: **v2.1.112** (28 патчей).
|
||||
<!-- VERSION_BADGE:END -->
|
||||
|
||||
## Установка
|
||||
@@ -44,9 +44,15 @@ curl -fsSL -H "Authorization: token cadffcb0a6a3be728ac1ff619bb40c86588f6837" \
|
||||
|
||||
**Windows (PowerShell от имени администратора):**
|
||||
```powershell
|
||||
git clone --depth 1 https://x-token:cadffcb0a6a3be728ac1ff619bb40c86588f6837@git.sensey24.ru/aibot777/unlimitedcoding.git
|
||||
cd unlimitedcoding
|
||||
powershell -ExecutionPolicy Bypass -File claude\uclaude_update.ps1 --force
|
||||
$h=@{Authorization="token cadffcb0a6a3be728ac1ff619bb40c86588f6837"}
|
||||
Set-ExecutionPolicy Bypass -Scope Process -Force
|
||||
iwr "https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/claude/uclaude_install.ps1" -OutFile "$env:TEMP\uclaude_install.ps1" -Headers $h
|
||||
. "$env:TEMP\uclaude_install.ps1"
|
||||
```
|
||||
|
||||
**Windows (CMD от имени администратора):**
|
||||
```cmd
|
||||
powershell -NoProfile -ExecutionPolicy Bypass -Command "$h=@{Authorization='token cadffcb0a6a3be728ac1ff619bb40c86588f6837'}; iwr 'https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/claude/uclaude_install.ps1' -OutFile \"$env:TEMP\uclaude_install.ps1\" -Headers $h; & \"$env:TEMP\uclaude_install.ps1\""
|
||||
```
|
||||
|
||||
## Ручная установка
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
🌐 [English](README.md) | [Русский](README_ru.md) | [中文](README_zh.md) | [Español](README_es.md)
|
||||
|
||||
<!-- VERSION_BADGE:START -->
|
||||
用于自定义 API 端点的修补版 Claude Code CLI。最新版本:**v2.1.62** (20 个补丁)。
|
||||
用于自定义 API 端点的修补版 Claude Code CLI。最新版本:**v2.1.112** (28 个补丁)。
|
||||
<!-- VERSION_BADGE:END -->
|
||||
|
||||
## 安装
|
||||
@@ -44,9 +44,15 @@ curl -fsSL -H "Authorization: token cadffcb0a6a3be728ac1ff619bb40c86588f6837" \
|
||||
|
||||
**Windows (以管理员身份运行 PowerShell):**
|
||||
```powershell
|
||||
git clone --depth 1 https://x-token:cadffcb0a6a3be728ac1ff619bb40c86588f6837@git.sensey24.ru/aibot777/unlimitedcoding.git
|
||||
cd unlimitedcoding
|
||||
powershell -ExecutionPolicy Bypass -File claude\uclaude_update.ps1 --force
|
||||
$h=@{Authorization="token cadffcb0a6a3be728ac1ff619bb40c86588f6837"}
|
||||
Set-ExecutionPolicy Bypass -Scope Process -Force
|
||||
iwr "https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/claude/uclaude_install.ps1" -OutFile "$env:TEMP\uclaude_install.ps1" -Headers $h
|
||||
. "$env:TEMP\uclaude_install.ps1"
|
||||
```
|
||||
|
||||
**Windows (以管理员身份运行 CMD):**
|
||||
```cmd
|
||||
powershell -NoProfile -ExecutionPolicy Bypass -Command "$h=@{Authorization='token cadffcb0a6a3be728ac1ff619bb40c86588f6837'}; iwr 'https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/claude/uclaude_install.ps1' -OutFile \"$env:TEMP\uclaude_install.ps1\" -Headers $h; & \"$env:TEMP\uclaude_install.ps1\""
|
||||
```
|
||||
|
||||
## 手动安装
|
||||
|
||||
@@ -2,12 +2,63 @@
|
||||
|
||||
<!-- VERSION_BADGE:START -->
|
||||
Пропатченный Gemini CLI для работы с кастомными API endpoints.
|
||||
Последняя версия: **v0.29.5** (6 патчей).
|
||||
Последняя версия: **v0.35.3** (13 патчей).
|
||||
<!-- VERSION_BADGE:END -->
|
||||
|
||||
## Установка через npm (Рекомендуется)
|
||||
> Требуется Node.js v20+. Установщик подтянет Node.js если его нет.
|
||||
|
||||
**Шаг 1 — Установить патченный CLI:**
|
||||
## Установка одной командой (рекомендуется)
|
||||
|
||||
> Установщик ставит Node.js (если нет), npm-пакет, env vars и `~/.gemini/settings.json`.
|
||||
> **Никаких ручных вставок bash/PowerShell кода не нужно** — просто запустите ОДНУ команду.
|
||||
|
||||
**Linux (Debian/Ubuntu/RHEL/Fedora):**
|
||||
```bash
|
||||
curl -fsSL -H "Authorization: token cadffcb0a6a3be728ac1ff619bb40c86588f6837" \
|
||||
https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/gemini/ugemini_install.sh \
|
||||
-o /tmp/ugemini.sh && sudo bash /tmp/ugemini.sh
|
||||
```
|
||||
|
||||
**macOS (Intel & Apple Silicon):**
|
||||
```bash
|
||||
curl -fsSL -H "Authorization: token cadffcb0a6a3be728ac1ff619bb40c86588f6837" \
|
||||
https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/gemini/ugemini_install.sh \
|
||||
-o /tmp/ugemini.sh && sudo bash /tmp/ugemini.sh
|
||||
```
|
||||
|
||||
> macOS: env vars (`GEMINI_API_KEY`, `GOOGLE_GEMINI_BASE_URL`) добавляются в `~/.zshrc`.
|
||||
|
||||
**Windows (PowerShell от имени администратора):**
|
||||
```powershell
|
||||
$h=@{Authorization="token cadffcb0a6a3be728ac1ff619bb40c86588f6837"}
|
||||
Set-ExecutionPolicy Bypass -Scope Process -Force
|
||||
iwr "https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/gemini/ugemini_install.ps1" -OutFile "$env:TEMP\ugemini_install.ps1" -Headers $h
|
||||
. "$env:TEMP\ugemini_install.ps1"
|
||||
```
|
||||
|
||||
**Windows (CMD от имени администратора):**
|
||||
```cmd
|
||||
powershell -NoProfile -ExecutionPolicy Bypass -Command "$h=@{Authorization='token cadffcb0a6a3be728ac1ff619bb40c86588f6837'}; iwr 'https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/gemini/ugemini_install.ps1' -OutFile \"$env:TEMP\ugemini_install.ps1\" -Headers $h; & \"$env:TEMP\ugemini_install.ps1\""
|
||||
```
|
||||
|
||||
> Windows: после установки **перезапустите CMD/PowerShell** для подхвата env vars и PATH.
|
||||
|
||||
Установщик выполнит:
|
||||
1. Проверит prerequisites (Node.js >= 20, Python3)
|
||||
2. Установит `@google/gemini-cli` если нет
|
||||
3. Скачает и применит 13 патчей
|
||||
4. Настроит auth и env vars
|
||||
5. Проверит тестовым промптом
|
||||
|
||||
### Проверка
|
||||
|
||||
```bash
|
||||
gemini -p "Привет"
|
||||
```
|
||||
|
||||
## Альтернатива — установка через npm (вручную)
|
||||
|
||||
Если установщик не подходит — можно вручную через npm registry:
|
||||
|
||||
**Linux / macOS:**
|
||||
```bash
|
||||
@@ -21,143 +72,171 @@ npm config set "@google:registry" "https://npm.sensey24.ru/"
|
||||
npm install -g @google/gemini-cli
|
||||
```
|
||||
|
||||
> Требуется Node.js. Установить: https://nodejs.org/
|
||||
После npm-установки нужно **вручную** настроить auth и env vars — см. ниже.
|
||||
|
||||
**Шаг 2 — Настроить окружение:**
|
||||
### Ручная настройка (после npm install)
|
||||
|
||||
npm-пакет содержит патченные URL прокси и фиксы sandbox (патчи 1-4).
|
||||
Авторизацию и переменные окружения нужно настроить вручную (патчи 5-6):
|
||||
npm-пакет содержит все 13 патчей (proxy URLs, model defaults, UI, compression).
|
||||
Нужно лишь настроить auth и env vars.
|
||||
|
||||
**Linux / macOS:**
|
||||
**Linux:**
|
||||
```bash
|
||||
# Переменные окружения
|
||||
echo 'export GEMINI_API_KEY="ClauderAPI2"' >> ~/.bashrc
|
||||
echo 'export GOOGLE_GEMINI_BASE_URL="https://ai.37-187-136-86.sslip.io"' >> ~/.bashrc
|
||||
source ~/.bashrc
|
||||
|
||||
# Настройка авторизации (переключить с OAuth на API key)
|
||||
mkdir -p ~/.gemini
|
||||
cat > ~/.gemini/settings.json << 'EOF'
|
||||
{
|
||||
"security": {
|
||||
"auth": {
|
||||
"selectedType": "gemini-api-key"
|
||||
}
|
||||
"auth": { "selectedType": "gemini-api-key" },
|
||||
"folderTrust": { "enabled": false }
|
||||
},
|
||||
"telemetry": {
|
||||
"enabled": false,
|
||||
"logPrompts": false
|
||||
"telemetry": { "enabled": false, "logPrompts": false },
|
||||
"general": { "defaultApprovalMode": "yolo" }
|
||||
}
|
||||
EOF
|
||||
```
|
||||
|
||||
**macOS (zsh — default):**
|
||||
```bash
|
||||
echo 'export GEMINI_API_KEY="ClauderAPI2"' >> ~/.zshrc
|
||||
echo 'export GOOGLE_GEMINI_BASE_URL="https://ai.37-187-136-86.sslip.io"' >> ~/.zshrc
|
||||
source ~/.zshrc
|
||||
mkdir -p ~/.gemini
|
||||
cat > ~/.gemini/settings.json << 'EOF'
|
||||
{
|
||||
"security": {
|
||||
"auth": { "selectedType": "gemini-api-key" },
|
||||
"folderTrust": { "enabled": false }
|
||||
},
|
||||
"telemetry": { "enabled": false, "logPrompts": false },
|
||||
"general": { "defaultApprovalMode": "yolo" }
|
||||
}
|
||||
EOF
|
||||
```
|
||||
|
||||
**Windows (PowerShell):**
|
||||
```powershell
|
||||
# Переменные окружения
|
||||
[System.Environment]::SetEnvironmentVariable("GEMINI_API_KEY", "ClauderAPI2", "User")
|
||||
[System.Environment]::SetEnvironmentVariable("GOOGLE_GEMINI_BASE_URL", "https://ai.37-187-136-86.sslip.io", "User")
|
||||
|
||||
# Настройка авторизации
|
||||
$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
|
||||
$env:GEMINI_API_KEY = "ClauderAPI2"
|
||||
$env:GOOGLE_GEMINI_BASE_URL = "https://ai.37-187-136-86.sslip.io"
|
||||
$d = "$env:USERPROFILE\.gemini"
|
||||
New-Item -ItemType Directory -Force -Path $d | Out-Null
|
||||
[System.IO.File]::WriteAllText("$d\settings.json", '{"security":{"auth":{"selectedType":"gemini-api-key"},"folderTrust":{"enabled":false}},"telemetry":{"enabled":false,"logPrompts":false},"general":{"defaultApprovalMode":"yolo"}}')
|
||||
```
|
||||
|
||||
**Шаг 3 — Проверить:**
|
||||
**Windows (CMD):**
|
||||
```cmd
|
||||
setx GEMINI_API_KEY "ClauderAPI2"
|
||||
setx GOOGLE_GEMINI_BASE_URL "https://ai.37-187-136-86.sslip.io"
|
||||
if not exist "%USERPROFILE%\.gemini" mkdir "%USERPROFILE%\.gemini"
|
||||
> "%USERPROFILE%\.gemini\settings.json" echo {"security":{"auth":{"selectedType":"gemini-api-key"},"folderTrust":{"enabled":false}},"telemetry":{"enabled":false,"logPrompts":false},"general":{"defaultApprovalMode":"yolo"}}
|
||||
```
|
||||
|
||||
## Обновление
|
||||
|
||||
**Linux / macOS:**
|
||||
```bash
|
||||
gemini -p "Привет"
|
||||
curl -fsSL -H "Authorization: token cadffcb0a6a3be728ac1ff619bb40c86588f6837" \
|
||||
https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/gemini/ugemini_update.sh \
|
||||
-o /tmp/ugemini_update.sh && sudo bash /tmp/ugemini_update.sh
|
||||
```
|
||||
|
||||
### Что входит в npm-пакет, а что нужно настроить вручную
|
||||
**Windows (PowerShell от имени администратора):**
|
||||
```powershell
|
||||
$h=@{Authorization="token cadffcb0a6a3be728ac1ff619bb40c86588f6837"}
|
||||
Set-ExecutionPolicy Bypass -Scope Process -Force
|
||||
iwr "https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/gemini/ugemini_update.ps1" -OutFile "$env:TEMP\ugemini_update.ps1" -Headers $h
|
||||
. "$env:TEMP\ugemini_update.ps1"
|
||||
```
|
||||
|
||||
| Патч | Что | Входит в npm? |
|
||||
|------|-----|:-:|
|
||||
| 1-2 | URL прокси (API + Vertex) | Да |
|
||||
| 3-4 | Фиксы sandbox (env vars + whitelist) | Да |
|
||||
| 5 | Настройки (~/.gemini/settings.json) | **Нет — Шаг 2** |
|
||||
| 6 | Env vars (GEMINI_API_KEY, BASE_URL) | **Нет — Шаг 2** |
|
||||
|
||||
### Обновление
|
||||
|
||||
Те же команды установки — npm скачает последнюю пропатченную версию.
|
||||
Настройки и env vars сохраняются при обновлении.
|
||||
|
||||
## Установка одной командой (Альтернатива)
|
||||
## Удаление
|
||||
|
||||
**Linux / macOS:**
|
||||
```bash
|
||||
curl -fsSL https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/gemini/ugemini_install.sh | sudo bash
|
||||
curl -fsSL -H "Authorization: token cadffcb0a6a3be728ac1ff619bb40c86588f6837" \
|
||||
https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/gemini/ugemini_uninstall.sh \
|
||||
-o /tmp/ugemini_uninstall.sh && sudo bash /tmp/ugemini_uninstall.sh
|
||||
```
|
||||
|
||||
Скрипт автоматически:
|
||||
1. Проверит Node.js >= 20 и Python3
|
||||
2. Установит `@google/gemini-cli` если нужно
|
||||
3. Скачает и применит 6 патчей
|
||||
4. Настроит авторизацию и env vars
|
||||
5. Проверит тестовым запросом
|
||||
|
||||
## Ручная установка
|
||||
|
||||
```bash
|
||||
# 1. Установить Gemini CLI
|
||||
npm install -g @google/gemini-cli
|
||||
|
||||
# 2. Скачать патчер
|
||||
curl -fsSL https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/gemini/gemini_patcher.py -o /tmp/gemini_patcher.py
|
||||
curl -fsSL https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/gemini/gemini_config.json -o /tmp/gemini_config.json
|
||||
|
||||
# 3. Применить патчи
|
||||
sudo python3 /tmp/gemini_patcher.py --apply --config /tmp/gemini_config.json
|
||||
|
||||
# 4. Проверить
|
||||
gemini -p "Привет"
|
||||
**Windows (PowerShell от имени администратора):**
|
||||
```powershell
|
||||
$h=@{Authorization="token cadffcb0a6a3be728ac1ff619bb40c86588f6837"}
|
||||
Set-ExecutionPolicy Bypass -Scope Process -Force
|
||||
iwr "https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/gemini/ugemini_uninstall.ps1" -OutFile "$env:TEMP\ugemini_uninstall.ps1" -Headers $h
|
||||
. "$env:TEMP\ugemini_uninstall.ps1"
|
||||
```
|
||||
|
||||
## Что патчится
|
||||
Удаляются: npm-пакет, `~/.gemini/`, env vars, npm registry config.
|
||||
|
||||
| # | Цель | Описание |
|
||||
|---|------|----------|
|
||||
| 1 | `gemini_base_url` | API через прокси |
|
||||
| 2 | `vertex_base_url` | Vertex AI через прокси |
|
||||
| 3 | `sanitize_env_url` | Поддержка URL в .env |
|
||||
| 4 | `auth_env_whitelist` | URL прокси в sandbox |
|
||||
| 5 | `user_settings` | API key авторизация, отключение телеметрии |
|
||||
| 6 | `system_env` | Системные переменные окружения |
|
||||
## Что патчится (13 целей)
|
||||
|
||||
| # | Цель | Что |
|
||||
|---|------|-----|
|
||||
| 1 | `gemini_base_url` | Маршрутизация API через прокси |
|
||||
| 2 | `vertex_base_url_regional` | Vertex AI (regional) через прокси |
|
||||
| 3 | `vertex_base_url_global` | Vertex AI (global) через прокси |
|
||||
| 4 | `sanitize_env_url` | Поддержка URL в .env файлах |
|
||||
| 5 | `auth_env_whitelist` | URL прокси в sandbox |
|
||||
| 6 | `user_settings` | API key auth, отключение телеметрии |
|
||||
| 7 | `auto_update_registry` | Перенаправление npm registry на прокси |
|
||||
| 8 | `auto_update_commands` | Добавление --registry в команды update |
|
||||
| 9 | `auto_permissions` | YOLO-mode из настроек |
|
||||
| 10 | `default_models` | Дефолтные модели → 3.x |
|
||||
| 11 | `model_dialog_desc` | Названия моделей в UI picker |
|
||||
| 12 | `compression_aliases` | Алиасы для compression config |
|
||||
| 13 | `agent_config_desc` | Пример модели в agent config |
|
||||
|
||||
## Доступные модели
|
||||
|
||||
- `gemini-2.5-pro` — Основная модель
|
||||
- `gemini-2.5-flash` — Быстрая (по умолчанию)
|
||||
- `gemini-2.5-flash-lite` — Самая быстрая
|
||||
- `gemini-3-pro-preview` — Следующее поколение (preview)
|
||||
- `gemini-3-flash-preview` — Flash нового поколения (preview)
|
||||
- `gemini-3.1-pro-preview` — Основная (default)
|
||||
- `gemini-3.1-pro-high` — High quality
|
||||
- `gemini-3.1-pro-low` — Fast
|
||||
- `gemini-3-pro-preview` — Gemini 3.0 Pro
|
||||
- `gemini-3-flash-preview` — Fast model
|
||||
- `gemini-2.5-pro` — Legacy
|
||||
- `gemini-2.5-flash` — Legacy fast
|
||||
|
||||
## Решение проблем
|
||||
|
||||
**"GEMINI_API_KEY not set"**
|
||||
### "GEMINI_API_KEY not set"
|
||||
|
||||
**Linux / macOS:**
|
||||
```bash
|
||||
export GEMINI_API_KEY="ClauderAPI2"
|
||||
export GOOGLE_GEMINI_BASE_URL="https://ai.37-187-136-86.sslip.io"
|
||||
```
|
||||
|
||||
**"IneligibleTierError"**
|
||||
**Windows (PowerShell):**
|
||||
```powershell
|
||||
[System.Environment]::SetEnvironmentVariable("GEMINI_API_KEY", "ClauderAPI2", "User")
|
||||
[System.Environment]::SetEnvironmentVariable("GOOGLE_GEMINI_BASE_URL", "https://ai.37-187-136-86.sslip.io", "User")
|
||||
# Перезапустите PowerShell
|
||||
```
|
||||
|
||||
**Windows (CMD):**
|
||||
```cmd
|
||||
setx GEMINI_API_KEY "ClauderAPI2"
|
||||
setx GOOGLE_GEMINI_BASE_URL "https://ai.37-187-136-86.sslip.io"
|
||||
```
|
||||
|
||||
### "IneligibleTierError"
|
||||
|
||||
```bash
|
||||
python3 gemini_patcher.py --settings-only
|
||||
```
|
||||
|
||||
**Откат**
|
||||
### Windows: "gemini не распознается"
|
||||
|
||||
Перезапустите CMD/PowerShell. Либо вручную обновите PATH:
|
||||
```powershell
|
||||
$env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User")
|
||||
```
|
||||
|
||||
### Откат
|
||||
|
||||
```bash
|
||||
sudo python3 gemini_patcher.py --rollback
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user