Source Intelligence

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.251 Home All releases olderv2.1.250
Claude Code v2.1.251

Clearer reasons a host is rejected from a permission rule

You'll notice
Useful3 Signal1
Permissions

Rejected hosts in network permission rules now come with a plain-language reason.

What

When a host or URL cannot be used as the target of a network permission rule, Claude Code now explains why in plain language instead of just refusing.

Details
  • Three reasons are produced: the value contains a wildcard, described as "a wildcard, which srt matches against every host"; it contains unsafe whitespace or control characters; or it is "longer than a hostname can be".
  • The validation helper runs unconditionally when a rule host is parsed.
Evidence

longer than a hostname can be

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.251 →