Under the hood
Artifacts tool gains a restoreTransientForRemap hook shared with other tool-result mappers
What
The Artifacts tool, which renders an HTML file as a page on claude.ai, now includes a restoreTransientForRemap method. This is a hook already used elsewhere in Claude Code for restoring temporary state when a tool result's ID gets remapped.
Why
This brings the Artifacts tool in line with other tool-result handlers so its temporary state is preserved correctly across ID remaps, rather than being a user-facing change on its own.