releaseintermediate
[Release] anthropics/claude-code v2.1.118: v2.1.118
By ashwin-antgithub
View original on githubClaude Code v2.1.118 introduces vim visual mode selection, consolidates `/cost` and `/stats` into `/usage`, enables custom themes with JSON editing, and allows hooks to invoke MCP tools directly. The release includes significant improvements to MCP OAuth authentication, auto mode configuration with defaults merging, and numerous bug fixes across WSL integration, plugin management, credential handling, and remote sessions.
Key Points
- •Added vim visual mode (`v`) and visual-line mode (`V`) with selection operators and visual feedback for enhanced text editing
- •Merged `/cost` and `/stats` commands into unified `/usage` command while maintaining backward compatibility as typing shortcuts
- •Implemented custom theme creation and switching via `/theme` command with JSON file editing in `~/.claude/themes/` and plugin theme distribution support
- •Enabled hooks to invoke MCP tools directly using `type: "mcp_tool"` configuration for extended automation capabilities
- •Added `DISABLE_UPDATES` environment variable for stricter update blocking compared to `DISABLE_AUTOUPDATER`
- •Implemented `"$defaults"` inclusion in auto mode rules to merge custom rules with built-in defaults instead of replacing them
- •Fixed critical MCP OAuth issues: token expiry handling, scope validation, cross-process locking, and macOS keychain race conditions
- •Enhanced WSL on Windows to inherit managed settings via `wslInheritsWindowsSettings` policy key
- •Added `claude plugin tag` command for creating release git tags with version validation
- •Fixed credential save crash on Linux/Windows and `/login` behavior with `CLAUDE_CODE_OAUTH_TOKEN` environment variable
Found this useful? Add it to a playbook for a step-by-step implementation guide.
Workflow Diagram
Start Process
Step A
Step B
Step C
Complete