Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Next Next commit
refactor(chat): split the page check into a folder, one file per check
The color math gets its own module and tests; unreadable text, clashing
surfaces and declarations with no effect each get a file, and the eval
harness finds the check as a folder too.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
  • Loading branch information
ankit and claude committed Oct 5, 2026
commit 7564b0316a4829b49926bbfaffa671ed0c72a2c1
4 changes: 3 additions & 1 deletion evals/chat/bundles.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,9 @@ const exists = (root, file) => fs.existsSync(path.join(root, file));
*/
const pageModule = (root, name) =>
[`src/features/page-bridge/chat/${name}`, `src/features/page-bridge/${name}`]
.filter(file => exists(root, `${file}.ts`))
.filter(
file => exists(root, `${file}.ts`) || exists(root, `${file}/index.ts`)
)
.map(file => path.join(root, file))[0] ?? null;

/**
Expand Down
Loading
Loading