UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

18 lines (17 loc) • 766 B
import { S as realpathExistingAncestorSync, x as realpathExistingAncestor } from "./runtime-doctor-migrations-JGL9tD-z.js"; import "@openclaw/fs-safe/path"; import path from "node:path"; import "@openclaw/fs-safe/advanced"; import { AsyncLocalStorage } from "node:async_hooks"; //#region src/infra/boundary-path.ts const runInBoundaryPathContext = AsyncLocalStorage.snapshot(); function resolveIdentityPathViaExistingAncestorSync(e) { const t = path.resolve(e); return realpathExistingAncestorSync(t) ?? t; } async function resolveIdentityPathViaExistingAncestor(e) { const t = path.resolve(e); return await realpathExistingAncestor(t) ?? t; } //#endregion export { resolveIdentityPathViaExistingAncestorSync as n, resolveIdentityPathViaExistingAncestor as t };