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

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
ElicitationandElicitationResulthooks 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.sparsePathssetting forclaude --worktreein large monorepos to check out only needed directories via git sparse-checkout - Post-compaction hook – Added
PostCompacthook that fires after compaction completes - Effort control – Added
/effortslash command to set model effort level - Session surveys – Added session quality survey; enterprise admins can configure sample rate via
feedbackSurveyRatesetting
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
--worktreestartup performance by reading git refs directly and skipping redundantgit fetchwhen 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-dirto only accept one path to support subcommands – use repeated--plugin-dirfor multiple directories
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
/colorcommand 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_useblocks, 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
👀 See Also

DeepSeek Rejects Alibaba: $50B Funding Round Prioritizes Independence Over Big Tech Integration
DeepSeek's $50B funding round collapses with Alibaba due to integration demands; founder Liang Wenfeng insists on no restrictive clauses, weighing offers from Tencent and state-backed funds.

Stripe's Minions: Enhancing Developer Productivity with One-Shot End-to-End Coding Agents
Stripe Minions are one-shot, end-to-end coding agents designed to boost developer productivity by automating complex tasks within the Stripe ecosystem.

OpenAI Training Costs Projected to Exceed Anthropic's by 4-5 Times Annually
According to confidential financials reported by the Wall Street Journal, OpenAI expects to spend 4-5 times more on training than Anthropic each year for the next five years. The expense scale is described as mind-boggling.

Context Quality Degradation in AI Agents: Hallucination Rates Increase with Token Count
Testing shows hallucination rates increase from ~3% at 10K tokens to ~28% at 200K tokens, with recall accuracy dropping below 90% for early-session information once context exceeds 50K tokens.