import fs from "node:fs/promises"; import path from "node:path"; import { fileURLToPath } from "node:url"; const directory = path.dirname(fileURLToPath(import.meta.url)); const sourcePath = path.resolve(directory, "../src/design/agent-console-v4.html"); const targetPath = path.resolve(directory, "../src/design/prototype.css"); const source = await fs.readFile(sourcePath, "utf8"); const match = source.match(/