ClawdBot / scripts /smoke.js
rippanteq7
up
a35e79e
raw
history blame contribute delete
320 Bytes
import { spawnSync } from "node:child_process";
// Basic sanity: ensure the wrapper starts and the CLI exists.
const r = spawnSync("moltbot", ["--version"], { encoding: "utf8" });
if (r.status !== 0) {
console.error(r.stdout || r.stderr);
process.exit(r.status ?? 1);
}
console.log("moltbot ok:", r.stdout.trim());