feat: add workspace fs-at seam and retained root lease

This commit is contained in:
2026-08-11 13:20:32 +02:00
parent 11cc8628cf
commit c5a01e5e53
8 changed files with 1326 additions and 3 deletions
@@ -0,0 +1,8 @@
import { spawnSync } from "node:child_process";
import { dirname, resolve } from "node:path";
import { fileURLToPath } from "node:url";
const root = resolve(dirname(fileURLToPath(import.meta.url)), "../native/workspace-fs-at");
const npm = process.platform === "win32" ? "npm.cmd" : "npm";
const result = spawnSync(npm, ["exec", "--", "node-gyp@11.2.0", "rebuild", "--offline"], { cwd: root, stdio: "inherit" });
if (result.error) throw result.error;
if (result.status !== 0) process.exit(result.status ?? 1);