Something went wrong. Try again.
fork of prime agent with changes i want but are not upstreamable probqbly (and some fixes)
Something went wrong. Try again.
440 B · 14 lines
at main
123456789101112131415const { spawnSync } = require("node:child_process");const { existsSync } = require("node:fs");const { join } = require("node:path");
const script = join(__dirname, "dist", "postinstall.js");if (!existsSync(script)) { process.exit(0);}
const result = spawnSync(process.execPath, [script], { stdio: "inherit" });if (result.error) { console.error(`prime-agent: postinstall setup skipped: ${result.error.message}`);}process.exit(0);