openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
19 lines • 2.98 kB
TypeScript
import { Bn as resolveStoredModelOverrideAsync, Fw as formatFastModeCurrentStatus, GT as resolveCommandAuthorizationAsync, Iw as formatFastModeSourceSuffix, Lw as formatFastModeStatusValue, Ni as resolveEffectiveAgentRuntime, Pw as formatFastModeCommandOptions, UT as CommandAuthorization, Vl as resolveFastModeState, WT as resolveCommandAuthorization, n_ as resolveControlCommandGate, t_ as resolveCommandAuthorizedFromAuthorizers, xj as ChannelMessagingAdapter, zn as resolveStoredModelOverride } from "../config-contracts--zSNHFlu.js";
import { c as CommandArgValues, i as CommandArgsParsing, l as CommandArgs, o as NativeCommandSpec, r as CommandArgDefinition, t as ChatCommandDefinition } from "../commands-registry.types-D1F1HSUH.js";
import { a as listNativeCommandSpecs, c as parseCommandArgs, d as resolveCommandArgMenuAsync, f as serializeCommandArgs, g as listChatCommands, h as normalizeCommandBody, i as formatCommandArgMenuTitle, l as resolveCommandArgChoices, m as maybeResolveTextAlias, n as canResolveCommandArgMenu, o as listNativeCommandSpecsForConfig, r as findCommandByNativeName, t as buildCommandTextFromArgs, u as resolveCommandArgMenu } from "../commands-registry-DkMdk2Ac.js";
import { i as shouldComputeCommandAuthorized, t as hasControlCommand } from "../command-detection-C-7eMrIk.js";
import { n as listProviderPluginCommandSpecs } from "../command-specs-BgqGeLP1.js";
import { n as ModelsProviderData } from "../commands-models-catalog-BgrGLads.js";
import { r as prepareSkillCommandsForAgents, t as listSkillCommandsForAgents } from "../chat-commands-BnVCQB43.js";
export declare function resolveNativeCommandSessionTargets(params: {
agentId: string;
sessionPrefix: string;
userId: string;
targetSessionKey: string;
boundSessionKey?: string;
sessionKeyCase?: NonNullable<ChannelMessagingAdapter["targetIdComparison"]>;
}): {
sessionKey: string;
commandTargetSessionKey: string;
};
export { type ChatCommandDefinition, type CommandArgDefinition, type CommandArgValues, type CommandArgs, type CommandArgsParsing, type CommandAuthorization, type ModelsProviderData, type NativeCommandSpec, buildCommandTextFromArgs, canResolveCommandArgMenu, findCommandByNativeName, formatCommandArgMenuTitle, formatFastModeCommandOptions, formatFastModeCurrentStatus, formatFastModeSourceSuffix, formatFastModeStatusValue, hasControlCommand, listChatCommands, listNativeCommandSpecs, listNativeCommandSpecsForConfig, listProviderPluginCommandSpecs, listSkillCommandsForAgents, maybeResolveTextAlias, normalizeCommandBody, parseCommandArgs, prepareSkillCommandsForAgents, resolveCommandArgChoices, resolveCommandArgMenu, resolveCommandArgMenuAsync, resolveCommandAuthorization, resolveCommandAuthorizationAsync, resolveCommandAuthorizedFromAuthorizers, resolveControlCommandGate, resolveEffectiveAgentRuntime, resolveFastModeState, resolveStoredModelOverride, resolveStoredModelOverrideAsync, serializeCommandArgs, shouldComputeCommandAuthorized };