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-CUBIvgy7.mjs"; import "./thinking-runtime--sshEpUp.mjs"; import "./commands-registry-DbGlcGcR.mjs"; import "./stored-model-overrides-mwpRh3rX.mjs"; import "./command-detection-nPI3xHHu.mjs"; import "./command-specs-4uKSZMuH.mjs"; import "./fast-mode-CdiysUl0.mjs"; import "./chat-commands-DdEu_KDx.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 };