v2.1.117
Claude CodeSummary
This release introduces significant improvements to plugin management, including better dependency handling and enforcement of marketplace restrictions. Users will also notice faster startup times when multiple MCP servers are configured and improved session resumption behavior. Several critical bugs related to token expiration, proxy handling, and context window calculation for Opus 4.7 have also been resolved.
New Features
- Enabled forking of subagents on external builds via the CLAUDE_CODE_FORK_SUBAGENT=1 setting.
- Agent frontmatter mcpServers are now loaded for main-thread agent sessions when using the --agent flag.
- The /resume command now offers to summarize stale, large sessions before re-reading them, aligning with existing --resume behavior.
- Plugin install now attempts to install missing dependencies when a plugin is already installed, instead of stopping.
- Plugin dependency resolution is improved: errors now indicate "not installed" with an install hint, and claude plugin marketplace add now auto-resolves missing dependencies.
Bug Fixes
- Fixed Plain-CLI OAuth sessions dying with "Please run /login" when the access token expires mid-session by reactively refreshing the token on 401 errors.
- Fixed WebFetch hanging on very large HTML pages by truncating input before HTML-to-markdown conversion.
- Fixed a crash when a proxy returns HTTP 204 No Content, now surfacing a clear error instead of a TypeError.
- Fixed /login having no effect when launched with the CLAUDE_CODE_OAUTH_TOKEN environment variable if that token subsequently expires.
- Fixed prompt-input undo (Ctrl+_) doing nothing immediately after typing and skipping a state on each undo step.
- Fixed NO_PROXY not being respected for remote API requests when running under Bun.
- Fixed rare spurious escape/return triggers when key names arrive as coalesced text over slow connections.
- Fixed SDK reload_plugins reconnecting all user MCP servers serially.
- Fixed Bedrock application-inference-profile requests failing with 400 when backed by Opus 4.7 with thinking disabled.
- Fixed MCP elicitation/create requests auto-cancelling in print/SDK mode when the server finishes connecting mid-turn.
- Fixed subagents running a different model than the main agent incorrectly flagging file reads with a malware warning.
- Fixed Opus 4.7 sessions showing inflated /context percentages and autocompacting too early because the context window size was miscalculated.
Improvements
- Model selections in /model now persist across restarts even if the project pins a different model, and the startup header indicates if the active model is from a project or managed-settings pin.
- Startup time is faster when both local and claude.ai MCP servers are configured due to concurrent connection defaulting.
- Managed-settings blockedMarketplaces and strictKnownMarketplaces are now enforced during plugin install, update, refresh, and autoupdate operations.
- The Advisor Tool (experimental) now displays an "experimental" label, a learn-more link, and a startup notification when enabled; sessions no longer get stuck with processing errors.
- The cleanupPeriodDays retention sweep now also covers ~/.claude/tasks/, ~/.claude/shell-snapshots/, and ~/.claude/backups/.
- Native builds on macOS and Linux now use embedded bfs and ugrep via the Bash tool for faster searches, replacing external Glob and Grep tools.
- Windows now caches where.exe executable lookups per process for faster subprocess launches.
- Default effort for Pro/Max subscribers on Opus 4.6 and Sonnet 4.6 is increased to high (was medium).
- Fixed an idle re-render loop when background tasks are present, reducing memory growth on Linux.
- [VSCode] Fixed the "Manage Plugins" panel breaking when multiple large marketplaces are configured.