release: Claude Code v2.1.77 (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.76/install.sh` |
|
| Linux / macOS | `sudo bash claude/releases/v2.1.77/install.sh` |
|
||||||
| Windows CMD | `claude\releases\v2.1.76\install.bat` |
|
| Windows CMD | `claude\releases\v2.1.77\install.bat` |
|
||||||
| Windows PowerShell | `powershell -ExecutionPolicy Bypass -File claude\releases\v2.1.76\install.ps1` |
|
| Windows PowerShell | `powershell -ExecutionPolicy Bypass -File claude\releases\v2.1.77\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.76** (26 patches).
|
Patched Claude Code CLI for use with custom API endpoints. Latest: **v2.1.77** (28 patches).
|
||||||
<!-- VERSION_BADGE:END -->
|
<!-- VERSION_BADGE:END -->
|
||||||
|
|
||||||
## Install
|
## Install
|
||||||
|
|||||||
@@ -22,6 +22,6 @@
|
|||||||
"timeout_ms": 3000000,
|
"timeout_ms": 3000000,
|
||||||
"theme": "dark",
|
"theme": "dark",
|
||||||
"complete_onboarding": true,
|
"complete_onboarding": true,
|
||||||
"target_version": "2.1.76",
|
"target_version": "2.1.77",
|
||||||
"effort_level": "high"
|
"effort_level": "high"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,12 @@
|
|||||||
{
|
{
|
||||||
"latest": "2.1.76",
|
"latest": "2.1.77",
|
||||||
"releases": [
|
"releases": [
|
||||||
|
{
|
||||||
|
"version": "2.1.77",
|
||||||
|
"date": "2026-03-17",
|
||||||
|
"patches": 28,
|
||||||
|
"status": "stable"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"version": "2.1.76",
|
"version": "2.1.76",
|
||||||
"date": "2026-03-14",
|
"date": "2026-03-14",
|
||||||
|
|||||||
46
claude/releases/v2.1.77/CHANGELOG_UPSTREAM.md
Normal file
46
claude/releases/v2.1.77/CHANGELOG_UPSTREAM.md
Normal file
@@ -0,0 +1,46 @@
|
|||||||
|
## 2.1.77
|
||||||
|
|
||||||
|
- Increased default maximum output token limits for Claude Opus 4.6 to 64k tokens, and the upper bound for Opus 4.6 and Sonnet 4.6 models to 128k tokens
|
||||||
|
- Added `allowRead` sandbox filesystem setting to re-allow read access within `denyRead` regions
|
||||||
|
- `/copy` now accepts an optional index: `/copy N` copies the Nth-latest assistant response
|
||||||
|
- Fixed "Always Allow" on compound bash commands (e.g. `cd src && npm test`) saving a single rule for the full string instead of per-subcommand, leading to dead rules and repeated permission prompts
|
||||||
|
- Fixed auto-updater starting overlapping binary downloads when the slash-command overlay repeatedly opened and closed, accumulating tens of gigabytes of memory
|
||||||
|
- Fixed `--resume` silently truncating recent conversation history due to a race between memory-extraction writes and the main transcript
|
||||||
|
- Fixed PreToolUse hooks returning `"allow"` bypassing `deny` permission rules, including enterprise managed settings
|
||||||
|
- Fixed Write tool silently converting line endings when overwriting CRLF files or creating files in CRLF directories
|
||||||
|
- Fixed memory growth in long-running sessions from progress messages surviving compaction
|
||||||
|
- Fixed cost and token usage not being tracked when the API falls back to non-streaming mode
|
||||||
|
- Fixed `CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS` not stripping beta tool-schema fields, causing proxy gateways to reject requests
|
||||||
|
- Fixed Bash tool reporting errors for successful commands when the system temp directory path contains spaces
|
||||||
|
- Fixed paste being lost when typing immediately after pasting
|
||||||
|
- Fixed Ctrl+D in `/feedback` text input deleting forward instead of the second press exiting the session
|
||||||
|
- Fixed API error when dragging a 0-byte image file into the prompt
|
||||||
|
- Fixed Claude Desktop sessions incorrectly using the terminal CLI's configured API key instead of OAuth
|
||||||
|
- Fixed `git-subdir` plugins at different subdirectories of the same monorepo commit colliding in the plugin cache
|
||||||
|
- Fixed ordered list numbers not rendering in terminal UI
|
||||||
|
- Fixed a race condition where stale-worktree cleanup could delete an agent worktree just resumed from a previous crash
|
||||||
|
- Fixed input deadlock when opening `/mcp` or similar dialogs while the agent is running
|
||||||
|
- Fixed Backspace and Delete keys not working in vim NORMAL mode
|
||||||
|
- Fixed status line not updating when vim mode is toggled on or off
|
||||||
|
- Fixed hyperlinks opening twice on Cmd+click in VS Code, Cursor, and other xterm.js-based terminals
|
||||||
|
- Fixed background colors rendering as terminal-default inside tmux with default configuration
|
||||||
|
- Fixed iTerm2 session crash when selecting text inside tmux over SSH
|
||||||
|
- Fixed clipboard copy silently failing in tmux sessions; copy toast now indicates whether to paste with `⌘V` or tmux `prefix+]`
|
||||||
|
- Fixed `←`/`→` accidentally switching tabs in settings, permissions, and sandbox dialogs while navigating lists
|
||||||
|
- Fixed IDE integration not auto-connecting when Claude Code is launched inside tmux or screen
|
||||||
|
- Fixed CJK characters visually bleeding into adjacent UI elements when clipped at the right edge
|
||||||
|
- Fixed teammate panes not closing when the leader exits
|
||||||
|
- Fixed iTerm2 auto mode not detecting iTerm2 for native split-pane teammates
|
||||||
|
- Faster startup on macOS (~60ms) by reading keychain credentials in parallel with module loading
|
||||||
|
- Faster `--resume` on fork-heavy and very large sessions — up to 45% faster loading and ~100-150MB less peak memory
|
||||||
|
- Improved Esc to abort in-flight non-streaming API requests
|
||||||
|
- Improved `claude plugin validate` to check skill, agent, and command frontmatter plus `hooks/hooks.json`, catching YAML parse errors and schema violations
|
||||||
|
- Background bash tasks are now killed if output exceeds 5GB, preventing runaway processes from filling disk
|
||||||
|
- Sessions are now auto-named from plan content when you accept a plan
|
||||||
|
- Improved headless mode plugin installation to compose correctly with `CLAUDE_CODE_PLUGIN_SEED_DIR`
|
||||||
|
- Show a notice when `apiKeyHelper` takes longer than 10s, preventing it from blocking the main loop
|
||||||
|
- The Agent tool no longer accepts a `resume` parameter — use `SendMessage({to: agentId})` to continue a previously spawned agent
|
||||||
|
- `SendMessage` now auto-resumes stopped agents in the background instead of returning an error
|
||||||
|
- Renamed `/fork` to `/branch` (`/fork` still works as an alias)
|
||||||
|
- [VSCode] Improved plan preview tab titles to use the plan's heading instead of "Claude's Plan"
|
||||||
|
- [VSCode] When option+click doesn't trigger native selection on macOS, the footer now points to the `macOptionClickForcesSelection` setting
|
||||||
15132
claude/releases/v2.1.77/cli.js
Executable file
15132
claude/releases/v2.1.77/cli.js
Executable file
File diff suppressed because one or more lines are too long
36
claude/releases/v2.1.77/install.sh
Executable file
36
claude/releases/v2.1.77/install.sh
Executable file
@@ -0,0 +1,36 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
# Claude Code Patcher — standalone installer for v2.1.77
|
||||||
|
# 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