v2.1.9
Claude CodeSummary
This release introduces several new configuration and integration capabilities, including customizable plan storage and enhanced session context access via new string substitutions. Several critical bugs were resolved, specifically addressing failures in long parallel tool call sessions and improving terminal suspend functionality across various terminal emulators.
New Features
- Added `auto:N` syntax for configuring the MCP tool search auto-enable threshold based on context window percentage (0-100).
- Added `plansDirectory` setting to customize the storage location for plan files.
- Enabled external editor support (Ctrl+G) within the AskUserQuestion "Other" input field.
- Added session URL attribution to commits and PRs generated from web sessions.
- Added support for `PreToolUse` hooks to return `additionalContext` to the model.
- Added `${CLAUDE_SESSION_ID}` string substitution for skills to access the current session ID.
Bug Fixes
- Fixed API errors related to orphan tool_result blocks occurring during long sessions with parallel tool calls.
- Fixed MCP server reconnection hanging when the cached connection promise fails to resolve.
- Fixed Ctrl+Z suspend functionality not working in terminals utilizing the Kitty keyboard protocol (including Ghostty, iTerm2, kitty, and WezTerm).