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 sinceAnthropic'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/hookssee 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.