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

Forbes: The AI Layoff Bill Is Coming Due — CTOs Will Pay Twice
Forbes argues that the cost of AI-driven layoffs will hit companies twice: first in severance and morale, then in rehiring when the expected efficiency gains don't materialize.

Bram Cohen critiques 'vibe coding' and AI-assisted development practices
Bram Cohen argues that 'vibe coding'—where developers avoid looking at code while using AI assistants—leads to poor software quality, using Claude's source code leak as an example of the problems with excessive dogfooding.

Apple Builds New AI Architecture on Google Gemini Foundation Models
Apple announced a major overhaul of Apple Intelligence, built on foundation models co-developed with Google using Gemini technology. The new architecture includes an orchestrator, on-device and server-side models, and multimodal capabilities.

Bonsai 1.7B Ternary Model Hits 442 T/s on M4 Max with Autonomously Tuned Metal Kernels
Autonomous agent ata optimized Metal kernels for Bonsai 1.7B Q2_0, achieving 442 t/s decode (+42%) and 4622 t/s prefill (+9%) on M4 Max vs unmodified llama.cpp.