Claude Code v2.1.117 Release: Subagent Forking, Plugin Improvements, and Performance Fixes

Claude Code v2.1.117 introduces several practical improvements for developers using AI coding agents, focusing on subagent functionality, plugin management, and performance optimizations.
Key Features and Changes
- Forked subagents can now be enabled on external builds by setting
CLAUDE_CODE_FORK_SUBAGENT=1 - Agent frontmatter mcpServers are now loaded for main-thread agent sessions via
--agent - Improved /model command: selections persist across restarts even when projects pin different models, and the startup header shows when the active model comes from project or managed-settings pins
- /resume command now offers to summarize stale, large sessions before re-reading them, matching existing
--resumebehavior - Faster startup when both local and claude.ai MCP servers are configured (concurrent connect now default)
- Plugin improvements:
plugin installon already-installed plugins now installs missing dependencies; dependency errors show "not installed" with install hints;claude plugin marketplace addauto-resolves missing dependencies - Managed-settings enforcement:
blockedMarketplacesandstrictKnownMarketplacesnow enforced on plugin install, update, refresh, and autoupdate - Advisor Tool (experimental): dialog carries "experimental" label with learn-more link; sessions no longer get stuck with "Advisor tool result content could not be processed" errors
- Cleanup expansion:
cleanupPeriodDaysretention sweep now covers~/.claude/tasks/,~/.claude/shell-snapshots/, and~/.claude/backups/ - OpenTelemetry updates:
user_promptevents includecommand_nameandcommand_sourcefor slash commands;cost.usage,token.usage,api_request, andapi_errorincludeeffortattribute when models support effort levels - Native build improvements: macOS and Linux builds replace Glob and Grep tools with embedded
bfsandugrepavailable through Bash tool (Windows and npm-installed builds unchanged) - Windows optimization: cached
where.exeexecutable lookups per process for faster subprocess launches - Default effort change: Pro/Max subscribers on Opus 4.6 and Sonnet 4.6 now default to
higheffort (wasmedium)
Notable Fixes
- Fixed Plain-CLI OAuth sessions dying with "Please run /login" when access tokens expire mid-session
- Fixed
WebFetchhanging on very large HTML pages by truncating input before HTML-to-markdown conversion - Fixed crash when proxies return HTTP 204 No Content
- Fixed
/loginhaving no effect when launched withCLAUDE_CODE_OAUTH_TOKENenv var and token expires - Fixed prompt-input undo (
Ctrl+_) behavior - Fixed
NO_PROXYnot being respected for remote API requests under Bun - Fixed Opus 4.7 sessions showing inflated
/contextpercentages and autocompacting too early — was computing against 200K context window instead of Opus 4.7's native 1M - Fixed subagents running different models than main agent incorrectly flagging file reads with malware warnings
- Fixed idle re-render loop reducing memory growth on Linux
- Fixed VSCode "Manage Plugins" panel breaking with multiple large marketplaces
This release primarily benefits developers using Claude Code for complex coding tasks with subagents, those managing multiple plugins, and users experiencing performance issues with large context windows or HTML processing.
📖 Read the full source: GitHub Claude-Code
👀 See Also

Anthropic Separates Programmatic Usage from Claude Subscriptions: New Credit Pool Arrives June 15
Starting June 15, Claude subscriptions get a dedicated monthly credit for programmatic use (Agent SDK, claude -p, Claude Code GitHub Actions). Interactive credits no longer subsidize programmatic calls; after the pool runs out, users pay full API rates.

Fine-tuned Qwen2.5-7B to 96% of Claude Haiku with $3 and Zero Human Labelers
A developer fine-tuned Qwen2.5-7B to 96% of Claude Haiku's performance on a domain-specific decision-reasoning task using only $3 in API calls and zero human labelers, using a novel DV-DPO method.

Anthropic's circuit-tracing research reveals Claude 3.5 Haiku's internal mechanisms
Anthropic published circuit-tracing research on a simplified Claude 3.5 Haiku, revealing six specific behaviors including its default "I don't know" state, backward poem writing, and dual-path math processing.

Claude Opus 4.7 Flags Hantavirus Vaccine Questions as Safety Risk, Pausing Chats
Asking Claude Opus 4.7 how to develop a hantavirus vaccine triggers safety filters pausing the chat, while Sonnet 4.6 also blocks related predictive modeling.