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.268 ·

Artifact publish files copy-by-artifact now infers contentType from destination path

Publishing an artifact file copy now figures out its content type from the destination path automatically

TierYou'll noticehow much it should matter to you
Useful2my rating, 1 to 5
Signal1worth watching, 1 to 5
AreaArtifactswhat it touches
KindImprovementsin v2.1.268,
You'll notice

Publishing an artifact file copy now figures out its content type from the destination path automatically

What

When publishing an artifact and copying a file into it (whether given as a plain source string, a {from, ...} entry, or a {artifact, path} copy), Claude Code now works out the file's content type from where it's being placed, combined with any content type you explicitly set. Previously, the content type was only recorded when you specified it yourself via {from, contentType}; otherwise it wasn't carried through at all.

Why

This fills in a detail that used to require the file's content type to be set by hand for these copy forms, so files copied by path or by referencing another artifact are more likely to be published with the right type without extra input.

See this entry in the whole of v2.1.268 →

Feedback