UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

14 lines (13 loc) 550 B
import { s as readSecretFileSync, t as DEFAULT_SECRET_FILE_MAX_BYTES } from "./secret-file-QljTRMYg.js"; //#region src/acp/secret-file.ts /** Secret-file reader for ACP command-line credentials. */ const MAX_SECRET_FILE_BYTES = DEFAULT_SECRET_FILE_MAX_BYTES; /** Reads an ACP secret file with the shared secret-file size and symlink policy. */ function readSecretFromFile(filePath, label) { return readSecretFileSync(filePath, label, { maxBytes: MAX_SECRET_FILE_BYTES, rejectSymlink: true }); } //#endregion export { readSecretFromFile as t };