v2.1.233
Claude CodeSummary
This release introduces several new features, including enhanced GitLab integration, user identity forwarding for apps gateways, and memory cgroup support for Bash commands. It also addresses numerous bugs, such as issues with cloud session loss, MCP connections, and permission prompt notifications, while improving session start times and error handling.
New Features
- Added support for GitLab merge request URLs in the `--worktree` flag and the `claude agents` view.
- Introduced an opt-in `forward_user_identity` setting for apps gateways on Anthropic upstreams to send signed-in user identity as headers for spend attribution.
- Enabled opt-in memory cgroup support for Bash tool commands on Linux via `CLAUDE_CODE_TOOL_MEMORY_LIMIT` to prevent runaway builds from stalling sessions.
- Added the `CLAUDE_CODE_WEBFETCH_CACHE_TTL_MS` environment variable to configure the WebFetch session URL cache TTL.
Bug Fixes
- Fixed cloud sessions being marked as lost when the environment shut down during a permission prompt.
- Resolved MCP v2 connections endlessly reopening streams against servers that terminate long-held streams.
- Fixed Notification hooks not firing for permission prompts when running under Claude Desktop or VS Code.
- Fixed idle sessions on Linux from keeping one CPU core at 100% when sandboxing is enabled.
- Fixed bundled skill aliases like `/checkup` and `/review` reporting 'Unknown command' when a user or project skill shadows the bundled skill.
- Fixed skill/command argument substitution to prevent argument values from being re-expanded as template markers.
- Fixed Windows paths with the NT `\??` device prefix bypassing UNC path validation, preventing NTLM credential leaks.
- Fixed auto mode repeatedly stopping for manual approval on ordinary `cd <dir> && <command> > file` Bash commands on Windows (a regression).
Improvements
- Improved `claude self-hosted-runner` session start time by creating the session branch without rewriting the working tree and reducing server round trips.
- Enhanced apps gateway error forwarding to include upstream's own messages for 400/413 errors from Vertex, Foundry, and Claude Platform on AWS upstreams.
- Improved `claude plugin validate` to check bare `.claude/skills` directories for unparsable SKILL.md frontmatter.
- Enhanced screen reader mode: the `/effort` selector now renders as a numbered list with a typed-number prompt, and hint/dialog text is no longer clipped.
- Improved print mode diagnostics by writing a `[claude-code:unrecognized_model]` line to stderr for unrecognized model IDs.
- Changed the GitHub app setup tip to not appear in repositories with origin remotes on gitlab.com or bitbucket.org.
- The enterprise marketplace tip now covers non-GitHub internal git hosts.