Files
unlimitedcoding/claude/README.md
delta-cloud-208e 482d1beab9 docs: update READMEs with full auto-install chain info
- Root README: add sudo to one-line install, document auto-installed components
- Claude README: add auto-install chain table, Windows PowerShell instructions, remove manual npm install step
2026-02-21 12:02:20 +00:00

79 lines
2.1 KiB
Markdown

# Claude Code — Patched CLI
Patched Claude Code CLI for use with custom API endpoints. 15 patches applied.
## One-line Install
```bash
sudo bash <(curl -s https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/claude/uclaude_install.sh)
```
All dependencies are installed automatically: Git, Python 3, Node.js v24.13+, Claude Code.
## Manual Install
```bash
git clone --depth 1 https://git.sensey24.ru/aibot777/unlimitedcoding.git
cd unlimitedcoding
sudo bash claude/uclaude_update.sh --force
```
## Update
```bash
cd ~/unlimitedcoding
sudo bash claude/uclaude_update.sh
```
## Options
```bash
sudo bash claude/uclaude_update.sh --check # check for updates
sudo bash claude/uclaude_update.sh --force # force reinstall
sudo bash claude/uclaude_update.sh --settings-only # only patch settings
```
## Windows
```cmd
claude\uclaude_update.bat
```
Or PowerShell (auto-elevates to admin, auto-installs via winget):
```powershell
powershell -ExecutionPolicy Bypass -File claude\uclaude_update.ps1
```
## What's Patched
- Custom API endpoint (base URL, auth token)
- Custom model picker (configurable model list)
- Auth/OAuth bypass for custom endpoints
- Telemetry disabled (Datadog, Segment)
- Permission prompts auto-accepted
- Root/sudo check removed
## Auto-Install Chain
The updater automatically installs missing dependencies:
| Component | Linux | macOS | Windows |
|-----------|-------|-------|---------|
| Git | apt/dnf/yum | brew | winget |
| Python 3 | apt/dnf/yum | brew | winget |
| Node.js v24.13+ | nodesource | brew | winget |
| Claude Code | npm | npm | npm |
## Files
| File | Purpose |
|------|---------|
| `uclaude_updater.py` | Main updater — version check, auto-install, cli.js replace, settings patch |
| `uclaude_update.sh` | Linux/macOS wrapper |
| `uclaude_update.bat` | Windows CMD wrapper |
| `uclaude_update.ps1` | Windows PowerShell wrapper (auto-elevate, winget) |
| `uclaude_install.sh` | One-line installer (curl-friendly, full auto-install) |
| `patcher.config.json` | API endpoint config (base_url, api_key, models) |
| `releases/index.json` | Version index |
| `releases/v*/cli.js` | Patched cli.js per version |