Browser-based graphical shell and control plane for a Linux server you own — real terminal, file manager, live metrics and BYOK AI in one mobile-first workspace. Next.js 16 · React 19 · node-pty · Tailwind v4 · shadcn/ui. Public alpha, self-hosted.
TypeScript browser-shellcontrol-planefile-managerhomelabmobile-firstnextjsptyreactself-hostedserver-managementshadcn-uisysadmintailwindcssterminaltypescriptvpsweb-desktopweb-terminal
fix(build): keep guarded host runtime paths out of asset tracing
rahmanef6febbb0054d9
diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.mdindex 77770618..2712c98d 100644--- a/docs/CHANGELOG.md+++ b/docs/CHANGELOG.md@@ -8,6 +8,7 @@ this is the *what*, and it is what Settings → Account → About shows as “Wh**Fixed**+- `build` keep guarded host runtime paths out of asset tracing- `security` close resource and launcher gaps and repair gates- `security` inspect ZIP output through pinned descriptor- `ci` close gateway typing and audit file racesdiff --git a/lib/host/audit.ts b/lib/host/audit.tsindex 555234b1..3f5989ac 100644--- a/lib/host/audit.ts+++ b/lib/host/audit.ts@@ -118,7 +118,7 @@ function allowRateLimitAudit(action: AuditAction): boolean {async function readBoundedTail(file: string): Promise<string> {let handle;try {- handle = await fs.open(file, constants.O_RDONLY | constants.O_NOFOLLOW);+ handle = await fs.open(/* turbopackIgnore: true */ file, constants.O_RDONLY | constants.O_NOFOLLOW);const stat = await handle.stat();if (!stat.isFile()) return "";const size = Math.min(stat.size, AUDIT_READ_TAIL_BYTES);diff --git a/lib/host/delegated-write.ts b/lib/host/delegated-write.tsindex 89c5eb7c..0c7c0fe1 100644--- a/lib/host/delegated-write.ts+++ b/lib/host/delegated-write.ts@@ -8,7 +8,7 @@ import { isUnderRoot } from "./path-roots";function absolute(raw: string): string {if (raw === "~") return os.homedir();if (raw.startsWith("~/")) return path.join(os.homedir(), raw.slice(2));- return path.resolve(raw);+ return path.resolve(/* turbopackIgnore: true */ raw);}async function canonicalProspective(raw: string): Promise<string> {@@ -16,7 +16,7 @@ async function canonicalProspective(raw: string): Promise<string> {let probe = target;for (;;) {try {- const real = await fs.realpath(probe);+ const real = await fs.realpath(/* turbopackIgnore: true */ probe);const remainder = path.relative(probe, target);return remainder ? path.join(real, remainder) : real;} catch (error) {diff --git a/lib/host/fs-zip.ts b/lib/host/fs-zip.tsindex c2d72696..f02678c9 100644--- a/lib/host/fs-zip.ts+++ b/lib/host/fs-zip.ts@@ -162,7 +162,7 @@ export async function zipStream(// descriptor check makes the invariant explicit and race-free.let handle: Awaited<ReturnType<typeof fsp.open>> | undefined;try {- handle = await fsp.open(out, constants.O_RDONLY | constants.O_NOFOLLOW);+ handle = await fsp.open(/* turbopackIgnore: true */ out, constants.O_RDONLY | constants.O_NOFOLLOW);const outStat = await handle.stat();if (!outStat.isFile() || outStat.size > ZIP_MAX_OUTPUT_BYTES) {throw new HostError("Generated archive exceeds the 600 MiB output limit");