release: Claude Code v2.1.78 (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.77/install.sh` |
|
| Linux / macOS | `sudo bash claude/releases/v2.1.78/install.sh` |
|
||||||
| Windows CMD | `claude\releases\v2.1.77\install.bat` |
|
| Windows CMD | `claude\releases\v2.1.78\install.bat` |
|
||||||
| Windows PowerShell | `powershell -ExecutionPolicy Bypass -File claude\releases\v2.1.77\install.ps1` |
|
| Windows PowerShell | `powershell -ExecutionPolicy Bypass -File claude\releases\v2.1.78\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.77** (28 patches).
|
Patched Claude Code CLI for use with custom API endpoints. Latest: **v2.1.78** (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.77",
|
"target_version": "2.1.78",
|
||||||
"effort_level": "high"
|
"effort_level": "high"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,12 @@
|
|||||||
{
|
{
|
||||||
"latest": "2.1.77",
|
"latest": "2.1.78",
|
||||||
"releases": [
|
"releases": [
|
||||||
|
{
|
||||||
|
"version": "2.1.78",
|
||||||
|
"date": "2026-03-18",
|
||||||
|
"patches": 28,
|
||||||
|
"status": "stable"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"version": "2.1.77",
|
"version": "2.1.77",
|
||||||
"date": "2026-03-17",
|
"date": "2026-03-17",
|
||||||
|
|||||||
28
claude/releases/v2.1.78/CHANGELOG_UPSTREAM.md
Normal file
28
claude/releases/v2.1.78/CHANGELOG_UPSTREAM.md
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
## 2.1.78
|
||||||
|
|
||||||
|
- Added `StopFailure` hook event that fires when the turn ends due to an API error (rate limit, auth failure, etc.)
|
||||||
|
- Added `${CLAUDE_PLUGIN_DATA}` variable for plugin persistent state that survives plugin updates; `/plugin uninstall` prompts before deleting it
|
||||||
|
- Added `effort`, `maxTurns`, and `disallowedTools` frontmatter support for plugin-shipped agents
|
||||||
|
- Terminal notifications (iTerm2/Kitty/Ghostty popups, progress bar) now reach the outer terminal when running inside tmux with `set -g allow-passthrough on`
|
||||||
|
- Response text now streams line-by-line as it's generated
|
||||||
|
- Fixed `git log HEAD` failing with "ambiguous argument" inside sandboxed Bash on Linux, and stub files polluting `git status` in the working directory
|
||||||
|
- Fixed `cc log` and `--resume` silently truncating conversation history on large sessions (>5 MB) that used subagents
|
||||||
|
- Fixed infinite loop when API errors triggered stop hooks that re-fed blocking errors to the model
|
||||||
|
- Fixed `deny: ["mcp__servername"]` permission rules not removing MCP server tools before sending to the model, allowing it to see and attempt blocked tools
|
||||||
|
- Fixed `sandbox.filesystem.allowWrite` not working with absolute paths (previously required `//` prefix)
|
||||||
|
- Fixed `/sandbox` Dependencies tab showing Linux prerequisites on macOS instead of macOS-specific info
|
||||||
|
- **Security:** Fixed silent sandbox disable when `sandbox.enabled: true` is set but dependencies are missing — now shows a visible startup warning
|
||||||
|
- Fixed `.git`, `.claude`, and other protected directories being writable without a prompt in `bypassPermissions` mode
|
||||||
|
- Fixed ctrl+u in normal mode scrolling instead of readline kill-line (ctrl+u/ctrl+d half-page scroll moved to transcript mode only)
|
||||||
|
- Fixed voice mode modifier-combo push-to-talk keybindings (e.g. ctrl+k) requiring a hold instead of activating immediately
|
||||||
|
- Fixed voice mode not working on WSL2 with WSLg (Windows 11); WSL1/Win10 users now get a clear error
|
||||||
|
- Fixed `--worktree` flag not loading skills and hooks from the worktree directory
|
||||||
|
- Fixed `CLAUDE_CODE_DISABLE_GIT_INSTRUCTIONS` and `includeGitInstructions` setting not suppressing the git status section in the system prompt
|
||||||
|
- Fixed Bash tool not finding Homebrew and other PATH-dependent binaries when VS Code is launched from Dock/Spotlight
|
||||||
|
- Fixed washed-out Claude orange color in VS Code/Cursor/code-server terminals that don't advertise truecolor support
|
||||||
|
- Added `ANTHROPIC_CUSTOM_MODEL_OPTION` env var to add a custom entry to the `/model` picker, with optional `_NAME` and `_DESCRIPTION` suffixed vars for display
|
||||||
|
- Fixed `ANTHROPIC_BETAS` environment variable being silently ignored when using Haiku models
|
||||||
|
- Fixed queued prompts being concatenated without a newline separator
|
||||||
|
- Improved memory usage and startup time when resuming large sessions
|
||||||
|
- [VSCode] Fixed a brief flash of the login screen when opening the sidebar while already authenticated
|
||||||
|
- [VSCode] Fixed "API Error: Rate limit reached" when selecting Opus — model dropdown no longer offers 1M context variant to subscribers whose plan tier is unknown
|
||||||
15311
claude/releases/v2.1.78/cli.js
Executable file
15311
claude/releases/v2.1.78/cli.js
Executable file
File diff suppressed because one or more lines are too long
36
claude/releases/v2.1.78/install.sh
Executable file
36
claude/releases/v2.1.78/install.sh
Executable file
@@ -0,0 +1,36 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
# Claude Code Patcher — standalone installer for v2.1.78
|
||||||
|
# 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