Follow Discord
Sweep 20 Nov 2026 · 19:55Z Build v2.1.330 547 read Stable v2.1.323 Latest v2.1.330 Next v2.1.330 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.327 ·

Artifact publishing error for index.html now points to file_path

Listing index.html in an artifact's files now gives an error saying the page itself is the file sent as file_path

You'll notice Improvements
JSON All of v2.1.327
You'll noticeTier: how much it should matter to you
1Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
ArtifactsArea: what it touches
ImprovementsKind: in v2.1.327,
ImprovementsSection of the release

Unclear It is not clear whether the publish tool still accepts the html argument.

What

When you publish an artifact (a web page Claude builds and shares), the files list cannot include an entry named index.html. The error for that has been reworded. It now says:

  • the name index.html is the page itself, which is the file sent as file_path, so files takes no entry for it
  • an artifact built from a type gets its page from that type and cannot replace it

The old message said the page always came from the html argument.

Why

The new wording suggests the page is now supplied as file_path rather than as html, so anyone who scripts artifact publishing may need to send it that way.

Read from
Names in the bundlefile_path
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 file_path, on Intercept and control agent behavior with hooks. The hook denies a Write or Edit call whose `file_path` ends in `/.env`, in any letter case. On Windows, `file_path` uses backslashes, such as `C:\project\.env`, and this hook doesn't block a Write or Edit call to `C:\project\.env`. agent-sdk/hooks see the edit
How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtIt is not clear whether the publish tool still accepts the `html` argument.
Anthropic's documentation agreesAnthropic's documentation has since written up file_path, on Intercept and control agent behavior with hooks.

See this entry in the whole of v2.1.327 →

Feedback