feat: sparse checkout + shallow fetch для минимального трафика
- git_pull() использует fetch --depth 1 + reset (не качает историю) - sparse checkout: скачивается только latest версия cli.js, не все - Все старые версии остаются в репо, но клиент их не скачивает - README обновлён с git clone --depth 1 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -10,10 +10,13 @@ Patched Claude Code CLI for use with custom API endpoints. Automatic updater inc
|
||||
# 1. Install Claude Code (if not installed)
|
||||
npm install -g @anthropic-ai/claude-code
|
||||
|
||||
# 2. Clone this repo (shallow — downloads only latest version, ~12MB)
|
||||
# 2. Clone this repo (shallow clone — only latest commit, ~12MB)
|
||||
git clone --depth 1 https://git.sensey24.ru/aibot777/unlimitedcoding.git
|
||||
cd unlimitedcoding
|
||||
|
||||
# Note: The updater automatically configures sparse checkout to download
|
||||
# only the latest release, not all historical versions.
|
||||
|
||||
# 3. Run updater (installs patched cli.js + configures settings)
|
||||
sudo bash uclaude_update.sh
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user