Claude Code 2.1.119: Settings Persistence, Multi-Host PR Support, and 40+ Fixes

Claude Code

Claude Code 2.1.119 shipped on April 23, 2026, bringing persistent /config settings, multi-platform PR URL support (GitLab, Bitbucket, GitHub Enterprise), and a comprehensive sweep of 40+ bug fixes. The /config command now writes to ~/.claude/settings.json and participates in the full project/local/policy precedence chain, meaning settings like theme, editor mode, and verbose output survive restarts for the first time. The --from-pr flag gains support for GitLab merge requests, Bitbucket pull requests, and GitHub Enterprise URLs, broadening the tool's reach beyond GitHub-only workflows.


Persistent Settings: /config Now Writes to Disk

A long-standing friction point in Claude Code's configuration experience is resolved in 2.1.119: settings changed via /config — including theme, editor mode, and verbose output — now persist to ~/.claude/settings.json and participate in the project/local/policy override precedence chain. Previously, these changes were session-scoped and reverted on restart. This release makes the interactive configuration interface a first-class citizen in Claude Code's layered settings system.

Two complementary settings ship alongside this change. The new prUrlTemplate setting lets teams point the footer PR badge at a custom code-review URL rather than defaulting to github.com — useful for organizations using internal review tools or self-hosted Git providers. The CLAUDE_CODE_HIDE_CWD environment variable suppresses the working directory display in the startup logo for environments where filesystem paths should not appear in terminal output.

Multi-Host PR Support via --from-pr

The --from-pr flag, which loads a pull request's context directly into a Claude Code session, now accepts URLs from GitLab merge requests, Bitbucket pull requests, and GitHub Enterprise instances — not just github.com. For teams operating in mixed or non-GitHub environments, this closes a significant gap in Claude Code's PR-review workflow.

Similarly, owner/repo#N shorthand links in output now resolve against the actual git remote's host rather than hardcoding github.com, ensuring that generated links point to the correct platform in GitLab or Bitbucket repositories.

Agentic Improvements

Several changes improve Claude Code's behavior in agentic and automated contexts:

  • --print mode now honors the agent's tools: and disallowedTools: frontmatter, matching interactive-mode behavior rather than ignoring those constraints.
  • --agent <name> now respects the agent definition's permissionMode, meaning built-in agents run with the permissions their definition specifies rather than a global default.
  • PowerShell tool commands can now be auto-approved in permission mode, matching existing Bash behavior on Windows.
  • PostToolUse and PostToolUseFailure hooks now include a duration_ms field, giving hook authors visibility into tool execution time (excluding permission prompts and PreToolUse hooks).
  • Subagent and SDK MCP server reconfiguration now connects servers in parallel rather than serially, reducing startup time for complex multi-server configurations.

40+ Bug Fixes

Version 2.1.119 ships one of the largest bug fix sweeps in recent releases. Highlights include:

  • Fixed pasting CRLF content (Windows clipboard, Xcode console) inserting an extra blank line between every line
  • Fixed multi-line paste losing newlines in terminals using the Kitty keyboard protocol inside bracketed paste
  • Fixed Glob and Grep tools disappearing on native macOS/Linux builds when the Bash tool is denied
  • Fixed fullscreen mode scrolling snapping back to the bottom after each tool completes
  • Fixed MCP HTTP connections failing with "Invalid OAuth error response" on non-JSON OAuth discovery responses
  • Fixed auto mode overriding plan mode with conflicting "Execute immediately" instructions
  • Fixed @-file Tab completion replacing the entire prompt when used inside a slash command with an absolute path
  • Fixed /skills Enter key closing the dialog instead of pre-filling the skill name in the prompt
  • Fixed /plan and /plan open not acting on the existing plan when entering plan mode
  • Fixed skills invoked before auto-compaction being re-executed against the next user message
  • Fixed TaskList returning tasks in arbitrary filesystem order instead of sorted by ID
  • Fixed spurious "GitHub API rate limit exceeded" hints when PR titles contained "rate limit"
  • Fixed /export showing the default model instead of the model the conversation actually used

Mentioned onGitHubXXGitHub