Claude docs changes for January 17th, 2026 [diff]

New Claude Code versions

2.1.10

New features

  • Added new Setup hook event that can be triggered via --init, --init-only, or --maintenance CLI flags for repository setup and maintenance operations
  • Added keyboard shortcut 'c' to copy OAuth URL when browser doesn't open automatically during login

Existing feature improvements

  • Improved startup to capture keystrokes typed before the REPL is fully ready
  • Improved file suggestions to show as removable attachments instead of inserting text when accepted
  • [VSCode] Added install count display to plugin listings
  • [VSCode] Added trust warning when installing plugins

Major bug fixes

  • Fixed a crash when running bash commands containing heredocs with JavaScript template literals like ${index + 1}

2.1.11

Major bug fixes

  • Fixed excessive MCP connection requests for HTTP/SSE transports

2.1.12

Major bug fixes

  • Fixed message rendering bug

Claude Code changes

Changed documents

costs [Source]

  • Added information about the new CLAUDE_AUTOCOMPACT_PCT_OVERRIDE environment variable for triggering compaction earlier than the default 95% threshold. [line 57] [Source]

settings [Source]

  • Added new spinnerTipsEnabled setting to show/hide tips in the spinner while Claude is working. [line 163] [Source]
  • Added new terminalProgressBarEnabled setting to enable/disable the terminal progress bar in Windows Terminal and iTerm2. [line 164] [Source]
  • Added new CLAUDE_AUTOCOMPACT_PCT_OVERRIDE environment variable to control when auto-compaction triggers. [line 768] [Source]
  • Added new CLAUDE_CODE_EXIT_AFTER_STOP_DELAY environment variable for automated workflows using SDK mode. [line 776] [Source]
  • Added new CLAUDE_CODE_PROXY_RESOLVES_HOSTS environment variable for proxy DNS resolution. [line 777] [Source]
  • Updated CLAUDE_CODE_MAX_OUTPUT_TOKENS description with default (32,000) and maximum (64,000) values, plus note about context window impact. [line 784] [Source]
  • Added new FORCE_AUTOUPDATE_PLUGINS environment variable to force plugin auto-updates. [line 807] [Source]
  • Added new IS_DEMO environment variable to enable demo mode for streaming/recording. [line 810] [Source]
  • Renamed BashOutput tool to TaskOutput for retrieving output from background tasks (bash shell or subagent). [line 832] [Source]
  • Added new MCPSearch tool for searching and loading MCP tools when tool search is enabled. [line 838] [Source]

sub-agents [Source]

  • Added information about CLAUDE_AUTOCOMPACT_PCT_OVERRIDE environment variable for controlling subagent auto-compaction threshold. [line 550] [Source]

API changes

Changed documents

agent-sdk/mcp [Source]

  • Complete rewrite of the MCP documentation with improved structure and new sections. [Source]
  • Renamed document from "MCP in the SDK" to "Connect to external tools with MCP". [line 1] [Source]
  • Added new Quickstart section with working example using Claude Code documentation MCP server. [lines 9-36] [Source]
  • Added "Allow MCP tools" section explaining tool naming conventions and permissions. [lines 84-135] [Source]
  • Added "MCP tool search" section for dynamic tool loading with ENABLE_TOOL_SEARCH configuration. [lines 209-245] [Source]
  • Added "Authentication" section covering environment variables, HTTP headers, and OAuth2. [lines 247-333] [Source]
  • Added working examples for listing GitHub issues and querying databases. [lines 335-419] [Source]
  • Added "Troubleshooting" section for common MCP issues. [lines 456-496] [Source]

agent-sdk/permissions [Source]

  • Removed dontAsk permission mode from available modes. [line 53] [Source]
  • Added plan permission mode that prevents tool execution (Claude plans without making changes). [lines 55, 111-115] [Source]

agent-sdk/user-input [Source]

  • Added note that clarifying questions are especially common in plan mode, making it ideal for interactive workflows. [line 196] [Source]

api/go/beta/files/upload [Source]

  • Added Go code example for file upload with the Anthropic SDK. [lines 27-55] [Source]

build-with-claude/files [Source]

  • Updated contact email link for higher rate limits. [line 284] [Source]