refactor: перенос файлов в claude/ + мульти-продуктовая структура
- Все claude-файлы перенесены в claude/ (uclaude_updater.py, скрипты, config) - claude/README.md с инструкцией для Claude Code - Корневой README — общий для всех продуктов (claude, codex, gemini, qwen, antigravity) - Node.js v24.13+ автоустановка через nodesource - Sparse checkout: клиент скачивает только latest версию cli.js Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
102
README.md
102
README.md
@@ -1,92 +1,36 @@
|
||||
# Unlimited Coding — Claude Code Patches
|
||||
# Unlimited Coding
|
||||
|
||||
Patched Claude Code CLI for use with custom API endpoints. Automatic updater included.
|
||||
Patched AI coding tools for use with custom API endpoints.
|
||||
|
||||
## Products
|
||||
|
||||
| Folder | Tool | Status |
|
||||
|--------|------|--------|
|
||||
| [claude/](claude/) | Claude Code | Active |
|
||||
| codex/ | OpenAI Codex CLI | Planned |
|
||||
| gemini/ | Gemini CLI | Planned |
|
||||
| qwen/ | Qwen Code | Planned |
|
||||
| antigravity/ | Antigravity | Planned |
|
||||
|
||||
## Quick Start
|
||||
|
||||
### First Install
|
||||
See README in each product folder for installation instructions.
|
||||
|
||||
### Claude Code
|
||||
|
||||
```bash
|
||||
# 1. Install Claude Code (if not installed)
|
||||
npm install -g @anthropic-ai/claude-code
|
||||
bash <(curl -s https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/claude/uclaude_install.sh)
|
||||
```
|
||||
|
||||
# 2. Clone and install (one command — downloads only latest version)
|
||||
bash <(curl -s https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/uclaude_install.sh)
|
||||
|
||||
# Or manually:
|
||||
git clone --depth 1 --no-checkout https://git.sensey24.ru/aibot777/unlimitedcoding.git
|
||||
Or manually:
|
||||
```bash
|
||||
git clone --depth 1 https://git.sensey24.ru/aibot777/unlimitedcoding.git
|
||||
cd unlimitedcoding
|
||||
git sparse-checkout set '/*' 'claude/releases/index.json'
|
||||
git checkout
|
||||
# Read latest version from index, then checkout only that version:
|
||||
VER=$(python3 -c "import json; print(json.load(open('claude/releases/index.json'))['latest'])")
|
||||
git sparse-checkout add "claude/releases/v${VER}"
|
||||
git checkout
|
||||
sudo python3 uclaude_updater.py --force
|
||||
```
|
||||
|
||||
### 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
|
||||
sudo bash claude/uclaude_update.sh --force
|
||||
```
|
||||
|
||||
## Requirements
|
||||
|
||||
- Node.js 18+
|
||||
- Claude Code (`npm install -g @anthropic-ai/claude-code`)
|
||||
- Python 3
|
||||
- Git
|
||||
- Python 3
|
||||
- Node.js v24.13+ (auto-installed if missing/outdated)
|
||||
|
||||
Reference in New Issue
Block a user