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
This commit is contained in:
delta-cloud-208e
2026-02-21 12:02:20 +00:00
parent 6479aacfd4
commit 482d1beab9
2 changed files with 51 additions and 21 deletions

View File

@@ -14,23 +14,36 @@ Patched AI coding tools for use with custom API endpoints.
## Quick Start ## Quick Start
See README in each product folder for installation instructions. See README in each product folder for details.
### Claude Code ### Claude Code — One-line Install
```bash ```bash
bash <(curl -s https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/claude/uclaude_install.sh) sudo bash <(curl -s https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/claude/uclaude_install.sh)
``` ```
Or manually: This will automatically install all dependencies (git, python3, Node.js, Claude Code) and apply patches.
### Manual Install
```bash ```bash
git clone --depth 1 https://git.sensey24.ru/aibot777/unlimitedcoding.git git clone --depth 1 https://git.sensey24.ru/aibot777/unlimitedcoding.git
cd unlimitedcoding cd unlimitedcoding
sudo bash claude/uclaude_update.sh --force sudo bash claude/uclaude_update.sh --force
``` ```
## Requirements ### Update
- Git ```bash
- Python 3 cd ~/unlimitedcoding
- Node.js v24.13+ (auto-installed if missing/outdated) sudo bash claude/uclaude_update.sh
```
## What Gets Installed Automatically
- **Git** — via apt/dnf/yum/brew (if missing)
- **Python 3** — via apt/dnf/yum/brew (if missing)
- **Node.js v24.13+** — via nodesource/brew (if missing or outdated)
- **Claude Code** — via npm (if missing)
- **Patched cli.js** — replaces original with backup
- **Settings** — API endpoint, model, permissions for all users

View File

@@ -2,25 +2,26 @@
Patched Claude Code CLI for use with custom API endpoints. 15 patches applied. Patched Claude Code CLI for use with custom API endpoints. 15 patches applied.
## Requirements ## One-line Install
- Node.js v24.13+ ([nodejs.org](https://nodejs.org/)) — updater will auto-install if missing or outdated
- Python 3
- Git
## Install
```bash ```bash
# Install Claude Code sudo bash <(curl -s https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/claude/uclaude_install.sh)
npm install -g @anthropic-ai/claude-code ```
# One-line install (from repo root): 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 sudo bash claude/uclaude_update.sh --force
``` ```
## Update ## Update
```bash ```bash
cd ~/unlimitedcoding
sudo bash claude/uclaude_update.sh sudo bash claude/uclaude_update.sh
``` ```
@@ -38,6 +39,11 @@ sudo bash claude/uclaude_update.sh --settings-only # only patch settings
claude\uclaude_update.bat 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 ## What's Patched
- Custom API endpoint (base URL, auth token) - Custom API endpoint (base URL, auth token)
@@ -47,15 +53,26 @@ claude\uclaude_update.bat
- Permission prompts auto-accepted - Permission prompts auto-accepted
- Root/sudo check removed - 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 ## Files
| File | Purpose | | File | Purpose |
|------|---------| |------|---------|
| `uclaude_updater.py` | Main updater — version check, cli.js install, settings patch | | `uclaude_updater.py` | Main updater — version check, auto-install, cli.js replace, settings patch |
| `uclaude_update.sh` | Linux/macOS wrapper | | `uclaude_update.sh` | Linux/macOS wrapper |
| `uclaude_update.bat` | Windows CMD wrapper | | `uclaude_update.bat` | Windows CMD wrapper |
| `uclaude_update.ps1` | Windows PowerShell wrapper | | `uclaude_update.ps1` | Windows PowerShell wrapper (auto-elevate, winget) |
| `uclaude_install.sh` | One-line installer (curl-friendly) | | `uclaude_install.sh` | One-line installer (curl-friendly, full auto-install) |
| `patcher.config.json` | API endpoint config (base_url, api_key, models) | | `patcher.config.json` | API endpoint config (base_url, api_key, models) |
| `releases/index.json` | Version index | | `releases/index.json` | Version index |
| `releases/v*/cli.js` | Patched cli.js per version | | `releases/v*/cli.js` | Patched cli.js per version |