UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

12 lines (11 loc) • 405 B
import { r as readSecretFileSync, t as DEFAULT_SECRET_FILE_MAX_BYTES } from "./secret-file-Bif7RlZ-.js"; //#region src/acp/secret-file.ts const MAX_SECRET_FILE_BYTES = DEFAULT_SECRET_FILE_MAX_BYTES; function readSecretFromFile(filePath, label) { return readSecretFileSync(filePath, label, { maxBytes: MAX_SECRET_FILE_BYTES, rejectSymlink: true }); } //#endregion export { readSecretFromFile as t };