UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

12 lines (11 loc) • 641 B
import { t as getBundledChannelAccountInspector } from "./bundled-BhQAj1jf.mjs"; import { n as getLoadedChannelPlugin } from "./registry-B56V4gqI.mjs"; //#region src/channels/read-only-account-inspect.ts /** Inspects channel account config without loading mutable runtime surfaces. */ async function inspectReadOnlyChannelAccount(params) { const inspectAccount = getLoadedChannelPlugin(params.channelId)?.config.inspectAccount ?? getBundledChannelAccountInspector(params.channelId); if (!inspectAccount) return null; return await inspectAccount(params.cfg, params.accountId); } //#endregion export { inspectReadOnlyChannelAccount as t };