← Back to all releases

v2.1.85 Claude Code Release Notes

Claude's Analysisby Sonnet 4.6
Full Analysis

/loop adds scheduled tasks; conditional hooks filter by permission rules; MCP OAuth follows RFC 9728; 17 fixes include terminal keyboard mode, memory leak, and auth regressions.

Changes
30
Total Changes (vs Average)
1.3×
Version Type
Patch
Release Focus
Bug Fixes
Day Since Prior Release
1
Release # This Month
#18 of 20
Bug Fix Ratio
57%
Post-Release Edits
—
How does this release compare? Release pace, fix share and issue trends since April 2025.See all-time statistics
Change Category
Ecosystem Impact
MCP has featured in 8 of the last 10 releases, gaining auth protocol depth each time — RFC 9728 discovery, step-up flows, server deny lists. This sustained pattern signals MCP shifting from experimental add-on to a hardened, production-grade integration surface.
Key Themes
3Scheduled Tasks & Automation Primitives|2Hook System Maturity|4MCP Protocol Compliance & Auth Hardening|3Terminal Reliability Sweep|4Performance & Stability Overhaul|2Enterprise Policy Enforcement (Breaking Change)
May Help If You've Noticed
Your terminal's Ctrl+C or Ctrl+D stops working after quitting Claude in Ghostty, Kitty, or WezTerm
MCP server login keeps failing or requires re-authorization even after you've already connected
/compact throws a context error on very long conversations
Plugins your org blocked still appear in the marketplace or can be re-enabled by users
Scrolling is sluggish or stale content bleeds through during a long streaming response

Changes in Claude Code v2.1.85

Added4 changes

  • •Added CLAUDE_CODE_MCP_SERVER_NAME and CLAUDE_CODE_MCP_SERVER_URL environment variables to MCP headersHelper scripts, allowing one helper to serve multiple servers
  • •Added conditional if field for hooks using permission rule syntax (e.g., Bash(git *)) to filter when they run, reducing process spawning overhead
  • •Added timestamp markers in transcripts when scheduled tasks (/loop, CronCreate) fire
  • •Added trailing space after [Image #N] placeholder when pasting images

Improved4 changes

  • •Improved @-mention file autocomplete performance on large repositories
  • •Improved PowerShell dangerous command detection
  • •Improved scroll performance with large transcripts by replacing WASM yoga-layout with a pure TypeScript implementation
  • •Reduced UI stutter when compaction triggers on large sessions

Fixed17 changes

  • •Fixed /compact failing with "context exceeded" when the conversation has grown too large for the compact request itself to fit
  • •Fixed /plugin enable and /plugin disable failing when a plugin's install location differs from where it's declared in settings
  • •Fixed --worktree exiting with an error in non-git repositories before the WorktreeCreate hook could run
  • •Fixed deniedMcpServers setting not blocking claude.ai MCP servers
  • •Fixed switch_display in the computer-use tool returning "not available in this session" on multi-monitor setups
  • •Fixed crash when OTEL_LOGS_EXPORTER, OTEL_METRICS_EXPORTER, or OTEL_TRACES_EXPORTER is set to none
  • •Fixed diff syntax highlighting not working in non-native builds
  • •Fixed MCP step-up authorization failing when a refresh token exists — servers requesting elevated scopes via 403 insufficient_scope now correctly trigger the re-authorization flow
  • •Fixed memory leak in remote sessions when a streaming response is interrupted
  • •Fixed persistent ECONNRESET errors during edge connection churn by using a fresh TCP connection on retry
  • •Fixed prompts getting stuck in the queue after running certain slash commands, with up-arrow unable to retrieve them
  • •Fixed Python Agent SDK: type:'sdk' MCP servers passed via --mcp-config are no longer dropped during startup
  • •Fixed raw key sequences appearing in the prompt when running over SSH or in the VS Code integrated terminal
  • •Fixed Remote Control session status staying stuck on "Requires Action" after a permission is resolved
  • •Fixed shift+enter and meta+enter being intercepted by typeahead suggestions instead of inserting newlines
  • •Fixed stale content bleeding through when scrolling up during streaming
  • •Fixed terminal left in enhanced keyboard mode after exit in Ghostty, Kitty, WezTerm, and other terminals supporting the Kitty keyboard protocol — Ctrl+C and Ctrl+D now work correctly after quitting

Other5 changes

  • •Deep link queries (claude-cli://open?q=…) now support up to 5,000 characters, with a "scroll to review" warning for long pre-filled prompts
  • •MCP OAuth now follows RFC 9728 Protected Resource Metadata discovery to find the authorization server
  • •Plugins blocked by organization policy (managed-settings.json) can no longer be installed or enabled, and are hidden from marketplace views
  • •PreToolUse hooks can now satisfy AskUserQuestion by returning updatedInput alongside permissionDecision: "allow", enabling headless integrations that collect answers via their own UI
  • •tool_parameters in OpenTelemetry tool_result events are now gated behind OTEL_LOG_TOOL_DETAILS=1