feat: uclaude_updater — automatic client updater

- uclaude_updater.py — auto-detect version, install cli.js, patch settings
- uclaude_update.sh/bat/ps1 — platform wrappers (git pull + run updater)
- patcher.config.json — shared API config
- Updated README with full usage instructions

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
delta-cloud-208e
2026-02-21 11:38:48 +00:00
parent 32d8009861
commit eb8d26a991
6 changed files with 702 additions and 21 deletions

18
uclaude_update.bat Normal file
View File

@@ -0,0 +1,18 @@
@echo off
REM UClaude Updater — automatic Claude Code patch updater
REM Usage: uclaude_update.bat [--check] [--force] [--settings-only]
setlocal enabledelayedexpansion
set "SCRIPT_DIR=%~dp0"
cd /d "%SCRIPT_DIR%"
REM Pull latest artifacts
git pull --quiet 2>nul
REM Run updater
python uclaude_updater.py %*
if errorlevel 1 (
echo.
echo If you see permission errors, run this script as Administrator.
pause
)