Claude Code's checkpoint diffing now tracks file writes and edits, not just artifacts
The internal system that tracks changes across a conversation's checkpoints used to only follow artifact tool calls. It now also follows file write and edit tool calls, and reports a kind of either 'artifact' or 'file' for each tracked change. It also counts failed edits (an edit that tried to replace text that didn't match) in a new editsFailed counter, and returns a kept list showing which artifacts are still the final version at the point in the conversation being examined.
This extends the diffing and checkpoint machinery so it can account for direct file edits alongside artifact publishing, which should make version tracking and rollback more accurate when a session mixes both kinds of changes.