release: Claude Code v2.1.81 (28 patches)
This commit is contained in:
@@ -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.80** (28 patches).
|
||||
Patched Claude Code CLI for use with custom API endpoints. Latest: **v2.1.81** (28 patches).
|
||||
<!-- VERSION_BADGE:END -->
|
||||
|
||||
## Install
|
||||
|
||||
@@ -22,6 +22,6 @@
|
||||
"timeout_ms": 3000000,
|
||||
"theme": "dark",
|
||||
"complete_onboarding": true,
|
||||
"target_version": "2.1.80",
|
||||
"target_version": "2.1.81",
|
||||
"effort_level": "high"
|
||||
}
|
||||
|
||||
@@ -1,6 +1,12 @@
|
||||
{
|
||||
"latest": "2.1.80",
|
||||
"latest": "2.1.81",
|
||||
"releases": [
|
||||
{
|
||||
"version": "2.1.81",
|
||||
"date": "2026-03-21",
|
||||
"patches": 28,
|
||||
"status": "partial"
|
||||
},
|
||||
{
|
||||
"version": "2.1.80",
|
||||
"date": "2026-03-20",
|
||||
|
||||
29
claude/releases/v2.1.81/CHANGELOG_UPSTREAM.md
Normal file
29
claude/releases/v2.1.81/CHANGELOG_UPSTREAM.md
Normal file
@@ -0,0 +1,29 @@
|
||||
## 2.1.81
|
||||
|
||||
- Added `--bare` flag for scripted `-p` calls — skips hooks, LSP, plugin sync, and skill directory walks; requires `ANTHROPIC_API_KEY` or an `apiKeyHelper` via `--settings` (OAuth and keychain auth disabled); auto-memory fully disabled
|
||||
- Added `--channels` permission relay — channel servers that declare the permission capability can forward tool approval prompts to your phone
|
||||
- Fixed multiple concurrent Claude Code sessions requiring repeated re-authentication when one session refreshes its OAuth token
|
||||
- Fixed voice mode silently swallowing retry failures and showing a misleading "check your network" message instead of the actual error
|
||||
- Fixed voice mode audio not recovering when the server silently drops the WebSocket connection
|
||||
- Fixed `CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS` not suppressing the structured-outputs beta header, causing 400 errors on proxy gateways forwarding to Vertex/Bedrock
|
||||
- Fixed `--channels` bypass for Team/Enterprise orgs with no other managed settings configured
|
||||
- Fixed a crash on Node.js 18
|
||||
- Fixed unnecessary permission prompts for Bash commands containing dashes in strings
|
||||
- Fixed plugin hooks blocking prompt submission when the plugin directory is deleted mid-session
|
||||
- Fixed a race condition where background agent task output could hang indefinitely when the task completed between polling intervals
|
||||
- Resuming a session that was in a worktree now switches back to that worktree
|
||||
- Fixed `/btw` not including pasted text when used during an active response
|
||||
- Fixed a race where fast Cmd+Tab followed by paste could beat the clipboard copy under tmux
|
||||
- Fixed terminal tab title not updating with an auto-generated session description
|
||||
- Fixed invisible hook attachments inflating the message count in transcript mode
|
||||
- Fixed Remote Control sessions showing a generic title instead of deriving from the first prompt
|
||||
- Fixed `/rename` not syncing the title for Remote Control sessions
|
||||
- Fixed Remote Control `/exit` not reliably archiving the session
|
||||
- Improved MCP read/search tool calls to collapse into a single "Queried {server}" line (expand with Ctrl+O)
|
||||
- Improved `!` bash mode discoverability — Claude now suggests it when you need to run an interactive command
|
||||
- Improved plugin freshness — ref-tracked plugins now re-clone on every load to pick up upstream changes
|
||||
- Improved Remote Control session titles to refresh after your third message
|
||||
- Updated MCP OAuth to support Client ID Metadata Document (CIMD / SEP-991) for servers without Dynamic Client Registration
|
||||
- Changed plan mode to hide the "clear context" option by default (restore with `"showClearContextOnPlanAccept": true`)
|
||||
- Disabled line-by-line response streaming on Windows (including WSL in Windows Terminal) due to rendering issues
|
||||
- [VSCode] Fixed Windows PATH inheritance for Bash tool when using Git Bash (regression in v2.1.78)
|
||||
15728
claude/releases/v2.1.81/cli.js
Executable file
15728
claude/releases/v2.1.81/cli.js
Executable file
File diff suppressed because one or more lines are too long
36
claude/releases/v2.1.81/install.sh
Executable file
36
claude/releases/v2.1.81/install.sh
Executable file
@@ -0,0 +1,36 @@
|
||||
#!/bin/bash
|
||||
# Claude Code Patcher — standalone installer for v2.1.81
|
||||
# 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