UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

20 lines (19 loc) • 916 B
import { o as normalizeLowercaseStringOrEmpty } from "./string-coerce-1VuiLaaR.mjs"; import "./command-auth-BHrKDij6.mjs"; import "./thinking-runtime-CveqpPq0.mjs"; import "./commands-registry-Dr2bNuzu.mjs"; import "./stored-model-overrides-D2ZOkBxi.mjs"; import "./command-detection-DD2oRRYt.mjs"; import "./command-specs-B-oF2_Hi.mjs"; import "./fast-mode-C1fXnIGu.mjs"; import "./chat-commands-pcwvQC7g.mjs"; //#region src/channels/native-command-session-targets.ts function resolveNativeCommandSessionTargets(params) { const rawSessionKey = params.boundSessionKey ?? `agent:${params.agentId}:${params.sessionPrefix}:${params.userId}`; return { sessionKey: params.sessionKeyCase === "lowercase" ? normalizeLowercaseStringOrEmpty(rawSessionKey) : rawSessionKey, commandTargetSessionKey: params.boundSessionKey ?? params.targetSessionKey }; } //#endregion export { resolveNativeCommandSessionTargets as t };