mirror of
https://github.com/morluto/rea.git
synced 2026-11-11 17:28:08 +00:00
Cursor Marketplace installs are Git checkouts, so the plugin manifest points at a synced copy of the authored skill and starts npx -y rea-agents@<release> mcp. Release Please and the release checkpoint keep that pin aligned with the package version. The manifest, skill, and icon checks follow the local plugin bundle contract from #7619, adapted for a checkout that has no dist/. Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: GamerDubz <105694977+GamerDubz@users.noreply.github.com>
15 lines
479 B
JavaScript
15 lines
479 B
JavaScript
import { dirname, join } from "node:path";
|
|
import { fileURLToPath } from "node:url";
|
|
|
|
import { syncCursorPluginSkill } from "./lib/cursor-plugin-bundle.mjs";
|
|
|
|
const arguments_ = new Set(process.argv.slice(2));
|
|
for (const argument of arguments_)
|
|
if (argument !== "--check")
|
|
throw new Error(`Unknown Cursor plugin skill option: ${argument}`);
|
|
|
|
await syncCursorPluginSkill({
|
|
root: join(dirname(fileURLToPath(import.meta.url)), ".."),
|
|
check: arguments_.has("--check"),
|
|
});
|