Follow Discord
Sweep 22 Sep 2026 · 17:19Z Build v2.1.280 501 read Stable v2.1.267 Latest v2.1.280 Next v2.1.280 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.265 ·

Artifact publish can now source files from the scratchpad

Artifact publish's files/root parameter can now point at the session scratchpad, not just the working directory

TierYou'll noticehow much it should matter to you
Useful1my rating, 1 to 5
Signal1worth watching, 1 to 5
AreaArtifactswhat it touches
KindImprovementsin v2.1.265,
Group of 3 You'll notice

Artifact publish's files/root parameter can now point at the session scratchpad, not just the working directory

What

  • Sources for the artifact publish tool's files parameter (and the root it's relative to) can now live in the session's scratchpad directory, not only the current working directory — the tool's parameter descriptions were updated to say so explicitly.
  • The underlying trust check for the root parameter was reworked: instead of a manual string-prefix comparison against the working directory, it now calls a new helper pair to validate the path, and file-processing calls (both the general file-copy path and thumbnail generation) pass an extra options object from a new helper function.

Why

This lets Claude publish artifacts built from files it created in its scratchpad, not just files in the project's working directory, while keeping the same path-trust safety checks, now reworked to also cover the scratchpad case.

Read from
Names in the bundlescratchpad
Since it was published

The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.

Confirmed since Anthropic's documentation has since written up scratchpad, on Claude Code changelog. * Fixed Artifact updates failing with "File not found" after a session resumes on another machine or its scratchpad is cleared: the page's last published version is restored changelog see the edit
How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's documentation agreesAnthropic's documentation has since written up scratchpad, on Claude Code changelog.

See this entry in the whole of v2.1.265 →

Feedback