import { normalizeOptionalString } from "@openclaw/normalization-core/string-coerce"; /** Resolves the daemon container hint exposed by managed service environments. */ export function resolveDaemonContainerContext( env: Record = process.env, ): string | null { return ( normalizeOptionalString(env.OPENCLAW_CONTAINER_HINT) || normalizeOptionalString(env.OPENCLAW_CONTAINER) || null ); }