Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 2026-08-11

### Changes

- Page snapshots no longer carry variant-prefixed classes such as `dark:`, `hover:` or `md:`. Those
classes describe how an element looks in some other state, not what it is, so the agents now read
a smaller and less noisy page.

## 2026-08-06

### Global Installation
Expand Down
1 change: 1 addition & 0 deletions src/utils/html.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1518,6 +1518,7 @@ function cleanElement(element: parse5TreeAdapter.Element): void {
attr.value = attr.value
.split(/\s+/)
.filter((className) => !/\d/.test(className))
.filter((className) => !className.includes(':'))
.filter((className) => !TAILWIND_CLASS_PATTERNS.some((pattern) => pattern.test(className)))
.join(' ');

Expand Down
Loading