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 |
|
| Carpeta | Herramienta | Estado |
|
||||||
|-------|-----------|--------|
|
|-------|-----------|--------|
|
||||||
| [claude/](claude/) | Claude Code | Activo (v2.1.62) |
|
| [claude/](claude/) | Claude Code | Activo (v2.1.112) |
|
||||||
| codex/ | OpenAI Codex CLI | Planeado |
|
| [codex/](codex/) | OpenAI Codex CLI | **Activo (v0.116.0)** |
|
||||||
| gemini/ | Gemini CLI | Planeado |
|
| [gemini/](gemini/) | Gemini CLI | **Activo (v0.35.3)** |
|
||||||
| qwen/ | Qwen Code | Planeado |
|
| [qwen/](qwen/) | Qwen Code | **Activo (v0.14.5)** |
|
||||||
| antigravity/ | Antigravity | Planeado |
|
| 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:
|
### Claude Code
|
||||||
|
|
||||||
```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.
|
|
||||||
|
|
||||||
**Linux (Debian/Ubuntu/RHEL/Fedora):**
|
**Linux (Debian/Ubuntu/RHEL/Fedora):**
|
||||||
```bash
|
```bash
|
||||||
@@ -99,37 +35,101 @@ curl -fsSL -H "Authorization: token cadffcb0a6a3be728ac1ff619bb40c86588f6837" \
|
|||||||
-o /tmp/uclaude.sh && bash /tmp/uclaude.sh
|
-o /tmp/uclaude.sh && bash /tmp/uclaude.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
**Windows (PowerShell como administrador):**
|
**Windows (PowerShell como Administrador):**
|
||||||
```powershell
|
```powershell
|
||||||
git clone --depth 1 https://x-token:cadffcb0a6a3be728ac1ff619bb40c86588f6837@git.sensey24.ru/aibot777/unlimitedcoding.git
|
$h=@{Authorization="token cadffcb0a6a3be728ac1ff619bb40c86588f6837"}
|
||||||
cd unlimitedcoding
|
Set-ExecutionPolicy Bypass -Scope Process -Force
|
||||||
powershell -ExecutionPolicy Bypass -File claude\uclaude_update.ps1 --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
|
### Gemini CLI
|
||||||
|
|
||||||
Clona el repositorio y ejecuta el instalador:
|
|
||||||
|
|
||||||
|
**Linux / macOS:**
|
||||||
```bash
|
```bash
|
||||||
git clone --depth 1 https://x-token:cadffcb0a6a3be728ac1ff619bb40c86588f6837@git.sensey24.ru/aibot777/unlimitedcoding.git
|
curl -fsSL -H "Authorization: token cadffcb0a6a3be728ac1ff619bb40c86588f6837" \
|
||||||
cd unlimitedcoding
|
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 -->
|
**Windows (PowerShell como Administrador):**
|
||||||
| Plataforma | Comando |
|
```powershell
|
||||||
|-----------|---------|
|
$h=@{Authorization="token cadffcb0a6a3be728ac1ff619bb40c86588f6837"}
|
||||||
| Linux / macOS | `sudo bash claude/releases/v2.1.62/install.sh` |
|
Set-ExecutionPolicy Bypass -Scope Process -Force
|
||||||
| Windows CMD | `claude\releases\v2.1.62\install.bat` |
|
iwr "https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/gemini/ugemini_install.ps1" -OutFile "$env:TEMP\ugemini_install.ps1" -Headers $h
|
||||||
| Windows PowerShell | `powershell -ExecutionPolicy Bypass -File claude\releases\v2.1.62\install.ps1` |
|
. "$env:TEMP\ugemini_install.ps1"
|
||||||
<!-- MANUAL_VERSION:END -->
|
```
|
||||||
|
|
||||||
## 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 |
|
### Codex CLI
|
||||||
|-----------|-------|-------|---------|
|
|
||||||
| Git | apt/dnf/yum | brew | winget |
|
> Codex CLI es un binario Rust compilado (no npm). El instalador lo descarga desde GitHub releases.
|
||||||
| Python 3 | apt/dnf/yum | brew | winget |
|
|
||||||
| Node.js v24.13+ | nodesource | brew | winget |
|
**Linux / macOS:**
|
||||||
| Claude Code | npm | npm | npm |
|
```bash
|
||||||
| cli.js parcheado | reemplazo con copia de seguridad | reemplazo con copia de seguridad | reemplazo con copia de seguridad |
|
curl -fsSL -H "Authorization: token cadffcb0a6a3be728ac1ff619bb40c86588f6837" \
|
||||||
| Configuraciones | todos los usuarios | todos los usuarios | todos los usuarios |
|
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) |
|
| [claude/](claude/) | Claude Code | Активен (v2.1.112) |
|
||||||
| codex/ | OpenAI Codex CLI | Планируется |
|
| [codex/](codex/) | OpenAI Codex CLI | **Активен (v0.116.0)** |
|
||||||
| [gemini/](gemini/) | Gemini CLI | **Активен (v0.29.5)** |
|
| [gemini/](gemini/) | Gemini CLI | **Активен (v0.35.3)** |
|
||||||
| [qwen/](qwen/) | Qwen Code | **Активен (v0.11.1)** |
|
| [qwen/](qwen/) | Qwen Code | **Активен (v0.14.5)** |
|
||||||
| antigravity/ | Antigravity | Планируется |
|
| antigravity/ | Antigravity | Планируется |
|
||||||
|
|
||||||
## Быстрый старт
|
## Быстрый старт
|
||||||
@@ -21,10 +21,8 @@
|
|||||||
Перед установкой убедитесь, что установлен Node.js v24.13+:
|
Перед установкой убедитесь, что установлен Node.js v24.13+:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Проверить версию Node.js
|
|
||||||
node --version
|
node --version
|
||||||
|
|
||||||
# Если Node.js отсутствует или версия слишком старая, установите:
|
|
||||||
# Linux (Debian/Ubuntu):
|
# Linux (Debian/Ubuntu):
|
||||||
sudo apt update && sudo apt install -y nodejs npm
|
sudo apt update && sudo apt install -y nodejs npm
|
||||||
|
|
||||||
@@ -38,27 +36,6 @@ brew install node
|
|||||||
winget install OpenJS.NodeJS
|
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 — Установка
|
### Claude Code — Установка
|
||||||
|
|
||||||
Две команды на любой платформе:
|
Две команды на любой платформе:
|
||||||
@@ -77,10 +54,6 @@ npm install -g @anthropic-ai/claude-code
|
|||||||
|
|
||||||
> Требуется Node.js. Установить: https://nodejs.org/
|
> Требуется Node.js. Установить: https://nodejs.org/
|
||||||
|
|
||||||
### Обновление
|
|
||||||
|
|
||||||
Те же две команды — npm автоматически скачает последнюю пропатченную версию с нашего реестра.
|
|
||||||
|
|
||||||
### Альтернатива — автоустановщик (если нет Node.js)
|
### Альтернатива — автоустановщик (если нет Node.js)
|
||||||
|
|
||||||
Устанавливает Node.js, Claude Code и патчи автоматически.
|
Устанавливает Node.js, Claude Code и патчи автоматически.
|
||||||
@@ -101,50 +74,127 @@ curl -fsSL -H "Authorization: token cadffcb0a6a3be728ac1ff619bb40c86588f6837" \
|
|||||||
|
|
||||||
**Windows (PowerShell от имени администратора):**
|
**Windows (PowerShell от имени администратора):**
|
||||||
```powershell
|
```powershell
|
||||||
git clone --depth 1 https://x-token:cadffcb0a6a3be728ac1ff619bb40c86588f6837@git.sensey24.ru/aibot777/unlimitedcoding.git
|
$h=@{Authorization="token cadffcb0a6a3be728ac1ff619bb40c86588f6837"}
|
||||||
cd unlimitedcoding
|
Set-ExecutionPolicy Bypass -Scope Process -Force
|
||||||
powershell -ExecutionPolicy Bypass -File claude\uclaude_update.ps1 --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
|
```bash
|
||||||
npm config set @google:registry https://npm.sensey24.ru/
|
curl -fsSL -H "Authorization: token cadffcb0a6a3be728ac1ff619bb40c86588f6837" \
|
||||||
npm install -g @google/gemini-cli
|
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
|
```powershell
|
||||||
npm config set "@google:registry" "https://npm.sensey24.ru/"
|
$h=@{Authorization="token cadffcb0a6a3be728ac1ff619bb40c86588f6837"}
|
||||||
npm install -g @google/gemini-cli
|
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
|
```bash
|
||||||
# Переменные окружения
|
curl -fsSL -H "Authorization: token cadffcb0a6a3be728ac1ff619bb40c86588f6837" \
|
||||||
echo 'export GEMINI_API_KEY="ClauderAPI2"' >> ~/.bashrc
|
https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/codex/ucodex_install.sh \
|
||||||
echo 'export GOOGLE_GEMINI_BASE_URL="https://ai.37-187-136-86.sslip.io"' >> ~/.bashrc
|
-o /tmp/ucodex_install.sh && sudo bash /tmp/ucodex_install.sh
|
||||||
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
|
|
||||||
```
|
```
|
||||||
|
|
||||||
**Шаг 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 -->
|
<!-- MANUAL_VERSION:START -->
|
||||||
| Платформа | Команда |
|
| Платформа | Команда |
|
||||||
|-----------|---------|
|
|-----------|---------|
|
||||||
| Linux / macOS | `sudo bash claude/releases/v2.1.62/install.sh` |
|
| Linux / macOS | `sudo bash claude/releases/v2.1.112/install.sh` |
|
||||||
| Windows CMD | `claude\releases\v2.1.62\install.bat` |
|
| Windows CMD | `claude\releases\v2.1.112\install.bat` |
|
||||||
| Windows PowerShell | `powershell -ExecutionPolicy Bypass -File claude\releases\v2.1.62\install.ps1` |
|
| Windows PowerShell | `powershell -ExecutionPolicy Bypass -File claude\releases\v2.1.112\install.ps1` |
|
||||||
<!-- MANUAL_VERSION:END -->
|
<!-- 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 |
|
| Компонент | 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)
|
🌐 [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) |
|
| [claude/](claude/) | Claude Code | 活跃 (v2.1.112) |
|
||||||
| codex/ | OpenAI Codex CLI | 计划中 |
|
| [codex/](codex/) | OpenAI Codex CLI | **活跃 (v0.116.0)** |
|
||||||
| gemini/ | Gemini CLI | 计划中 |
|
| [gemini/](gemini/) | Gemini CLI | **活跃 (v0.35.3)** |
|
||||||
| qwen/ | Qwen Code | 计划中 |
|
| [qwen/](qwen/) | Qwen Code | **活跃 (v0.14.5)** |
|
||||||
| antigravity/ | Antigravity | 计划中 |
|
| antigravity/ | Antigravity | 计划中 |
|
||||||
|
|
||||||
## 快速开始
|
## 一键安装
|
||||||
|
|
||||||
### 先决条件检查
|
> 安装程序自动安装 Node.js(如果缺少)、npm 包、环境变量和 settings.json。
|
||||||
|
> **不需要手动粘贴 bash/PowerShell 代码** — 只需运行下面的一条命令即可。
|
||||||
|
|
||||||
安装前,请确认已安装 Node.js v24.13+:
|
### Claude Code
|
||||||
|
|
||||||
```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和补丁。
|
|
||||||
|
|
||||||
**Linux (Debian/Ubuntu/RHEL/Fedora):**
|
**Linux (Debian/Ubuntu/RHEL/Fedora):**
|
||||||
```bash
|
```bash
|
||||||
@@ -99,37 +35,101 @@ curl -fsSL -H "Authorization: token cadffcb0a6a3be728ac1ff619bb40c86588f6837" \
|
|||||||
-o /tmp/uclaude.sh && bash /tmp/uclaude.sh
|
-o /tmp/uclaude.sh && bash /tmp/uclaude.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
**Windows (以管理员身份运行PowerShell):**
|
**Windows (PowerShell 管理员):**
|
||||||
```powershell
|
```powershell
|
||||||
git clone --depth 1 https://x-token:cadffcb0a6a3be728ac1ff619bb40c86588f6837@git.sensey24.ru/aibot777/unlimitedcoding.git
|
$h=@{Authorization="token cadffcb0a6a3be728ac1ff619bb40c86588f6837"}
|
||||||
cd unlimitedcoding
|
Set-ExecutionPolicy Bypass -Scope Process -Force
|
||||||
powershell -ExecutionPolicy Bypass -File claude\uclaude_update.ps1 --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
|
```bash
|
||||||
git clone --depth 1 https://x-token:cadffcb0a6a3be728ac1ff619bb40c86588f6837@git.sensey24.ru/aibot777/unlimitedcoding.git
|
curl -fsSL -H "Authorization: token cadffcb0a6a3be728ac1ff619bb40c86588f6837" \
|
||||||
cd unlimitedcoding
|
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 -->
|
**Windows (PowerShell 管理员):**
|
||||||
| 平台 | 命令 |
|
```powershell
|
||||||
|-----------|---------|
|
$h=@{Authorization="token cadffcb0a6a3be728ac1ff619bb40c86588f6837"}
|
||||||
| Linux / macOS | `sudo bash claude/releases/v2.1.62/install.sh` |
|
Set-ExecutionPolicy Bypass -Scope Process -Force
|
||||||
| Windows CMD | `claude\releases\v2.1.62\install.bat` |
|
iwr "https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/gemini/ugemini_install.ps1" -OutFile "$env:TEMP\ugemini_install.ps1" -Headers $h
|
||||||
| Windows PowerShell | `powershell -ExecutionPolicy Bypass -File claude\releases\v2.1.62\install.ps1` |
|
. "$env:TEMP\ugemini_install.ps1"
|
||||||
<!-- MANUAL_VERSION:END -->
|
```
|
||||||
|
|
||||||
## 自动安装的内容
|
**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 |
|
### Codex CLI
|
||||||
|-----------|-------|-------|---------|
|
|
||||||
| Git | apt/dnf/yum | brew | winget |
|
> Codex CLI 是编译的 Rust 二进制(不是 npm)。安装程序从 GitHub releases 下载。
|
||||||
| Python 3 | apt/dnf/yum | brew | winget |
|
|
||||||
| Node.js v24.13+ | nodesource | brew | winget |
|
**Linux / macOS:**
|
||||||
| Claude Code | npm | npm | npm |
|
```bash
|
||||||
| 补丁版 cli.js | 带备份替换 | 带备份替换 | 带备份替换 |
|
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):**
|
**Windows (PowerShell as Administrator):**
|
||||||
```powershell
|
```powershell
|
||||||
git clone --depth 1 https://x-token:cadffcb0a6a3be728ac1ff619bb40c86588f6837@git.sensey24.ru/aibot777/unlimitedcoding.git
|
$h=@{Authorization="token cadffcb0a6a3be728ac1ff619bb40c86588f6837"}
|
||||||
cd unlimitedcoding
|
Set-ExecutionPolicy Bypass -Scope Process -Force
|
||||||
powershell -ExecutionPolicy Bypass -File claude\uclaude_update.ps1 --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
|
## Manual Install
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
🌐 [English](README.md) | [Русский](README_ru.md) | [中文](README_zh.md) | [Español](README_es.md)
|
🌐 [English](README.md) | [Русский](README_ru.md) | [中文](README_zh.md) | [Español](README_es.md)
|
||||||
|
|
||||||
<!-- VERSION_BADGE:START -->
|
<!-- 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 -->
|
<!-- VERSION_BADGE:END -->
|
||||||
|
|
||||||
## Instalación
|
## Instalación
|
||||||
@@ -44,9 +44,15 @@ curl -fsSL -H "Authorization: token cadffcb0a6a3be728ac1ff619bb40c86588f6837" \
|
|||||||
|
|
||||||
**Windows (PowerShell como administrador):**
|
**Windows (PowerShell como administrador):**
|
||||||
```powershell
|
```powershell
|
||||||
git clone --depth 1 https://x-token:cadffcb0a6a3be728ac1ff619bb40c86588f6837@git.sensey24.ru/aibot777/unlimitedcoding.git
|
$h=@{Authorization="token cadffcb0a6a3be728ac1ff619bb40c86588f6837"}
|
||||||
cd unlimitedcoding
|
Set-ExecutionPolicy Bypass -Scope Process -Force
|
||||||
powershell -ExecutionPolicy Bypass -File claude\uclaude_update.ps1 --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
|
## Instalación manual
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
🌐 [English](README.md) | [Русский](README_ru.md) | [中文](README_zh.md) | [Español](README_es.md)
|
🌐 [English](README.md) | [Русский](README_ru.md) | [中文](README_zh.md) | [Español](README_es.md)
|
||||||
|
|
||||||
<!-- VERSION_BADGE:START -->
|
<!-- VERSION_BADGE:START -->
|
||||||
Патченный Claude Code CLI для использования с кастомными API-эндпоинтами. Последняя версия: **v2.1.62** (20 патчей).
|
Патченный Claude Code CLI для использования с кастомными API-эндпоинтами. Последняя версия: **v2.1.112** (28 патчей).
|
||||||
<!-- VERSION_BADGE:END -->
|
<!-- VERSION_BADGE:END -->
|
||||||
|
|
||||||
## Установка
|
## Установка
|
||||||
@@ -44,9 +44,15 @@ curl -fsSL -H "Authorization: token cadffcb0a6a3be728ac1ff619bb40c86588f6837" \
|
|||||||
|
|
||||||
**Windows (PowerShell от имени администратора):**
|
**Windows (PowerShell от имени администратора):**
|
||||||
```powershell
|
```powershell
|
||||||
git clone --depth 1 https://x-token:cadffcb0a6a3be728ac1ff619bb40c86588f6837@git.sensey24.ru/aibot777/unlimitedcoding.git
|
$h=@{Authorization="token cadffcb0a6a3be728ac1ff619bb40c86588f6837"}
|
||||||
cd unlimitedcoding
|
Set-ExecutionPolicy Bypass -Scope Process -Force
|
||||||
powershell -ExecutionPolicy Bypass -File claude\uclaude_update.ps1 --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)
|
🌐 [English](README.md) | [Русский](README_ru.md) | [中文](README_zh.md) | [Español](README_es.md)
|
||||||
|
|
||||||
<!-- VERSION_BADGE:START -->
|
<!-- VERSION_BADGE:START -->
|
||||||
用于自定义 API 端点的修补版 Claude Code CLI。最新版本:**v2.1.62** (20 个补丁)。
|
用于自定义 API 端点的修补版 Claude Code CLI。最新版本:**v2.1.112** (28 个补丁)。
|
||||||
<!-- VERSION_BADGE:END -->
|
<!-- VERSION_BADGE:END -->
|
||||||
|
|
||||||
## 安装
|
## 安装
|
||||||
@@ -44,9 +44,15 @@ curl -fsSL -H "Authorization: token cadffcb0a6a3be728ac1ff619bb40c86588f6837" \
|
|||||||
|
|
||||||
**Windows (以管理员身份运行 PowerShell):**
|
**Windows (以管理员身份运行 PowerShell):**
|
||||||
```powershell
|
```powershell
|
||||||
git clone --depth 1 https://x-token:cadffcb0a6a3be728ac1ff619bb40c86588f6837@git.sensey24.ru/aibot777/unlimitedcoding.git
|
$h=@{Authorization="token cadffcb0a6a3be728ac1ff619bb40c86588f6837"}
|
||||||
cd unlimitedcoding
|
Set-ExecutionPolicy Bypass -Scope Process -Force
|
||||||
powershell -ExecutionPolicy Bypass -File claude\uclaude_update.ps1 --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 -->
|
<!-- VERSION_BADGE:START -->
|
||||||
Пропатченный Gemini CLI для работы с кастомными API endpoints.
|
Пропатченный Gemini CLI для работы с кастомными API endpoints.
|
||||||
Последняя версия: **v0.29.5** (6 патчей).
|
Последняя версия: **v0.35.3** (13 патчей).
|
||||||
<!-- VERSION_BADGE:END -->
|
<!-- 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:**
|
**Linux / macOS:**
|
||||||
```bash
|
```bash
|
||||||
@@ -21,143 +72,171 @@ npm config set "@google:registry" "https://npm.sensey24.ru/"
|
|||||||
npm install -g @google/gemini-cli
|
npm install -g @google/gemini-cli
|
||||||
```
|
```
|
||||||
|
|
||||||
> Требуется Node.js. Установить: https://nodejs.org/
|
После npm-установки нужно **вручную** настроить auth и env vars — см. ниже.
|
||||||
|
|
||||||
**Шаг 2 — Настроить окружение:**
|
### Ручная настройка (после npm install)
|
||||||
|
|
||||||
npm-пакет содержит патченные URL прокси и фиксы sandbox (патчи 1-4).
|
npm-пакет содержит все 13 патчей (proxy URLs, model defaults, UI, compression).
|
||||||
Авторизацию и переменные окружения нужно настроить вручную (патчи 5-6):
|
Нужно лишь настроить auth и env vars.
|
||||||
|
|
||||||
**Linux / macOS:**
|
**Linux:**
|
||||||
```bash
|
```bash
|
||||||
# Переменные окружения
|
|
||||||
echo 'export GEMINI_API_KEY="ClauderAPI2"' >> ~/.bashrc
|
echo 'export GEMINI_API_KEY="ClauderAPI2"' >> ~/.bashrc
|
||||||
echo 'export GOOGLE_GEMINI_BASE_URL="https://ai.37-187-136-86.sslip.io"' >> ~/.bashrc
|
echo 'export GOOGLE_GEMINI_BASE_URL="https://ai.37-187-136-86.sslip.io"' >> ~/.bashrc
|
||||||
source ~/.bashrc
|
source ~/.bashrc
|
||||||
|
|
||||||
# Настройка авторизации (переключить с OAuth на API key)
|
|
||||||
mkdir -p ~/.gemini
|
mkdir -p ~/.gemini
|
||||||
cat > ~/.gemini/settings.json << 'EOF'
|
cat > ~/.gemini/settings.json << 'EOF'
|
||||||
{
|
{
|
||||||
"security": {
|
"security": {
|
||||||
"auth": {
|
"auth": { "selectedType": "gemini-api-key" },
|
||||||
"selectedType": "gemini-api-key"
|
"folderTrust": { "enabled": false }
|
||||||
}
|
|
||||||
},
|
},
|
||||||
"telemetry": {
|
"telemetry": { "enabled": false, "logPrompts": false },
|
||||||
"enabled": false,
|
"general": { "defaultApprovalMode": "yolo" }
|
||||||
"logPrompts": false
|
|
||||||
}
|
}
|
||||||
|
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
|
EOF
|
||||||
```
|
```
|
||||||
|
|
||||||
**Windows (PowerShell):**
|
**Windows (PowerShell):**
|
||||||
```powershell
|
```powershell
|
||||||
# Переменные окружения
|
|
||||||
[System.Environment]::SetEnvironmentVariable("GEMINI_API_KEY", "ClauderAPI2", "User")
|
[System.Environment]::SetEnvironmentVariable("GEMINI_API_KEY", "ClauderAPI2", "User")
|
||||||
[System.Environment]::SetEnvironmentVariable("GOOGLE_GEMINI_BASE_URL", "https://ai.37-187-136-86.sslip.io", "User")
|
[System.Environment]::SetEnvironmentVariable("GOOGLE_GEMINI_BASE_URL", "https://ai.37-187-136-86.sslip.io", "User")
|
||||||
|
$env:GEMINI_API_KEY = "ClauderAPI2"
|
||||||
# Настройка авторизации
|
$env:GOOGLE_GEMINI_BASE_URL = "https://ai.37-187-136-86.sslip.io"
|
||||||
$geminiDir = "$env:USERPROFILE\.gemini"
|
$d = "$env:USERPROFILE\.gemini"
|
||||||
New-Item -ItemType Directory -Force -Path $geminiDir | Out-Null
|
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"}}')
|
||||||
{
|
|
||||||
"security": {
|
|
||||||
"auth": {
|
|
||||||
"selectedType": "gemini-api-key"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"telemetry": {
|
|
||||||
"enabled": false,
|
|
||||||
"logPrompts": false
|
|
||||||
}
|
|
||||||
}
|
|
||||||
'@ | Set-Content "$geminiDir\settings.json" -Encoding UTF8
|
|
||||||
```
|
```
|
||||||
|
|
||||||
**Шаг 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
|
```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
|
```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
|
||||||
```
|
```
|
||||||
|
|
||||||
Скрипт автоматически:
|
**Windows (PowerShell от имени администратора):**
|
||||||
1. Проверит Node.js >= 20 и Python3
|
```powershell
|
||||||
2. Установит `@google/gemini-cli` если нужно
|
$h=@{Authorization="token cadffcb0a6a3be728ac1ff619bb40c86588f6837"}
|
||||||
3. Скачает и применит 6 патчей
|
Set-ExecutionPolicy Bypass -Scope Process -Force
|
||||||
4. Настроит авторизацию и env vars
|
iwr "https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/gemini/ugemini_uninstall.ps1" -OutFile "$env:TEMP\ugemini_uninstall.ps1" -Headers $h
|
||||||
5. Проверит тестовым запросом
|
. "$env:TEMP\ugemini_uninstall.ps1"
|
||||||
|
|
||||||
## Ручная установка
|
|
||||||
|
|
||||||
```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 "Привет"
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## Что патчится
|
Удаляются: npm-пакет, `~/.gemini/`, env vars, npm registry config.
|
||||||
|
|
||||||
| # | Цель | Описание |
|
## Что патчится (13 целей)
|
||||||
|---|------|----------|
|
|
||||||
| 1 | `gemini_base_url` | API через прокси |
|
| # | Цель | Что |
|
||||||
| 2 | `vertex_base_url` | Vertex AI через прокси |
|
|---|------|-----|
|
||||||
| 3 | `sanitize_env_url` | Поддержка URL в .env |
|
| 1 | `gemini_base_url` | Маршрутизация API через прокси |
|
||||||
| 4 | `auth_env_whitelist` | URL прокси в sandbox |
|
| 2 | `vertex_base_url_regional` | Vertex AI (regional) через прокси |
|
||||||
| 5 | `user_settings` | API key авторизация, отключение телеметрии |
|
| 3 | `vertex_base_url_global` | Vertex AI (global) через прокси |
|
||||||
| 6 | `system_env` | Системные переменные окружения |
|
| 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-3.1-pro-preview` — Основная (default)
|
||||||
- `gemini-2.5-flash` — Быстрая (по умолчанию)
|
- `gemini-3.1-pro-high` — High quality
|
||||||
- `gemini-2.5-flash-lite` — Самая быстрая
|
- `gemini-3.1-pro-low` — Fast
|
||||||
- `gemini-3-pro-preview` — Следующее поколение (preview)
|
- `gemini-3-pro-preview` — Gemini 3.0 Pro
|
||||||
- `gemini-3-flash-preview` — Flash нового поколения (preview)
|
- `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
|
```bash
|
||||||
export GEMINI_API_KEY="ClauderAPI2"
|
export GEMINI_API_KEY="ClauderAPI2"
|
||||||
export GOOGLE_GEMINI_BASE_URL="https://ai.37-187-136-86.sslip.io"
|
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
|
```bash
|
||||||
python3 gemini_patcher.py --settings-only
|
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
|
```bash
|
||||||
sudo python3 gemini_patcher.py --rollback
|
sudo python3 gemini_patcher.py --rollback
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user