Sweep 19 Sep 2026 · 02:36Z Build v2.1.278 500 read Stable v2.1.267 Latest v2.1.278 Next v2.1.278 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.267 ·

Artifact/file title-to-filename logic reworked to distinguish 'file' vs artifact kinds

Artifact filename and extension logic reworked to better distinguish plain files from other artifact kinds

TierUnder the hoodhow much it should matter to you
Useful2my rating, 1 to 5
Signal1worth watching, 1 to 5
AreaArtifactswhat it touches
KindInternal Changesin v2.1.267,
Under the hood

Artifact filename and extension logic reworked to better distinguish plain files from other artifact kinds

What

Claude Code's logic for turning an artifact's title into a filename has been reworked with new helpers: one splits a filename into its stem and extension, one maps an artifact's content type and language to the right file extension (using an expanded language-to-extension map), and one derives a clean filename from an artifact's title. This replaces and extends the older extension-derivation code, and adds a set of extensions considered "plain."

Why

This should make filenames generated for artifacts (including plain files, distinct from other artifact kinds like diagrams) more accurate and consistent, particularly for content types and languages that weren't well handled before.

See this entry in the whole of v2.1.267 →