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 Code adds voice input with push-to-talk functionality
Claude Code is rolling out voice mode to approximately 5% of users initially, featuring push-to-talk activation by holding spacebar. Voice transcription tokens don't count against rate limits and the feature is included at no extra cost.

Chrome's Gemini Nano AI Model Consumes 4GB of Disk Space
Google Chrome automatically downloads a 4GB weights.bin file for the Gemini Nano on-device AI model, which may bloat storage without clear user notification. Disabling the On-Device AI toggle in settings removes the file and prevents re-download.

Agentic Web Index: AI Bot Traffic Stats Show Mass Scraping, Spoofing
Known Agents' new index reveals bots make up 35% of web traffic, AI-related bot traffic grew 12%, and attackers are spoofing AI agents like ClaudeBot to run mass vulnerability scans.

Hy3 LLM Tops OpenRouter Rankings: Cheapest Model or Something Else?
Hy3 preview, a Tencent open-source LLM, surged to the top of OpenRouter's model rankings by token usage, surpassing Claude and DeepSeek V4 Flash. Priced at $0.066/1M input tokens, it's the cheapest major model, but benchmarks show quality far below leaders.