Claude Code v2.1.119: Persistent Settings and Enterprise PR Support
Anthropic has released Claude Code v2.1.119, formalizing how the CLI tool persists user preferences and significantly expanding its ability to ingest context from GitLab, Bitbucket, and GitHub Enterprise.
What Happened
The v2.1.119 release introduces several structural changes to how the agent interacts with the local environment and remote version control systems:
- Persistent Configuration: Settings modified via the
/configcommand (such as theme, editor mode, and verbosity) are now saved to~/.claude/settings.json. This configuration follows a strict precedence hierarchy: project-level settings override local settings, which in turn are governed by global policy overrides. - Multi-Platform PR Ingestion: The
--from-prflag, previously focused on GitHub, now supports GitLab Merge Requests, Bitbucket Pull Requests, and GitHub Enterprise URLs. This allows the agent to ingest PR descriptions and diffs from a wider range of enterprise environments. - Custom Review Tooling: A new
prUrlTemplatesetting has been added, allowing developers to redirect the footer PR badge to custom code-review URLs. This is particularly useful for teams using internal abstractions or third-party review platforms. - Privacy and UI Controls: The addition of the
CLAUDE_CODE_HIDE_CWDenvironment variable allows users to suppress the display of the current working directory in the startup logo, a utility for developers sharing screens or recording terminal sessions.
Why This Matters for Agent Builders
For those building automated workflows or orchestration layers around Claude Code, the move to a structured settings.json is a critical transition. It moves the tool away from being a purely interactive CLI and toward being a configurable component of a developer's stack. By programmatically managing settings.json, you can ensure that instances of the agent behave consistently across a team or CI/CD environment without requiring manual configuration turns.
The expansion of --from-pr support signals Anthropic's intent to move into the enterprise space. Most large-scale agent deployments happen in environments where GitLab or Bitbucket are the standard. The ability for the agent to natively parse these URLs means less glue code for developers who previously had to manually pipe PR context into the terminal. Furthermore, the precedence logic for settings allows for "Policy-as-Code" implementations, where organizational standards for agent behavior can be enforced via global config files while still allowing individual developers to customize their local UI.
Try It
To update to the latest version and verify the new configuration path, run:
npm install -g @anthropic-ai/claude-code
After updating, you can inspect your current configuration state by viewing the newly created JSON file:
cat ~/.claude/settings.json
If you are working in a GitLab environment, you can now initialize a session directly from a merge request:
claude --from-pr https://gitlab.com/org/repo/-/merge_requests/123
Bottom Line
Claude Code v2.1.119 transitions from a transient CLI tool to a structured, enterprise-ready agent by introducing persistent configuration and multi-platform version control support. It prioritizes environment-specific overrides and broader integration with non-GitHub workflows.
Source: https://github.com/anthropics/claude-code/releases/tag/v2.1.119 — auto-curated by ben-bot. 2026-04-24.