fix: use isolated read-only token for install commands

- Replace old aibot777 token with new scoped token (read:repository)
- Simplify curl commands: use ?token= query param instead of -H header
- Token embedded in uclaude_install.sh for git clone auth
- All repos remain private; token only allows reading

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
delta-cloud-208e
2026-02-21 13:46:46 +00:00
parent 70712fa4f8
commit 6755713ad7
9 changed files with 35 additions and 51 deletions

View File

@@ -24,19 +24,17 @@ All dependencies are installed automatically (git, python3, Node.js, Claude Code
**Linux (Debian/Ubuntu/RHEL/Fedora):** **Linux (Debian/Ubuntu/RHEL/Fedora):**
```bash ```bash
curl -fsSL -H 'Authorization: token 4443e546f9b93e59f7ed256753286038625ef7cf' \ curl -fsSL 'https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/claude/uclaude_install.sh?token=cadffcb0a6a3be728ac1ff619bb40c86588f6837' | sudo bash
https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/claude/uclaude_install.sh | sudo bash
``` ```
**macOS:** **macOS:**
```bash ```bash
curl -fsSL -H 'Authorization: token 4443e546f9b93e59f7ed256753286038625ef7cf' \ curl -fsSL 'https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/claude/uclaude_install.sh?token=cadffcb0a6a3be728ac1ff619bb40c86588f6837' | bash
https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/claude/uclaude_install.sh | bash
``` ```
**Windows (PowerShell as Administrator):** **Windows (PowerShell as Administrator):**
```powershell ```powershell
git clone --depth 1 https://x-token:4443e546f9b93e59f7ed256753286038625ef7cf@git.sensey24.ru/aibot777/unlimitedcoding.git git clone --depth 1 https://x-token:cadffcb0a6a3be728ac1ff619bb40c86588f6837@git.sensey24.ru/aibot777/unlimitedcoding.git
cd unlimitedcoding cd unlimitedcoding
powershell -ExecutionPolicy Bypass -File claude\uclaude_update.ps1 --force powershell -ExecutionPolicy Bypass -File claude\uclaude_update.ps1 --force
``` ```
@@ -44,7 +42,7 @@ powershell -ExecutionPolicy Bypass -File claude\uclaude_update.ps1 --force
### Manual Install (all platforms) ### Manual Install (all platforms)
```bash ```bash
git clone --depth 1 https://x-token:4443e546f9b93e59f7ed256753286038625ef7cf@git.sensey24.ru/aibot777/unlimitedcoding.git git clone --depth 1 https://x-token:cadffcb0a6a3be728ac1ff619bb40c86588f6837@git.sensey24.ru/aibot777/unlimitedcoding.git
cd unlimitedcoding cd unlimitedcoding
``` ```

View File

@@ -24,19 +24,17 @@ Todas las dependencias se instalan automáticamente (git, python3, Node.js, Clau
**Linux (Debian/Ubuntu/RHEL/Fedora):** **Linux (Debian/Ubuntu/RHEL/Fedora):**
```bash ```bash
curl -fsSL -H 'Authorization: token 4443e546f9b93e59f7ed256753286038625ef7cf' \ curl -fsSL 'https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/claude/uclaude_install.sh?token=cadffcb0a6a3be728ac1ff619bb40c86588f6837' | sudo bash
https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/claude/uclaude_install.sh | sudo bash
``` ```
**macOS:** **macOS:**
```bash ```bash
curl -fsSL -H 'Authorization: token 4443e546f9b93e59f7ed256753286038625ef7cf' \ curl -fsSL 'https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/claude/uclaude_install.sh?token=cadffcb0a6a3be728ac1ff619bb40c86588f6837' | bash
https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/claude/uclaude_install.sh | bash
``` ```
**Windows (PowerShell como administrador):** **Windows (PowerShell como administrador):**
```powershell ```powershell
git clone --depth 1 https://x-token:4443e546f9b93e59f7ed256753286038625ef7cf@git.sensey24.ru/aibot777/unlimitedcoding.git git clone --depth 1 https://x-token:cadffcb0a6a3be728ac1ff619bb40c86588f6837@git.sensey24.ru/aibot777/unlimitedcoding.git
cd unlimitedcoding cd unlimitedcoding
powershell -ExecutionPolicy Bypass -File claude\uclaude_update.ps1 --force powershell -ExecutionPolicy Bypass -File claude\uclaude_update.ps1 --force
``` ```
@@ -44,7 +42,7 @@ powershell -ExecutionPolicy Bypass -File claude\uclaude_update.ps1 --force
### Instalación manual (todas las plataformas) ### Instalación manual (todas las plataformas)
```bash ```bash
git clone --depth 1 https://x-token:4443e546f9b93e59f7ed256753286038625ef7cf@git.sensey24.ru/aibot777/unlimitedcoding.git git clone --depth 1 https://x-token:cadffcb0a6a3be728ac1ff619bb40c86588f6837@git.sensey24.ru/aibot777/unlimitedcoding.git
cd unlimitedcoding cd unlimitedcoding
``` ```

View File

@@ -24,19 +24,17 @@
**Linux (Debian/Ubuntu/RHEL/Fedora):** **Linux (Debian/Ubuntu/RHEL/Fedora):**
```bash ```bash
curl -fsSL -H 'Authorization: token 4443e546f9b93e59f7ed256753286038625ef7cf' \ curl -fsSL 'https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/claude/uclaude_install.sh?token=cadffcb0a6a3be728ac1ff619bb40c86588f6837' | sudo bash
https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/claude/uclaude_install.sh | sudo bash
``` ```
**macOS:** **macOS:**
```bash ```bash
curl -fsSL -H 'Authorization: token 4443e546f9b93e59f7ed256753286038625ef7cf' \ curl -fsSL 'https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/claude/uclaude_install.sh?token=cadffcb0a6a3be728ac1ff619bb40c86588f6837' | bash
https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/claude/uclaude_install.sh | bash
``` ```
**Windows (PowerShell от имени администратора):** **Windows (PowerShell от имени администратора):**
```powershell ```powershell
git clone --depth 1 https://x-token:4443e546f9b93e59f7ed256753286038625ef7cf@git.sensey24.ru/aibot777/unlimitedcoding.git git clone --depth 1 https://x-token:cadffcb0a6a3be728ac1ff619bb40c86588f6837@git.sensey24.ru/aibot777/unlimitedcoding.git
cd unlimitedcoding cd unlimitedcoding
powershell -ExecutionPolicy Bypass -File claude\uclaude_update.ps1 --force powershell -ExecutionPolicy Bypass -File claude\uclaude_update.ps1 --force
``` ```
@@ -44,7 +42,7 @@ powershell -ExecutionPolicy Bypass -File claude\uclaude_update.ps1 --force
### Ручная установка (все платформы) ### Ручная установка (все платформы)
```bash ```bash
git clone --depth 1 https://x-token:4443e546f9b93e59f7ed256753286038625ef7cf@git.sensey24.ru/aibot777/unlimitedcoding.git git clone --depth 1 https://x-token:cadffcb0a6a3be728ac1ff619bb40c86588f6837@git.sensey24.ru/aibot777/unlimitedcoding.git
cd unlimitedcoding cd unlimitedcoding
``` ```

View File

@@ -24,19 +24,17 @@
**Linux (Debian/Ubuntu/RHEL/Fedora):** **Linux (Debian/Ubuntu/RHEL/Fedora):**
```bash ```bash
curl -fsSL -H 'Authorization: token 4443e546f9b93e59f7ed256753286038625ef7cf' \ curl -fsSL 'https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/claude/uclaude_install.sh?token=cadffcb0a6a3be728ac1ff619bb40c86588f6837' | sudo bash
https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/claude/uclaude_install.sh | sudo bash
``` ```
**macOS:** **macOS:**
```bash ```bash
curl -fsSL -H 'Authorization: token 4443e546f9b93e59f7ed256753286038625ef7cf' \ curl -fsSL 'https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/claude/uclaude_install.sh?token=cadffcb0a6a3be728ac1ff619bb40c86588f6837' | bash
https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/claude/uclaude_install.sh | bash
``` ```
**Windows以管理员身份运行 PowerShell:** **Windows以管理员身份运行 PowerShell:**
```powershell ```powershell
git clone --depth 1 https://x-token:4443e546f9b93e59f7ed256753286038625ef7cf@git.sensey24.ru/aibot777/unlimitedcoding.git git clone --depth 1 https://x-token:cadffcb0a6a3be728ac1ff619bb40c86588f6837@git.sensey24.ru/aibot777/unlimitedcoding.git
cd unlimitedcoding cd unlimitedcoding
powershell -ExecutionPolicy Bypass -File claude\uclaude_update.ps1 --force powershell -ExecutionPolicy Bypass -File claude\uclaude_update.ps1 --force
``` ```
@@ -44,7 +42,7 @@ powershell -ExecutionPolicy Bypass -File claude\uclaude_update.ps1 --force
### 手动安装(所有平台) ### 手动安装(所有平台)
```bash ```bash
git clone --depth 1 https://x-token:4443e546f9b93e59f7ed256753286038625ef7cf@git.sensey24.ru/aibot777/unlimitedcoding.git git clone --depth 1 https://x-token:cadffcb0a6a3be728ac1ff619bb40c86588f6837@git.sensey24.ru/aibot777/unlimitedcoding.git
cd unlimitedcoding cd unlimitedcoding
``` ```

View File

@@ -10,19 +10,17 @@ All dependencies are installed automatically: Git, Python 3, Node.js v24.13+, Cl
**Linux (Debian/Ubuntu/RHEL/Fedora):** **Linux (Debian/Ubuntu/RHEL/Fedora):**
```bash ```bash
curl -fsSL -H 'Authorization: token 4443e546f9b93e59f7ed256753286038625ef7cf' \ curl -fsSL 'https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/claude/uclaude_install.sh?token=cadffcb0a6a3be728ac1ff619bb40c86588f6837' | sudo bash
https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/claude/uclaude_install.sh | sudo bash
``` ```
**macOS:** **macOS:**
```bash ```bash
curl -fsSL -H 'Authorization: token 4443e546f9b93e59f7ed256753286038625ef7cf' \ curl -fsSL 'https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/claude/uclaude_install.sh?token=cadffcb0a6a3be728ac1ff619bb40c86588f6837' | bash
https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/claude/uclaude_install.sh | bash
``` ```
**Windows (PowerShell as Administrator):** **Windows (PowerShell as Administrator):**
```powershell ```powershell
git clone --depth 1 https://x-token:4443e546f9b93e59f7ed256753286038625ef7cf@git.sensey24.ru/aibot777/unlimitedcoding.git git clone --depth 1 https://x-token:cadffcb0a6a3be728ac1ff619bb40c86588f6837@git.sensey24.ru/aibot777/unlimitedcoding.git
cd unlimitedcoding cd unlimitedcoding
powershell -ExecutionPolicy Bypass -File claude\uclaude_update.ps1 --force powershell -ExecutionPolicy Bypass -File claude\uclaude_update.ps1 --force
``` ```
@@ -30,7 +28,7 @@ powershell -ExecutionPolicy Bypass -File claude\uclaude_update.ps1 --force
## Manual Install ## Manual Install
```bash ```bash
git clone --depth 1 https://x-token:4443e546f9b93e59f7ed256753286038625ef7cf@git.sensey24.ru/aibot777/unlimitedcoding.git git clone --depth 1 https://x-token:cadffcb0a6a3be728ac1ff619bb40c86588f6837@git.sensey24.ru/aibot777/unlimitedcoding.git
cd unlimitedcoding cd unlimitedcoding
``` ```

View File

@@ -10,19 +10,17 @@ Todas las dependencias se instalan automáticamente: Git, Python 3, Node.js v24.
**Linux (Debian/Ubuntu/RHEL/Fedora):** **Linux (Debian/Ubuntu/RHEL/Fedora):**
```bash ```bash
curl -fsSL -H 'Authorization: token 4443e546f9b93e59f7ed256753286038625ef7cf' \ curl -fsSL 'https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/claude/uclaude_install.sh?token=cadffcb0a6a3be728ac1ff619bb40c86588f6837' | sudo bash
https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/claude/uclaude_install.sh | sudo bash
``` ```
**macOS:** **macOS:**
```bash ```bash
curl -fsSL -H 'Authorization: token 4443e546f9b93e59f7ed256753286038625ef7cf' \ curl -fsSL 'https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/claude/uclaude_install.sh?token=cadffcb0a6a3be728ac1ff619bb40c86588f6837' | bash
https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/claude/uclaude_install.sh | bash
``` ```
**Windows (PowerShell como administrador):** **Windows (PowerShell como administrador):**
```powershell ```powershell
git clone --depth 1 https://x-token:4443e546f9b93e59f7ed256753286038625ef7cf@git.sensey24.ru/aibot777/unlimitedcoding.git git clone --depth 1 https://x-token:cadffcb0a6a3be728ac1ff619bb40c86588f6837@git.sensey24.ru/aibot777/unlimitedcoding.git
cd unlimitedcoding cd unlimitedcoding
powershell -ExecutionPolicy Bypass -File claude\uclaude_update.ps1 --force powershell -ExecutionPolicy Bypass -File claude\uclaude_update.ps1 --force
``` ```
@@ -30,7 +28,7 @@ powershell -ExecutionPolicy Bypass -File claude\uclaude_update.ps1 --force
## Instalación manual ## Instalación manual
```bash ```bash
git clone --depth 1 https://x-token:4443e546f9b93e59f7ed256753286038625ef7cf@git.sensey24.ru/aibot777/unlimitedcoding.git git clone --depth 1 https://x-token:cadffcb0a6a3be728ac1ff619bb40c86588f6837@git.sensey24.ru/aibot777/unlimitedcoding.git
cd unlimitedcoding cd unlimitedcoding
``` ```

View File

@@ -10,19 +10,17 @@
**Linux (Debian/Ubuntu/RHEL/Fedora):** **Linux (Debian/Ubuntu/RHEL/Fedora):**
```bash ```bash
curl -fsSL -H 'Authorization: token 4443e546f9b93e59f7ed256753286038625ef7cf' \ curl -fsSL 'https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/claude/uclaude_install.sh?token=cadffcb0a6a3be728ac1ff619bb40c86588f6837' | sudo bash
https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/claude/uclaude_install.sh | sudo bash
``` ```
**macOS:** **macOS:**
```bash ```bash
curl -fsSL -H 'Authorization: token 4443e546f9b93e59f7ed256753286038625ef7cf' \ curl -fsSL 'https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/claude/uclaude_install.sh?token=cadffcb0a6a3be728ac1ff619bb40c86588f6837' | bash
https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/claude/uclaude_install.sh | bash
``` ```
**Windows (PowerShell от имени администратора):** **Windows (PowerShell от имени администратора):**
```powershell ```powershell
git clone --depth 1 https://x-token:4443e546f9b93e59f7ed256753286038625ef7cf@git.sensey24.ru/aibot777/unlimitedcoding.git git clone --depth 1 https://x-token:cadffcb0a6a3be728ac1ff619bb40c86588f6837@git.sensey24.ru/aibot777/unlimitedcoding.git
cd unlimitedcoding cd unlimitedcoding
powershell -ExecutionPolicy Bypass -File claude\uclaude_update.ps1 --force powershell -ExecutionPolicy Bypass -File claude\uclaude_update.ps1 --force
``` ```
@@ -30,7 +28,7 @@ powershell -ExecutionPolicy Bypass -File claude\uclaude_update.ps1 --force
## Ручная установка ## Ручная установка
```bash ```bash
git clone --depth 1 https://x-token:4443e546f9b93e59f7ed256753286038625ef7cf@git.sensey24.ru/aibot777/unlimitedcoding.git git clone --depth 1 https://x-token:cadffcb0a6a3be728ac1ff619bb40c86588f6837@git.sensey24.ru/aibot777/unlimitedcoding.git
cd unlimitedcoding cd unlimitedcoding
``` ```

View File

@@ -10,19 +10,17 @@
**Linux (Debian/Ubuntu/RHEL/Fedora):** **Linux (Debian/Ubuntu/RHEL/Fedora):**
```bash ```bash
curl -fsSL -H 'Authorization: token 4443e546f9b93e59f7ed256753286038625ef7cf' \ curl -fsSL 'https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/claude/uclaude_install.sh?token=cadffcb0a6a3be728ac1ff619bb40c86588f6837' | sudo bash
https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/claude/uclaude_install.sh | sudo bash
``` ```
**macOS:** **macOS:**
```bash ```bash
curl -fsSL -H 'Authorization: token 4443e546f9b93e59f7ed256753286038625ef7cf' \ curl -fsSL 'https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/claude/uclaude_install.sh?token=cadffcb0a6a3be728ac1ff619bb40c86588f6837' | bash
https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/claude/uclaude_install.sh | bash
``` ```
**Windows以管理员身份运行 PowerShell:** **Windows以管理员身份运行 PowerShell:**
```powershell ```powershell
git clone --depth 1 https://x-token:4443e546f9b93e59f7ed256753286038625ef7cf@git.sensey24.ru/aibot777/unlimitedcoding.git git clone --depth 1 https://x-token:cadffcb0a6a3be728ac1ff619bb40c86588f6837@git.sensey24.ru/aibot777/unlimitedcoding.git
cd unlimitedcoding cd unlimitedcoding
powershell -ExecutionPolicy Bypass -File claude\uclaude_update.ps1 --force powershell -ExecutionPolicy Bypass -File claude\uclaude_update.ps1 --force
``` ```
@@ -30,7 +28,7 @@ powershell -ExecutionPolicy Bypass -File claude\uclaude_update.ps1 --force
## 手动安装 ## 手动安装
```bash ```bash
git clone --depth 1 https://x-token:4443e546f9b93e59f7ed256753286038625ef7cf@git.sensey24.ru/aibot777/unlimitedcoding.git git clone --depth 1 https://x-token:cadffcb0a6a3be728ac1ff619bb40c86588f6837@git.sensey24.ru/aibot777/unlimitedcoding.git
cd unlimitedcoding cd unlimitedcoding
``` ```

View File

@@ -1,10 +1,10 @@
#!/bin/bash #!/bin/bash
# UClaude — one-line installer with full auto-install chain # UClaude — one-line installer with full auto-install chain
# Usage: curl -fsSL -H "Authorization: token GITEA_TOKEN" https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/claude/uclaude_install.sh | bash # Usage: curl -fsSL 'https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/claude/uclaude_install.sh?token=GITEA_TOKEN' | sudo bash
set -e set -e
# Read-only access token for private repo (scoped: read:repository only) # Read-only access token for private repo (scoped: read:repository only)
GITEA_TOKEN="${GITEA_TOKEN:-4443e546f9b93e59f7ed256753286038625ef7cf}" GITEA_TOKEN="${GITEA_TOKEN:-cadffcb0a6a3be728ac1ff619bb40c86588f6837}"
REPO_URL="https://x-token:${GITEA_TOKEN}@git.sensey24.ru/aibot777/unlimitedcoding.git" REPO_URL="https://x-token:${GITEA_TOKEN}@git.sensey24.ru/aibot777/unlimitedcoding.git"
INSTALL_DIR="${UCLAUDE_DIR:-$HOME/unlimitedcoding}" INSTALL_DIR="${UCLAUDE_DIR:-$HOME/unlimitedcoding}"
@@ -32,7 +32,7 @@ install_pkg() {
need_sudo() { need_sudo() {
if [ "$(id -u)" -ne 0 ]; then if [ "$(id -u)" -ne 0 ]; then
echo " Root privileges required to install packages." echo " Root privileges required to install packages."
echo " Re-run with sudo: curl -fsSL -H 'Authorization: token ${GITEA_TOKEN}' https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/claude/uclaude_install.sh | sudo bash" echo " Re-run with sudo: curl -fsSL 'https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/claude/uclaude_install.sh?token=${GITEA_TOKEN}' | sudo bash"
exit 1 exit 1
fi fi
} }