UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

8 lines (7 loc) • 297 B
import { createHash } from "node:crypto"; //#region src/gateway/worker-environments/node-worker-gateway-namespace.ts function nodeWorkerGatewayNamespace(e) { return `gateway-${createHash("sha256").update(e).digest("hex").slice(0, 32)}`; } //#endregion export { nodeWorkerGatewayNamespace as t };