release: Claude Code v2.1.74 (25 patches)
This commit is contained in:
@@ -259,9 +259,9 @@ cd unlimitedcoding
|
||||
<!-- MANUAL_VERSION:START -->
|
||||
| Platform | Command |
|
||||
|----------|---------|
|
||||
| Linux / macOS | `sudo bash claude/releases/v2.1.73/install.sh` |
|
||||
| Windows CMD | `claude\releases\v2.1.73\install.bat` |
|
||||
| Windows PowerShell | `powershell -ExecutionPolicy Bypass -File claude\releases\v2.1.73\install.ps1` |
|
||||
| Linux / macOS | `sudo bash claude/releases/v2.1.74/install.sh` |
|
||||
| Windows CMD | `claude\releases\v2.1.74\install.bat` |
|
||||
| Windows PowerShell | `powershell -ExecutionPolicy Bypass -File claude\releases\v2.1.74\install.ps1` |
|
||||
<!-- MANUAL_VERSION:END -->
|
||||
|
||||
## Update
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
🌐 [English](README.md) | [Русский](README_ru.md) | [中文](README_zh.md) | [Español](README_es.md)
|
||||
|
||||
<!-- VERSION_BADGE:START -->
|
||||
Patched Claude Code CLI for use with custom API endpoints. Latest: **v2.1.73** (25 patches).
|
||||
Patched Claude Code CLI for use with custom API endpoints. Latest: **v2.1.74** (25 patches).
|
||||
<!-- VERSION_BADGE:END -->
|
||||
|
||||
## Install
|
||||
|
||||
@@ -22,6 +22,6 @@
|
||||
"timeout_ms": 3000000,
|
||||
"theme": "dark",
|
||||
"complete_onboarding": true,
|
||||
"target_version": "2.1.73",
|
||||
"target_version": "2.1.74",
|
||||
"effort_level": "high"
|
||||
}
|
||||
|
||||
@@ -1,6 +1,12 @@
|
||||
{
|
||||
"latest": "2.1.73",
|
||||
"latest": "2.1.74",
|
||||
"releases": [
|
||||
{
|
||||
"version": "2.1.74",
|
||||
"date": "2026-03-12",
|
||||
"patches": 25,
|
||||
"status": "partial"
|
||||
},
|
||||
{
|
||||
"version": "2.1.73",
|
||||
"date": "2026-03-12",
|
||||
|
||||
19
claude/releases/v2.1.74/CHANGELOG_UPSTREAM.md
Normal file
19
claude/releases/v2.1.74/CHANGELOG_UPSTREAM.md
Normal file
@@ -0,0 +1,19 @@
|
||||
## 2.1.74
|
||||
|
||||
- Added actionable suggestions to `/context` command — identifies context-heavy tools, memory bloat, and capacity warnings with specific optimization tips
|
||||
- Added `autoMemoryDirectory` setting to configure a custom directory for auto-memory storage
|
||||
- Fixed memory leak where streaming API response buffers were not released when the generator was terminated early, causing unbounded RSS growth on the Node.js/npm code path
|
||||
- Fixed managed policy `ask` rules being bypassed by user `allow` rules or skill `allowed-tools`
|
||||
- Fixed full model IDs (e.g., `claude-opus-4-5`) being silently ignored in agent frontmatter `model:` field and `--agents` JSON config — agents now accept the same model values as `--model`
|
||||
- Fixed MCP OAuth authentication hanging when the callback port is already in use
|
||||
- Fixed MCP OAuth refresh never prompting for re-auth after the refresh token expires, for OAuth servers that return errors with HTTP 200 (e.g. Slack)
|
||||
- Fixed voice mode silently failing on the macOS native binary for users whose terminal had never been granted microphone permission — the binary now includes the `audio-input` entitlement so macOS prompts correctly
|
||||
- Fixed `SessionEnd` hooks being killed after 1.5 s on exit regardless of `hook.timeout` — now configurable via `CLAUDE_CODE_SESSIONEND_HOOKS_TIMEOUT_MS`
|
||||
- Fixed `/plugin install` failing inside the REPL for marketplace plugins with local sources
|
||||
- Fixed marketplace update not syncing git submodules — plugin sources in submodules no longer break after update
|
||||
- Fixed unknown slash commands with arguments silently dropping input — now shows your input as a warning
|
||||
- Fixed Hebrew, Arabic, and other RTL text not rendering correctly in Windows Terminal, conhost, and VS Code integrated terminal
|
||||
- Fixed LSP servers not working on Windows due to malformed file URIs
|
||||
- Changed `--plugin-dir` so local dev copies now override installed marketplace plugins with the same name (unless that plugin is force-enabled by managed settings)
|
||||
- [VSCode] Fixed delete button not working for Untitled sessions
|
||||
- [VSCode] Improved scroll wheel responsiveness in the integrated terminal with terminal-aware acceleration
|
||||
14798
claude/releases/v2.1.74/cli.js
Executable file
14798
claude/releases/v2.1.74/cli.js
Executable file
File diff suppressed because one or more lines are too long
36
claude/releases/v2.1.74/install.sh
Executable file
36
claude/releases/v2.1.74/install.sh
Executable file
@@ -0,0 +1,36 @@
|
||||
#!/bin/bash
|
||||
# Claude Code Patcher — standalone installer for v2.1.74
|
||||
# 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