UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

16 lines (15 loc) 594 B
import { n as getWindowsInstallRoots } from "./windows-install-roots-BBaNTTOQ.js"; import { t as resolveSystemBin } from "./resolve-system-bin-IIzLwiri.js"; import path from "node:path"; //#region src/infra/ssh-client.ts function resolveSshClient() { if (process.platform !== "win32") return resolveSystemBin("ssh", { trust: "strict" }); const { systemRoot } = getWindowsInstallRoots(); const openSshDir = path.win32.join(systemRoot, "System32", "OpenSSH"); return resolveSystemBin("ssh", { trust: "strict", extraDirs: [openSshDir] }); } //#endregion export { resolveSshClient as t };