Source Intelligence
Reading a new release v2.1.251 Analysing changes · 2/5 Sorting the findings · 1/4 steps 470 findings $18.91 so far

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v2.1.21 Home All releases olderv2.1.20 v2.1.22newer
Claude Code v2.1.21

Organization Policy Limits (Enterprise)

What

Enterprise organizations can now enforce access policies that restrict certain Claude Code features like remote sessions.

Details
  • New API endpoint /api/claude_code/policy_limits fetches organization-defined restrictions
  • Policies are cached locally at ~/.config/claude-code/policy-limits.json
  • Automatic refresh on authentication changes and periodic background polling
  • Currently enforces allow_remote_sessions policy for teleport and remote session creation
  • Only available for enterprise subscription users with proper API scopes
  • When blocked, users see: "Remote sessions are disabled by your organization's policy."
Evidence

BB() at line 388033 (enterprise check, uses subscriptionType !== "enterprise"), YP() at line 380468 (policy checker, uses "allow_remote_sessions"), IX2() at line 380287 (API endpoint builder, contains "/api/claude_code/policy_limits")

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v2.1.21 →