fix: add read-only API token for private repo access

- Embed GITEA_TOKEN in uclaude_install.sh for git clone auth
- Add Authorization header to all curl install commands in docs
- Add token to git clone URLs in Windows/manual install sections
- Token is read:repository scoped (read-only, can be revoked)

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

View File

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