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

Meta to capture employee mouse movements and keystrokes for AI training
Meta plans to start capturing employee mouse movements and keystrokes for AI training data, according to a Reuters report. The article has generated discussion on Hacker News with 33 points and 7 comments.

Claude Code adds scheduled task execution for automated workflows
Anthropic has enabled scheduled execution for Claude Code, allowing developers to set tasks once and have them run automatically without manual prompting. The feature supports daily commit reviews, dependency audits, error log scans, and PR reviews.

Macs for Local LLM and OpenClaw: Prompt Processing Bottleneck Makes Cloud Cheaper
A developer shares that Macs are slow for prompt processing compared to Nvidia GPUs, making cloud models like Deepseek more cost-effective for AI agents unless privacy requires local inference.

Anthropic Limits OpenClaw with New Credit System: Details and Impact
Anthropic is throttling OpenClaw again: starting June 15, 2026, all programmatic usage moves to a separate credit pool with monthly caps, no rollover, and API-rate overage billing.