release: Claude Code v2.1.112 (28 patches)
This commit is contained in:
@@ -259,9 +259,9 @@ cd unlimitedcoding
|
|||||||
<!-- MANUAL_VERSION:START -->
|
<!-- MANUAL_VERSION:START -->
|
||||||
| Platform | Command |
|
| Platform | Command |
|
||||||
|----------|---------|
|
|----------|---------|
|
||||||
| Linux / macOS | `sudo bash claude/releases/v2.1.111/install.sh` |
|
| Linux / macOS | `sudo bash claude/releases/v2.1.112/install.sh` |
|
||||||
| Windows CMD | `claude\releases\v2.1.111\install.bat` |
|
| Windows CMD | `claude\releases\v2.1.112\install.bat` |
|
||||||
| Windows PowerShell | `powershell -ExecutionPolicy Bypass -File claude\releases\v2.1.111\install.ps1` |
|
| Windows PowerShell | `powershell -ExecutionPolicy Bypass -File claude\releases\v2.1.112\install.ps1` |
|
||||||
<!-- MANUAL_VERSION:END -->
|
<!-- MANUAL_VERSION:END -->
|
||||||
|
|
||||||
## Update
|
## Update
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
🌐 [English](README.md) | [Русский](README_ru.md) | [中文](README_zh.md) | [Español](README_es.md)
|
🌐 [English](README.md) | [Русский](README_ru.md) | [中文](README_zh.md) | [Español](README_es.md)
|
||||||
|
|
||||||
<!-- VERSION_BADGE:START -->
|
<!-- VERSION_BADGE:START -->
|
||||||
Patched Claude Code CLI for use with custom API endpoints. Latest: **v2.1.111** (28 patches).
|
Patched Claude Code CLI for use with custom API endpoints. Latest: **v2.1.112** (28 patches).
|
||||||
<!-- VERSION_BADGE:END -->
|
<!-- VERSION_BADGE:END -->
|
||||||
|
|
||||||
## Install
|
## Install
|
||||||
|
|||||||
@@ -1,8 +1,9 @@
|
|||||||
{
|
{
|
||||||
"base_url": "https://your-api-endpoint.example.com",
|
"base_url": "https://your-api-endpoint.example.com",
|
||||||
"api_key": "YOUR_API_KEY",
|
"api_key": "YOUR_API_KEY",
|
||||||
"model": "claude-opus-4-6",
|
"model": "claude-opus-4-7",
|
||||||
"models": [
|
"models": [
|
||||||
|
"claude-opus-4-7",
|
||||||
"claude-opus-4-6",
|
"claude-opus-4-6",
|
||||||
"claude-sonnet-4-6",
|
"claude-sonnet-4-6",
|
||||||
"gpt-5.3-codex",
|
"gpt-5.3-codex",
|
||||||
@@ -18,10 +19,10 @@
|
|||||||
"glm-4.7"
|
"glm-4.7"
|
||||||
],
|
],
|
||||||
"default_sonnet_model": "claude-sonnet-4-6",
|
"default_sonnet_model": "claude-sonnet-4-6",
|
||||||
"default_opus_model": "claude-opus-4-6",
|
"default_opus_model": "claude-opus-4-7",
|
||||||
"timeout_ms": 3000000,
|
"timeout_ms": 3000000,
|
||||||
"theme": "dark",
|
"theme": "dark",
|
||||||
"complete_onboarding": true,
|
"complete_onboarding": true,
|
||||||
"target_version": "2.1.71",
|
"target_version": "2.1.111",
|
||||||
"effort_level": "high"
|
"effort_level": "high"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -23,6 +23,6 @@
|
|||||||
"timeout_ms": 3000000,
|
"timeout_ms": 3000000,
|
||||||
"theme": "dark",
|
"theme": "dark",
|
||||||
"complete_onboarding": true,
|
"complete_onboarding": true,
|
||||||
"target_version": "2.1.111",
|
"target_version": "2.1.112",
|
||||||
"effort_level": "high"
|
"effort_level": "high"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,12 @@
|
|||||||
{
|
{
|
||||||
"latest": "2.1.111",
|
"latest": "2.1.112",
|
||||||
"releases": [
|
"releases": [
|
||||||
|
{
|
||||||
|
"version": "2.1.112",
|
||||||
|
"date": "2026-04-17",
|
||||||
|
"patches": 28,
|
||||||
|
"status": "partial"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"version": "2.1.111",
|
"version": "2.1.111",
|
||||||
"date": "2026-04-16",
|
"date": "2026-04-16",
|
||||||
|
|||||||
3
claude/releases/v2.1.112/CHANGELOG_UPSTREAM.md
Normal file
3
claude/releases/v2.1.112/CHANGELOG_UPSTREAM.md
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
## 2.1.112
|
||||||
|
|
||||||
|
- Fixed "claude-opus-4-7 is temporarily unavailable" for auto mode
|
||||||
18412
claude/releases/v2.1.112/cli.js
Executable file
18412
claude/releases/v2.1.112/cli.js
Executable file
File diff suppressed because one or more lines are too long
36
claude/releases/v2.1.112/install.sh
Executable file
36
claude/releases/v2.1.112/install.sh
Executable file
@@ -0,0 +1,36 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
# Claude Code Patcher — standalone installer for v2.1.112
|
||||||
|
# Usage: sudo bash install.sh [--all] [--skip-cli]
|
||||||
|
set -e
|
||||||
|
|
||||||
|
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
|
||||||
|
CLI_JS="$SCRIPT_DIR/cli.js"
|
||||||
|
PATCHER="$SCRIPT_DIR/claude_code_patcher.py"
|
||||||
|
CONFIG="$SCRIPT_DIR/patcher.config.json"
|
||||||
|
|
||||||
|
TARGET="/usr/lib/node_modules/@anthropic-ai/claude-code/cli.js"
|
||||||
|
[ ! -f "$TARGET" ] && TARGET="/usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js"
|
||||||
|
[ ! -f "$TARGET" ] && TARGET="/opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js"
|
||||||
|
|
||||||
|
if [ ! -f "$TARGET" ]; then
|
||||||
|
echo "ERROR: Claude Code cli.js not found. Install Claude Code first."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Install patched cli.js
|
||||||
|
if [ "$1" != "--skip-cli" ]; then
|
||||||
|
echo "Installing patched cli.js..."
|
||||||
|
BACKUP="$TARGET.bak.$(date +%Y%m%d%H%M%S)"
|
||||||
|
cp "$TARGET" "$BACKUP"
|
||||||
|
cp "$CLI_JS" "$TARGET"
|
||||||
|
node --check "$TARGET" || { cp "$BACKUP" "$TARGET"; echo "SYNTAX ERROR, rolled back"; exit 1; }
|
||||||
|
echo "Installed. Backup: $BACKUP"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Apply user settings
|
||||||
|
if [ -f "$PATCHER" ] && [ -f "$CONFIG" ]; then
|
||||||
|
echo "Applying user settings..."
|
||||||
|
python3 "$PATCHER" --config "$CONFIG" --all --skip-cli-patch --skip-update
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo "Done. Run 'claude --version' to verify."
|
||||||
Reference in New Issue
Block a user