← Files Atbash SafetyARCHIVED FILE

skills/atbash-setup/scripts/atbash-control.mjs

551 Bytes · Nov 11, 2026 · 12:46 UTC

↓ Download file

See the change to this file →

#!/usr/bin/env node

import { spawn } from "node:child_process";
import { dirname, resolve } from "node:path";
import process from "node:process";
import { fileURLToPath } from "node:url";

const here = dirname(fileURLToPath(import.meta.url));
const runtime = resolve(here, "../../../runtime/control.cjs");
const child = spawn(process.execPath, [runtime, ...process.argv.slice(2)], { stdio: "inherit" });
child.once("error", () => {
  process.exitCode = 1;
});
child.once("exit", (code, signal) => {
  process.exitCode = signal ? 1 : (code ?? 1);
});

SHA-256: f8c9c7bfa63168d7eccb8f706edf9b2ce355d82b7d14e76638103b754a6bfdef