When you publish an artifact (a file Claude Code shares for you), Claude Code now checks any copies involving SVG files more strictly. SVG is an image format for drawings and icons.
- A file copied to or from a name ending in
.svgmust be stored as an SVG image. - A file stored as an SVG image may only be copied to a name ending in
.svg.
The error message about files that cannot be copied has also been narrowed. It used to say a page, SVG or XML document cannot be copied. It now says a page or XML document cannot be copied, because SVG files are handled by the rules above.
A publish that copies an SVG file under a mismatched name or type can now fail where it succeeded before. If a publish stops working, check that each .svg name holds an SVG image and that each SVG image keeps a .svg name.