openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
20 lines (19 loc) • 840 B
JavaScript
import { o as normalizeLowercaseStringOrEmpty } from "./string-coerce-CCIiB4H7.mjs";
import "./thinking-runtime-BKWl4CUs.mjs";
import "./stored-model-overrides-CyqayMPa.mjs";
import "./command-auth-CC1Z19Eh.mjs";
import "./fast-mode-BcwTQ_IZ.mjs";
import "./commands-registry-CwAxsNJ9.mjs";
import "./command-detection-BdYTt9PO.mjs";
import "./command-specs-DkjVj8rG.mjs";
import "./chat-commands-DfZOScnN.mjs";
//#region src/channels/native-command-session-targets.ts
function resolveNativeCommandSessionTargets(e) {
const t = e.boundSessionKey ?? `agent:${e.agentId}:${e.sessionPrefix}:${e.userId}`;
return {
sessionKey: e.sessionKeyCase === "lowercase" ? normalizeLowercaseStringOrEmpty(t) : t,
commandTargetSessionKey: e.boundSessionKey ?? e.targetSessionKey
};
}
//#endregion
export { resolveNativeCommandSessionTargets as t };