Repository Public Research preview
1// Builds the skill from the MCP package so both ship the same engine. A test asserts the copies are identical.2import { copyFileSync, mkdirSync } from "node:fs";3const src = new URL("./mcp/", import.meta.url), dst = new URL("./skill/latex-manuscript-qa/", import.meta.url);4mkdirSync(new URL("scripts/lib/", dst), { recursive: true });5for (const f of ["engine.mjs", "logparse.mjs"]) copyFileSync(new URL(`lib/${f}`, src), new URL(`scripts/lib/${f}`, dst));6copyFileSync(new URL("LICENSE", src), new URL("LICENSE", dst));7console.log("skill built: engine.mjs, logparse.mjs");8