openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
12 lines (11 loc) • 601 B
JavaScript
import { t as createSubsystemLogger } from "./subsystem-BlrgtxyM.mjs";
import { n as sha256Hex } from "./node-crypto-BInnzoVt.mjs";
import "./crypto-digest-y6oZN-_F.mjs";
//#region src/agents/cli-runner/log.ts
const cliBackendLog = createSubsystemLogger("agent/cli-backend");
const CLI_BACKEND_LOG_OUTPUT_ENV = "OPENCLAW_CLI_BACKEND_LOG_OUTPUT";
function formatCliBackendOutputDigest(text) {
return `outBytes=${Buffer.byteLength(text, "utf8")} outHash=${sha256Hex(text).slice(0, 12)}`;
}
//#endregion
export { cliBackendLog as n, formatCliBackendOutputDigest as r, CLI_BACKEND_LOG_OUTPUT_ENV as t };