Claude Code v2.1.221 · 3 Aug 2026
Artifact environment variables, with the API token treated as a credential
Three artifact environment variables are now recognised, with the API token stripped from spawned processes as a secret.
Use it now Notable
No documentation found New Features
Copy link
Copy markdown
JSON
All of v2.1.221
Use it now Tier: how much it should matter to you
3 Useful: my rating, 1 to 5
0 Signal: worth watching, 1 to 5
Artifacts Area: what it touches
New Features Kind: in v2.1.221, 03 Aug 26
What probably matters to you Section of the release
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.
How sure we are
One source agrees One thing we can check says the same as this entry.
The name it cites is new in this build New in this build: CLAUDE_CODE_ARTIFACTS_API_TOKEN
See this entry in the whole of v2.1.221 →
3 Aug 2026 · 308 entries, this one is #61.
Use it now28 You'll notice152 Nothing to try yet44 Under the hood84
Open the release →
Names in this entry
env CLAUDE_CODE_ARTIFACT PR review artifact pages can show a pinned button that approves the pull request from your GitHub account.
env CLAUDE_CODE_ARTIFACTS_API_TOKEN Three artifact environment variables are now recognised, with the API token stripped from spawned processes as a secret.
env CLAUDE_CODE_ARTIFACT_ASSET_BASE_URL Three artifact environment variables are now recognised, with the API token stripped from spawned processes as a secret.
env CLAUDE_CODE_ARTIFACT_LIVE_BASE_URL Three artifact environment variables are now recognised, with the API token stripped from spawned processes as a secret.
env CLAUDE_CODE_OAUTH_TOKEN Three artifact environment variables are now recognised, with the API token stripped from spawned processes as a secret.
env ANTHROPIC_API_KEY API key sent as X-Api-Key header. When set, this key is used instead of your Claude Pro, Max, Team, or Enterprise subscription even if you are logged in. In non-interactive mode (-p), the key is always used when present. In interactive mode, you are prompted to approve the key once before it overrides your subscription. To use your subscription instead, run unset ANTHROPIC_API_KEY
Is this right?
0
0
Feedback
What's wrong with this entry?
Hard to understand Too vague Looks wrong Not relevant to me Too long Missing the detail I wanted Duplicate of another card
Clear Learned something new I can act on this Good catch
Related
Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.
← Previous · 60 of 308
claude doctor reports sandbox credential-mask problems
Use it now Sandbox
In v2.1.221 What probably matters to you release-page order
Next → · 62 of 308
In non-interactive runs, built-in help and feedback no longer reserve those command names
Use it now Slash Commands