Claude-Code v2.1.78: Plugin State, Streaming Responses, and Critical Fixes

What's New in Claude-Code v2.1.78
Anthropic released Claude-Code v2.1.78 with significant improvements to plugin management, response handling, and security. This update addresses several critical bugs and adds practical features for developers using AI coding agents.
Key Additions
- StopFailure hook event: Fires when a turn ends due to API errors like rate limits or authentication failures
- ${CLAUDE_PLUGIN_DATA} variable: Provides plugin persistent state that survives plugin updates;
/plugin uninstallnow prompts before deleting this data - Frontmatter support for plugin-shipped agents: Added
effort,maxTurns, anddisallowedToolsparameters - Line-by-line response streaming: Response text now streams as it's generated
- Terminal notification improvements: iTerm2/Kitty/Ghostty popups and progress bars now reach the outer terminal when running inside tmux with
set -g allow-passthrough on - ANTHROPIC_CUSTOM_MODEL_OPTION environment variable: Adds a custom entry to the
/modelpicker, with optional_NAMEand_DESCRIPTIONsuffixed variables for display
Critical Fixes
- Fixed infinite loop: API errors triggering stop hooks no longer re-feed blocking errors to the model
- Fixed permission bypass:
deny: ["mcp__servername"]permission rules now properly remove MCP server tools before sending to the model - Fixed sandbox security:
sandbox.enabled: truewith missing dependencies now shows a visible startup warning instead of silently disabling - Fixed protected directory writes:
.git,.claude, and other protected directories are no longer writable without a prompt inbypassPermissionsmode - Fixed conversation history truncation:
cc logand--resumeno longer silently truncate large sessions (>5 MB) that used subagents
Other Improvements
- Fixed git issues:
git log HEADno longer fails with "ambiguous argument" inside sandboxed Bash on Linux, and stub files no longer pollutegit status - Fixed sandbox paths:
sandbox.filesystem.allowWritenow works with absolute paths (previously required//prefix) - Fixed platform-specific display:
/sandboxDependencies tab now shows macOS-specific info on macOS instead of Linux prerequisites - Fixed keybindings: ctrl+u in normal mode now performs readline kill-line instead of scrolling (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) now activate immediately instead of requiring a hold; WSL2 with WSLg (Windows 11) now works, while WSL1/Win10 users get a clear error
- Fixed environment variables:
ANTHROPIC_BETASis no longer silently ignored when using Haiku models - Fixed prompt concatenation: Queued prompts no longer concatenate without a newline separator
- Improved performance: Better memory usage and startup time when resuming large sessions
- Fixed VS Code issues: Brief flash of login screen when opening sidebar while authenticated; model dropdown no longer offers 1M context Opus variant to subscribers with unknown plan tiers
This release primarily benefits developers who use Claude-Code plugins, work with large conversation histories, or need more reliable sandbox and permission controls.
📖 Read the full source: GitHub Claude-Code
👀 See Also

Claude 4.6 Opus Can Reproduce Linux's list.h From Minimal Input
A user demonstrated that Claude 4.6 Opus can generate a near-identical copy of Linux's list.h header file when given the first 43 lines as input with temperature set to 0, raising questions about GPL licensing implications for AI models trained on open-source code.

Nonprofits Gain Access to Claude Opus 4.6 on Team and Enterprise Plans
Nonprofits using Team and Enterprise plans can now access Claude Opus 4.6, Anthropic's latest AI model, without any additional cost.

Opus 4.6 excels at research, Gemini 3.1 Pro has better judgment in forecasting benchmark
A benchmark of 1,417 binary forecasting questions separates research and judgment performance: Claude Opus 4.6 leads in agentic research, Gemini 3.1 Pro wins on fixed-evidence calibration. GPT-5.4 and Grok 4.20 show little change between conditions.

OpenClaw 2026.3.2 Release: Production Secrets, PDF Tool, and Safer Defaults
OpenClaw 2026.3.2 introduces a production-grade secrets system with fail-fast behavior, a native PDF tool with Anthropic and Google model support, and safer defaults that restrict tool access for new installations.