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.221 Home All releases olderv2.1.220 v2.1.222newer

Artifact environment variables, with the API token treated as a credential

Use it now
Useful3 Signal0
Artifacts Notable not in their notes

Three artifact environment variables are now recognised, with the API token stripped from spawned processes as a secret.

CLAUDE_CODE_ARTIFACTS_API_TOKENCLAUDE_CODE_ARTIFACT_ASSET_BASE_URLCLAUDE_CODE_ARTIFACT_LIVE_BASE_URL
What

Three new CLAUDE_CODE_ARTIFACT* variables are recognised by the CLI, and the token among them is handled as a secret rather than ordinary configuration.

Details
  • Added to the recognised env list: CLAUDE_CODE_ARTIFACTS_API_TOKEN, CLAUDE_CODE_ARTIFACT_ASSET_BASE_URL, CLAUDE_CODE_ARTIFACT_LIVE_BASE_URL.
  • The asset and live base URLs are plain configuration; the token is classified as a credential.
  • As a credential it is stripped from the environment handed to spawned processes, and counted alongside CLAUDE_CODE_OAUTH_TOKEN and ANTHROPIC_API_KEY.
Evidence

CLAUDE_CODE_ARTIFACTS_API_TOKEN

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

Related

Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.

See this entry in the whole of v2.1.221 →