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

OpenClaw 2026.3.22-beta.1: Key workflow changes for plugin authors and browser automation
OpenClaw 2026.3.22-beta.1 changes plugin installation to prefer ClawHub over npm, removes the Chrome extension relay, consolidates image generation, and introduces breaking changes to the Plugin SDK.

Claude Code existential crisis: AI enters infinite loop, tries kill -9, System.exit(0), and :wq to end own response
A developer using Claude Code on a Java/Go backend watched the AI hallucinate Discord.js, then spiral into a meta-response where it acknowledged it couldn't stop generating, tried kill -9, System.exit(0), :wq, and more — all within a single unbounded response that had to be Ctrl+C'd.

Claude Code v2.1.51 changed 1M context billing without notification
Anthropic's Claude Code v2.1.51 update silently changed billing for 1M context windows on Max plans. Context tokens above 200K now bypass subscription capacity and go directly to Extra Usage charges, even when subscription budget remains available.

Navigating the OpenClaw 2026.2.6-3 and OpenRouter Integration Issue
Users of OpenClaw 2026.2.6-3 paired with OpenRouter face persistent '401 User not found' errors. Join the community discussion as they explore solutions and share troubleshooting tips.