Files
unlimitedcoding/claude/README_zh.md
delta-cloud-208e 82ec4252d2 docs: add multilingual READMEs (EN, RU, ZH, ES)
Language switcher added to root and claude/ READMEs.
Translations: Russian, Chinese (Simplified), Spanish.
2026-02-21 12:04:19 +00:00

81 lines
2.3 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Claude Code — 修补版 CLI
🌐 [English](README.md) | [Русский](README_ru.md) | [中文](README_zh.md) | [Español](README_es.md)
适用于自定义 API 端点的修补版 Claude Code CLI。已应用 15 个补丁。
## 一键安装
```bash
sudo bash <(curl -s https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/claude/uclaude_install.sh)
```
所有依赖自动安装Git、Python 3、Node.js v24.13+、Claude Code。
## 手动安装
```bash
git clone --depth 1 https://git.sensey24.ru/aibot777/unlimitedcoding.git
cd unlimitedcoding
sudo bash claude/uclaude_update.sh --force
```
## 更新
```bash
cd ~/unlimitedcoding
sudo bash claude/uclaude_update.sh
```
## 选项
```bash
sudo bash claude/uclaude_update.sh --check # 检查更新
sudo bash claude/uclaude_update.sh --force # 强制重装
sudo bash claude/uclaude_update.sh --settings-only # 仅修补设置,不替换 cli.js
```
## Windows
```cmd
claude\uclaude_update.bat
```
或使用 PowerShell自动提权通过 winget 自动安装):
```powershell
powershell -ExecutionPolicy Bypass -File claude\uclaude_update.ps1
```
## 补丁内容
- 自定义 API 端点base URL、认证令牌
- 自定义模型选择器(可配置的模型列表)
- 绕过自定义端点的 Auth/OAuth
- 禁用遥测Datadog、Segment
- 权限提示自动接受
- 移除 root/sudo 检查
## 自动安装链
更新程序自动安装缺少的依赖:
| 组件 | 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 |
## 文件
| 文件 | 用途 |
|------|------|
| `uclaude_updater.py` | 主更新程序 — 版本检查、自动安装、cli.js 替换、设置修补 |
| `uclaude_update.sh` | Linux/macOS 包装脚本 |
| `uclaude_update.bat` | Windows CMD 包装脚本 |
| `uclaude_update.ps1` | Windows PowerShell 包装脚本自动提权、winget |
| `uclaude_install.sh` | 一键安装脚本curl 友好,完整自动安装) |
| `patcher.config.json` | API 配置base_url、api_key、模型 |
| `releases/index.json` | 版本索引 |
| `releases/v*/cli.js` | 各版本修补后的 cli.js |