Files
unlimitedcoding/claude/README_zh.md
delta-cloud-208e e45a11c97d docs: sync all README files to v2.1.62 with correct instructions
Update claude/README_ru.md, claude/README_zh.md, claude/README_es.md
to match the English version structure:
- Add VERSION_BADGE markers with v2.1.62 (20 patches)
- Add Method A (npm registry) as primary install option
- Add Method B (automatic installer) as backup option
- Replace outdated "15 patches applied" text

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
2026-02-27 08:30:05 +00:00

114 lines
3.7 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)
<!-- VERSION_BADGE:START -->
用于自定义 API 端点的修补版 Claude Code CLI。最新版本**v2.1.62** (20 个补丁)。
<!-- VERSION_BADGE:END -->
## 安装
### 方法 A — npm 注册表(推荐)
直接从我们的 npm 注册表安装修补包。新版本发布时自动更新。
**Linux / macOS:**
```bash
npm config set @anthropic-ai:registry https://npm.sensey24.ru/
npm install -g @anthropic-ai/claude-code
```
**Windows (PowerShell):**
```powershell
npm config set "@anthropic-ai:registry" "https://npm.sensey24.ru/"
npm install -g @anthropic-ai/claude-code
```
### 方法 B — 自动安装程序(备用)
使用自动依赖检测和设置进行安装。从发布版下载修补后的 cli.js。
**Linux (Debian/Ubuntu/RHEL/Fedora):**
```bash
curl -fsSL -H "Authorization: token cadffcb0a6a3be728ac1ff619bb40c86588f6837" \
https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/claude/uclaude_install.sh \
-o /tmp/uclaude.sh && sudo bash /tmp/uclaude.sh
```
**macOS:**
```bash
curl -fsSL -H "Authorization: token cadffcb0a6a3be728ac1ff619bb40c86588f6837" \
https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/claude/uclaude_install.sh \
-o /tmp/uclaude.sh && bash /tmp/uclaude.sh
```
**Windows (以管理员身份运行 PowerShell):**
```powershell
git clone --depth 1 https://x-token:cadffcb0a6a3be728ac1ff619bb40c86588f6837@git.sensey24.ru/aibot777/unlimitedcoding.git
cd unlimitedcoding
powershell -ExecutionPolicy Bypass -File claude\uclaude_update.ps1 --force
```
## 手动安装
```bash
git clone --depth 1 https://x-token:cadffcb0a6a3be728ac1ff619bb40c86588f6837@git.sensey24.ru/aibot777/unlimitedcoding.git
cd unlimitedcoding
```
| 平台 | 命令 |
|----------|---------|
| Linux | `sudo bash claude/uclaude_update.sh --force` |
| macOS | `bash claude/uclaude_update.sh --force` |
| Windows CMD | `claude\uclaude_update.bat --force` |
| Windows PowerShell | `powershell -ExecutionPolicy Bypass -File claude\uclaude_update.ps1 --force` |
## 更新
| 平台 | 命令 |
|----------|---------|
| Linux | `cd ~/unlimitedcoding && sudo bash claude/uclaude_update.sh` |
| macOS | `cd ~/unlimitedcoding && bash claude/uclaude_update.sh` |
| Windows | `cd %USERPROFILE%\unlimitedcoding && claude\uclaude_update.bat` |
## 选项
| 参数 | 描述 |
|------|-------------|
| `--check` | 仅检查更新 |
| `--force` | 强制重装 |
| `--settings-only` | 仅修补设置,不替换 cli.js |
## 补丁内容
- 自定义 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.example.json` | 配置模板(实际配置从私有仓库获取) |
| `releases/index.json` | 版本索引 |
| `releases/v*/cli.js` | 各版本修补后的 cli.js |