UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

20 lines (19 loc) • 815 B
import "./oauth-Dqmi6EU2.mjs"; import "./store-a3_lxCDn.mjs"; import "./profiles-4HoYZdiM.mjs"; import "./runtime-snapshots-sMjDPg8h.mjs"; import "./external-cli-discovery-Dk_BTd8U.mjs"; import "./order-CVv16yN9.mjs"; import "./store-runtime-CGMnCh1h.mjs"; import { n as resolveAuthProfileMetadata } from "./identity-D7AaFfyz.mjs"; import "./usage-DW2n4v6E.mjs"; //#region src/agents/auth-profiles/display.ts /** Builds the human-readable profile label used in status and auth listings. */ function resolveAuthProfileDisplayLabel(params) { const { displayName, email } = resolveAuthProfileMetadata(params); if (displayName) return `${params.profileId} (${displayName})`; if (email) return `${params.profileId} (${email})`; return params.profileId; } //#endregion export { resolveAuthProfileDisplayLabel as t };