← Back
Anthropic
Claude Code 2.1.78 adds plugin state persistence and streaming responses
Claude CodeClaude · releasefeaturebugfixsecuritysdk · github.com ↗

New Features

Claude Code 2.1.78 adds persistent plugin state through the ${CLAUDE_PLUGIN_DATA} variable, which survives plugin updates and is only deleted with an explicit /plugin uninstall prompt. This enables plugins to maintain configuration and cached data across upgrades.

Plugin-shipped agents now support frontmatter configuration with effort, maxTurns, and disallowedTools directives, allowing developers to bundle pre-configured agents with plugins.

Response text now streams line-by-line as it's generated, improving perceived responsiveness. Terminal notifications (iTerm2, Kitty, Ghostty) now properly reach the outer terminal when running inside tmux with set -g allow-passthrough on.

Significant Bug Fixes

  • Security: Fixed silent sandbox disable when sandbox.enabled: true with missing dependencies—now shows a visible startup warning
  • Fixed deny: ["mcp__servername"] permission rules not removing MCP server tools from the model's visible toolset, allowing it to attempt blocked operations
  • Fixed /sandbox Dependencies tab showing incorrect OS-specific information on macOS
  • Fixed sandbox.filesystem.allowWrite not working with absolute paths
  • Fixed infinite loops triggered by API errors in stop hooks that re-fed blocking errors to the model
  • Fixed cc log and --resume silently truncating conversation history on large sessions (>5 MB) with subagents
  • Fixed git log HEAD failing with "ambiguous argument" in sandboxed Bash on Linux, and stub files polluting git status
  • Fixed Bash tool not finding Homebrew when VS Code launched from Dock/Spotlight due to missing PATH environment
  • Fixed voice mode not working on WSL2 with WSLg (Windows 11)

Additional Improvements

  • ANTHROPIC_CUSTOM_MODEL_OPTION env var allows adding custom entries to the /model picker
  • Fixed ANTHROPIC_BETAS being silently ignored with Haiku models
  • Fixed "API Error: Rate limit reached" when selecting Opus in VS Code for users with unknown plan tiers
  • Improved memory usage and startup time when resuming large sessions
  • Various terminal UI fixes (color rendering, keybindings, hyperlink handling)