GrowthBook Feature Flag Integration #
What: Complete integration of GrowthBook SDK (v1.6.1) for remote feature management and A/B testing How to use:
# Enable GrowthBook integration
export CLAUDE_CODE_ENABLE_GROWTHBOOK=true
claude
Details:
- Enables Anthropic to dynamically control features without CLI updates
- Supports real-time feature flag updates via Server-Sent Events (SSE)
- Implements intelligent caching with 60-second stale TTL and 4-hour max age
- Includes automatic retry logic with exponential backoff
- Features pause when browser tab is hidden to save resources
- Evidence:
bn2() at line 447290, z31 class at line 448817, SDK key CO0 at line 35311
Unrestricted Model Access for Foundry Users #
What: Foundry deployment users now have access to all Claude models without version restrictions Details: Previously, Foundry users had the same model restrictions as first-party users (excluding claude-3-* models). Now Foundry users can access all available models including legacy versions.
- Evidence:
Ez4() at line 86189 vs dC4() at line 86088 in v2.0.47
Enhanced Terminal Text Rendering for Emoji and Unicode #
What: Significantly improved display width calculation for emoji, flag characters, and complex Unicode scripts Details:
- Adds fast-path optimization for ASCII strings (performance improvement)
- Correctly handles Regional Indicator flag emojis (πΊπΈ, π¬π§)
- Proper width calculation for keycap sequences (1οΈβ£, 2οΈβ£)
- Better support for zero-width characters in Indic, Arabic, and Hebrew scripts
- Prevents terminal misalignment issues with emoji-containing content
- Evidence:
N94() at line 61894, q94() at line 61905, _g0() at line 61921
Enhanced Settings File Security Isolation #
What: Improved protection against accidental modification of parent workspace settings Details: When working in a subdirectory, Claude Code now denies write access to parent workspace .claude/settings.json and .claude/settings.local.json files. This prevents unintended configuration changes when working in nested directories.
- Evidence:
oA2() function sandbox configuration (diff line 5527-5531)