Claude Code 2.1.76 adds MCP elicitation, worktree improvements, and fixes for context limits

✍️ OpenClawRadar📅 Published: March 14, 2026🔗 Source
Claude Code 2.1.76 adds MCP elicitation, worktree improvements, and fixes for context limits
Ad

Version 2.1.76 Updates

Claude Code 2.1.76 adds several new features and fixes multiple issues from the previous release.

New Features

  • MCP elicitation support – MCP servers can now request structured input mid-task via interactive dialog (form fields or browser URL)
  • New hooks – Added Elicitation and ElicitationResult hooks to intercept and override responses before they're sent back
  • Session naming – Added -n / --name <name> CLI flag to set a display name for the session at startup
  • Worktree optimization – Added worktree.sparsePaths setting for claude --worktree in large monorepos to check out only needed directories via git sparse-checkout
  • Post-compaction hook – Added PostCompact hook that fires after compaction completes
  • Effort control – Added /effort slash command to set model effort level
  • Session surveys – Added session quality survey; enterprise admins can configure sample rate via feedbackSurveyRate setting

Key Fixes

  • Fixed deferred tools (loaded via ToolSearch) losing input schemas after conversation compaction, which caused array and number parameters to be rejected with type errors
  • Fixed spurious "Context limit reached" when invoking a skill with model: frontmatter on a 1M-context session
  • Fixed "adaptive thinking is not supported on this model" error when using non-standard model strings
  • Fixed Bash(cmd:*) permission rules not matching when a quoted argument contains #
  • Fixed auto-compaction retrying indefinitely after consecutive failures – now stops after 3 attempts with a circuit breaker
  • Fixed clipboard copying in tmux over SSH – now attempts both direct terminal write and tmux clipboard integration
  • Fixed slash commands not found when typing the exact name of a soft-hidden command
  • Fixed several Remote Control issues: sessions silently dying when server reaps idle environment, rapid message queuing, and stale work items causing redelivery after JWT refresh

Improvements

  • Improved --worktree startup performance by reading git refs directly and skipping redundant git fetch when remote branch is already available locally
  • Improved background agent behavior – killing a background agent now preserves its partial results in conversation context
  • Improved model fallback notifications – now always visible instead of hidden behind verbose mode, with human-friendly model names
  • Improved blockquote readability on dark terminal themes – text is now italic with a left bar instead of dim
  • Improved stale worktree cleanup – worktrees left behind after interrupted parallel runs are now automatically cleaned up
  • Improved Remote Control session titles – now derived from your first prompt instead of showing "Interactive session"
  • Updated --plugin-dir to only accept one path to support subcommands – use repeated --plugin-dir for multiple directories
Ad

Version 2.1.75 Highlights

The previous release 2.1.75 included:

  • Added 1M context window for Opus 4.6 by default for Max, Team, and Enterprise plans (previously required extra usage)
  • Added /color command for all users to set a prompt-bar color for your session
  • Added session name display on the prompt bar when using /rename
  • Added last-modified timestamps to memory files, helping Claude reason about which memories are fresh vs. stale
  • Added hook source display (settings/plugin/skill) in permission prompts when a hook requires confirmation
  • Fixed token estimation over-counting for thinking and tool_use blocks, preventing premature context compaction

These updates are particularly relevant for developers working with large codebases who need better context management and more reliable tool interactions.

📖 Read the full source: HN AI Agents

Ad

👀 See Also