# Unlimited Coding — Claude Code Patches Patched Claude Code CLI for use with custom API endpoints. Automatic updater included. ## Quick Start ### First Install ```bash # 1. Install Claude Code (if not installed) npm install -g @anthropic-ai/claude-code # 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 ``` ### Update ```bash cd unlimitedcoding sudo bash uclaude_update.sh ``` The updater will automatically: - Pull latest releases from the repo - Detect installed Claude Code version - Install the latest patched cli.js (with backup) - Configure settings for all users on the system ### Check for Updates (without installing) ```bash cd unlimitedcoding bash uclaude_update.sh --check ``` ### Other Options ```bash sudo bash uclaude_update.sh --force # Force reinstall even if up to date sudo bash uclaude_update.sh --settings-only # Only update settings, don't touch cli.js ``` ### Windows ```cmd uclaude_update.bat ``` or PowerShell: ```powershell powershell -ExecutionPolicy Bypass -File uclaude_update.ps1 ``` ## What's Patched (15 patches) - Custom API endpoint support (base URL, auth token, models) - Auth/OAuth bypass for custom endpoints - Telemetry disabled (Datadog, Segment) - Permission prompts auto-accepted - Root/sudo check removed - Custom model picker with configurable model list ## What's Inside ``` uclaude_updater.py — main updater script uclaude_update.sh — Linux/macOS wrapper (git pull + run updater) uclaude_update.bat — Windows CMD wrapper uclaude_update.ps1 — Windows PowerShell wrapper patcher.config.json — API endpoint configuration claude/releases/ — patched cli.js files per version index.json — version index (latest, release list) v2.1.50/cli.js — patched CLI for v2.1.50 ``` ## Requirements - Node.js 18+ - Claude Code (`npm install -g @anthropic-ai/claude-code`) - Python 3 - Git