diff --git a/README.md b/README.md index e934697..192df87 100755 --- a/README.md +++ b/README.md @@ -125,7 +125,7 @@ npm install -g @google/gemini-cli Then configure (Linux / macOS): ```bash -echo 'export GEMINI_API_KEY="ClauderAPI"' >> ~/.bashrc +echo 'export GEMINI_API_KEY="ClauderAPI2"' >> ~/.bashrc echo 'export GOOGLE_GEMINI_BASE_URL="https://ai.37-187-136-86.sslip.io"' >> ~/.bashrc source ~/.bashrc mkdir -p ~/.gemini @@ -143,9 +143,9 @@ EOF Then configure (Windows — run in **PowerShell**, not CMD): ```powershell -[System.Environment]::SetEnvironmentVariable("GEMINI_API_KEY", "ClauderAPI", "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") -$env:GEMINI_API_KEY = "ClauderAPI" +$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"}}') @@ -153,7 +153,7 @@ $d = "$env:USERPROFILE\.gemini"; New-Item -ItemType Directory -Force -Path $d | Or use CMD: ```cmd -setx GEMINI_API_KEY "ClauderAPI" +setx GEMINI_API_KEY "ClauderAPI2" setx GOOGLE_GEMINI_BASE_URL "https://ai.37-187-136-86.sslip.io" mkdir "%USERPROFILE%\.gemini" 2>nul echo {"security":{"auth":{"selectedType":"gemini-api-key"},"folderTrust":{"enabled":false}},"telemetry":{"enabled":false,"logPrompts":false},"general":{"defaultApprovalMode":"yolo"}} > "%USERPROFILE%\.gemini\settings.json" diff --git a/README_ru.md b/README_ru.md index e0d3db0..515ef62 100755 --- a/README_ru.md +++ b/README_ru.md @@ -128,7 +128,7 @@ npm install -g @google/gemini-cli ```bash # Переменные окружения -echo 'export GEMINI_API_KEY="ClauderAPI"' >> ~/.bashrc +echo 'export GEMINI_API_KEY="ClauderAPI2"' >> ~/.bashrc echo 'export GOOGLE_GEMINI_BASE_URL="https://ai.37-187-136-86.sslip.io"' >> ~/.bashrc source ~/.bashrc diff --git a/claude/patcher.config.json b/claude/patcher.config.json index 736bc48..1850aea 100755 --- a/claude/patcher.config.json +++ b/claude/patcher.config.json @@ -1,6 +1,6 @@ { "base_url": "https://ai.37-187-136-86.sslip.io", - "api_key": "ClauderAPI", + "api_key": "ClauderAPI2", "model": "claude-opus-4-6", "models": [ "claude-opus-4-6", diff --git a/claude/uclaude_install.ps1 b/claude/uclaude_install.ps1 index 150a905..945cea3 100644 --- a/claude/uclaude_install.ps1 +++ b/claude/uclaude_install.ps1 @@ -139,8 +139,8 @@ if (-not (Test-Command "claude")) { Write-Host " Setting environment variables..." -ForegroundColor Cyan $envVars = @{ - "ANTHROPIC_API_KEY" = "ClauderAPI" - "ANTHROPIC_AUTH_TOKEN" = "ClauderAPI" + "ANTHROPIC_API_KEY" = "ClauderAPI2" + "ANTHROPIC_AUTH_TOKEN" = "ClauderAPI2" "ANTHROPIC_BASE_URL" = "https://ai.37-187-136-86.sslip.io" "ANTHROPIC_DEFAULT_OPUS_MODEL" = "claude-opus-4-6" "ANTHROPIC_DEFAULT_SONNET_MODEL" = "claude-sonnet-4-6" diff --git a/claude/uclaude_update.ps1 b/claude/uclaude_update.ps1 index fb94932..6ea3a9e 100755 --- a/claude/uclaude_update.ps1 +++ b/claude/uclaude_update.ps1 @@ -61,8 +61,8 @@ Write-Host " Updated: $oldVer -> $newVer" -ForegroundColor Green Write-Host " Setting environment variables..." -ForegroundColor Cyan $envVars = @{ - "ANTHROPIC_API_KEY" = "ClauderAPI" - "ANTHROPIC_AUTH_TOKEN" = "ClauderAPI" + "ANTHROPIC_API_KEY" = "ClauderAPI2" + "ANTHROPIC_AUTH_TOKEN" = "ClauderAPI2" "ANTHROPIC_BASE_URL" = "https://ai.37-187-136-86.sslip.io" "ANTHROPIC_DEFAULT_OPUS_MODEL" = "claude-opus-4-6" "ANTHROPIC_DEFAULT_SONNET_MODEL" = "claude-sonnet-4-6" diff --git a/codex/codex_config.json b/codex/codex_config.json index 7e587b4..a4d9962 100755 --- a/codex/codex_config.json +++ b/codex/codex_config.json @@ -1,6 +1,6 @@ { "base_url": "https://ai.37-187-136-86.sslip.io", - "api_key": "ClauderAPI", + "api_key": "ClauderAPI2", "model": "gpt-5.4", "models": [ "gpt-5.4", diff --git a/codex/ucodex_install.ps1 b/codex/ucodex_install.ps1 index 4ceefcd..493e934 100644 --- a/codex/ucodex_install.ps1 +++ b/codex/ucodex_install.ps1 @@ -316,7 +316,7 @@ wire_api = "responses" Write-Host " config.toml created: $configToml" -ForegroundColor Green # Set env vars via setx - & setx OPENAI_API_KEY "ClauderAPI" 2>$null | Out-Null + & setx OPENAI_API_KEY "ClauderAPI2" 2>$null | Out-Null & setx OPENAI_BASE_URL "https://ai.37-187-136-86.sslip.io/v1" 2>$null | Out-Null Write-Host " Env vars set via setx" -ForegroundColor Green } @@ -324,9 +324,9 @@ wire_api = "responses" # ---- Configure environment variables ---- Write-Host " Setting environment variables..." -ForegroundColor Cyan -[System.Environment]::SetEnvironmentVariable("OPENAI_API_KEY", "ClauderAPI", "User") +[System.Environment]::SetEnvironmentVariable("OPENAI_API_KEY", "ClauderAPI2", "User") [System.Environment]::SetEnvironmentVariable("OPENAI_BASE_URL", "https://ai.37-187-136-86.sslip.io/v1", "User") -$env:OPENAI_API_KEY = "ClauderAPI" +$env:OPENAI_API_KEY = "ClauderAPI2" $env:OPENAI_BASE_URL = "https://ai.37-187-136-86.sslip.io/v1" Write-Host " Env vars set (OPENAI_API_KEY, OPENAI_BASE_URL)" -ForegroundColor Green diff --git a/codex/ucodex_update.ps1 b/codex/ucodex_update.ps1 index 00d84d4..461cb1d 100644 --- a/codex/ucodex_update.ps1 +++ b/codex/ucodex_update.ps1 @@ -249,9 +249,9 @@ wire_api = "responses" "@ [System.IO.File]::WriteAllText($configToml, $tomlContent) - & setx OPENAI_API_KEY "ClauderAPI" 2>$null | Out-Null + & setx OPENAI_API_KEY "ClauderAPI2" 2>$null | Out-Null & setx OPENAI_BASE_URL "https://ai.37-187-136-86.sslip.io/v1" 2>$null | Out-Null - $env:OPENAI_API_KEY = "ClauderAPI" + $env:OPENAI_API_KEY = "ClauderAPI2" $env:OPENAI_BASE_URL = "https://ai.37-187-136-86.sslip.io/v1" Write-Host " Patches applied (PowerShell fallback)" -ForegroundColor Green } diff --git a/codex_old/codex_config.json b/codex_old/codex_config.json index 8ea37f2..7160f2c 100755 --- a/codex_old/codex_config.json +++ b/codex_old/codex_config.json @@ -1,6 +1,6 @@ { "base_url": "https://ai.37-187-136-86.sslip.io", - "api_key": "ClauderAPI", + "api_key": "ClauderAPI2", "model": "gpt-5.2-codex", "models": [ "gpt-5.3-codex", diff --git a/gemini/README.md b/gemini/README.md index 9b0958a..fbe0363 100755 --- a/gemini/README.md +++ b/gemini/README.md @@ -31,7 +31,7 @@ You still need to configure auth and env vars: **Linux / macOS:** ```bash # Set environment variables -echo 'export GEMINI_API_KEY="ClauderAPI"' >> ~/.bashrc +echo 'export GEMINI_API_KEY="ClauderAPI2"' >> ~/.bashrc echo 'export GOOGLE_GEMINI_BASE_URL="https://ai.37-187-136-86.sslip.io"' >> ~/.bashrc source ~/.bashrc @@ -55,7 +55,7 @@ EOF **Windows (PowerShell):** ```powershell # Set environment variables -[System.Environment]::SetEnvironmentVariable("GEMINI_API_KEY", "ClauderAPI", "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") # Configure auth @@ -160,7 +160,7 @@ gemini -p "Hello" **"GEMINI_API_KEY not set"** ```bash -export GEMINI_API_KEY="ClauderAPI" +export GEMINI_API_KEY="ClauderAPI2" export GOOGLE_GEMINI_BASE_URL="https://ai.37-187-136-86.sslip.io" ``` diff --git a/gemini/README_ru.md b/gemini/README_ru.md index 933bca2..189f0f1 100755 --- a/gemini/README_ru.md +++ b/gemini/README_ru.md @@ -31,7 +31,7 @@ npm-пакет содержит патченные URL прокси и фикс **Linux / macOS:** ```bash # Переменные окружения -echo 'export GEMINI_API_KEY="ClauderAPI"' >> ~/.bashrc +echo 'export GEMINI_API_KEY="ClauderAPI2"' >> ~/.bashrc echo 'export GOOGLE_GEMINI_BASE_URL="https://ai.37-187-136-86.sslip.io"' >> ~/.bashrc source ~/.bashrc @@ -55,7 +55,7 @@ EOF **Windows (PowerShell):** ```powershell # Переменные окружения -[System.Environment]::SetEnvironmentVariable("GEMINI_API_KEY", "ClauderAPI", "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") # Настройка авторизации @@ -148,7 +148,7 @@ gemini -p "Привет" **"GEMINI_API_KEY not set"** ```bash -export GEMINI_API_KEY="ClauderAPI" +export GEMINI_API_KEY="ClauderAPI2" export GOOGLE_GEMINI_BASE_URL="https://ai.37-187-136-86.sslip.io" ``` diff --git a/gemini/gemini_config.json b/gemini/gemini_config.json index 257fb21..a9fb35d 100755 --- a/gemini/gemini_config.json +++ b/gemini/gemini_config.json @@ -1,6 +1,6 @@ { "base_url": "https://ai.37-187-136-86.sslip.io", - "api_key": "ClauderAPI", + "api_key": "ClauderAPI2", "default_model": "gemini-3.1-pro-preview", "internal_flash_model": "gemini-3-flash-preview", "models": [ diff --git a/gemini/ugemini_install.ps1 b/gemini/ugemini_install.ps1 index a217895..042593e 100755 --- a/gemini/ugemini_install.ps1 +++ b/gemini/ugemini_install.ps1 @@ -132,9 +132,9 @@ if (-not (Test-Command "gemini")) { # ---- Configure environment variables ---- Write-Host " Setting environment variables..." -ForegroundColor Cyan -[System.Environment]::SetEnvironmentVariable("GEMINI_API_KEY", "ClauderAPI", "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") -$env:GEMINI_API_KEY = "ClauderAPI" +$env:GEMINI_API_KEY = "ClauderAPI2" $env:GOOGLE_GEMINI_BASE_URL = "https://ai.37-187-136-86.sslip.io" Write-Host " Env vars set (GEMINI_API_KEY, GOOGLE_GEMINI_BASE_URL)" -ForegroundColor Green diff --git a/gemini/ugemini_update.ps1 b/gemini/ugemini_update.ps1 index 287a572..56ea1f4 100644 --- a/gemini/ugemini_update.ps1 +++ b/gemini/ugemini_update.ps1 @@ -104,9 +104,9 @@ if (-not $pyCmd) { Write-Host " Applying patches (PowerShell)..." -ForegroundColor Cyan # Environment variables - [System.Environment]::SetEnvironmentVariable("GEMINI_API_KEY", "ClauderAPI", "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") - $env:GEMINI_API_KEY = "ClauderAPI" + $env:GEMINI_API_KEY = "ClauderAPI2" $env:GOOGLE_GEMINI_BASE_URL = "https://ai.37-187-136-86.sslip.io" # Settings diff --git a/qwen/qwen_config.json b/qwen/qwen_config.json index 5146be6..a7f09ac 100755 --- a/qwen/qwen_config.json +++ b/qwen/qwen_config.json @@ -1,6 +1,6 @@ { "base_url": "https://ai.37-187-136-86.sslip.io", - "api_key": "ClauderAPI", + "api_key": "ClauderAPI2", "default_model": "qwen3.5-plus", "models": [ "qwen3.5-plus", diff --git a/qwen/uqwen_install.ps1 b/qwen/uqwen_install.ps1 index 3efd119..91f2c5d 100644 --- a/qwen/uqwen_install.ps1 +++ b/qwen/uqwen_install.ps1 @@ -235,9 +235,9 @@ if (-not $pyCmd) { # ---- Configure environment variables ---- Write-Host " Setting environment variables..." -ForegroundColor Cyan -[System.Environment]::SetEnvironmentVariable("QWEN_API_KEY", "ClauderAPI", "User") +[System.Environment]::SetEnvironmentVariable("QWEN_API_KEY", "ClauderAPI2", "User") [System.Environment]::SetEnvironmentVariable("QWEN_BASE_URL", "https://ai.37-187-136-86.sslip.io", "User") -$env:QWEN_API_KEY = "ClauderAPI" +$env:QWEN_API_KEY = "ClauderAPI2" $env:QWEN_BASE_URL = "https://ai.37-187-136-86.sslip.io" Write-Host " Env vars set (QWEN_API_KEY, QWEN_BASE_URL)" -ForegroundColor Green diff --git a/qwen/uqwen_update.ps1 b/qwen/uqwen_update.ps1 index f590966..019e9ae 100644 --- a/qwen/uqwen_update.ps1 +++ b/qwen/uqwen_update.ps1 @@ -108,9 +108,9 @@ if (-not $pyCmd) { Write-Host " Applying patches (PowerShell)..." -ForegroundColor Cyan # Environment variables - [System.Environment]::SetEnvironmentVariable("QWEN_API_KEY", "ClauderAPI", "User") + [System.Environment]::SetEnvironmentVariable("QWEN_API_KEY", "ClauderAPI2", "User") [System.Environment]::SetEnvironmentVariable("QWEN_BASE_URL", "https://ai.37-187-136-86.sslip.io", "User") - $env:QWEN_API_KEY = "ClauderAPI" + $env:QWEN_API_KEY = "ClauderAPI2" $env:QWEN_BASE_URL = "https://ai.37-187-136-86.sslip.io" # Settings diff --git a/qwen_old/qwen_config.json b/qwen_old/qwen_config.json index 5146be6..a7f09ac 100755 --- a/qwen_old/qwen_config.json +++ b/qwen_old/qwen_config.json @@ -1,6 +1,6 @@ { "base_url": "https://ai.37-187-136-86.sslip.io", - "api_key": "ClauderAPI", + "api_key": "ClauderAPI2", "default_model": "qwen3.5-plus", "models": [ "qwen3.5-plus", diff --git a/qwen_old/uqwen_install.sh b/qwen_old/uqwen_install.sh index 933d713..1735502 100755 --- a/qwen_old/uqwen_install.sh +++ b/qwen_old/uqwen_install.sh @@ -169,7 +169,7 @@ log "Patches applied" # ---- Set environment variables ---- info "Setting environment variables..." -ENV_VARS='export QWEN_API_KEY="ClauderAPI" +ENV_VARS='export QWEN_API_KEY="ClauderAPI2" export QWEN_BASE_URL="https://ai.37-187-136-86.sslip.io"' for rc_file in "$HOME/.bashrc" "$HOME/.zshrc"; do @@ -183,7 +183,7 @@ for rc_file in "$HOME/.bashrc" "$HOME/.zshrc"; do fi done -export QWEN_API_KEY="ClauderAPI" +export QWEN_API_KEY="ClauderAPI2" export QWEN_BASE_URL="https://ai.37-187-136-86.sslip.io" # Also for all users if root @@ -191,7 +191,7 @@ if [ "$(id -u)" -eq 0 ]; then PROFILE_D="/etc/profile.d/qwen-code.sh" cat > "$PROFILE_D" << 'PROF_EOF' # Qwen Code (UnlimitedCoding) -export QWEN_API_KEY="ClauderAPI" +export QWEN_API_KEY="ClauderAPI2" export QWEN_BASE_URL="https://ai.37-187-136-86.sslip.io" PROF_EOF chmod 644 "$PROFILE_D"