openclaw/src/plugin-sdk/channel-targets.ts

30 lines
774 B
TypeScript

export {
applyChannelMatchMeta,
buildChannelKeyCandidates,
normalizeChannelSlug,
resolveChannelEntryMatch,
resolveChannelEntryMatchWithFallback,
resolveChannelMatchConfig,
resolveNestedAllowlistDecision,
type ChannelEntryMatch,
type ChannelMatchSource,
} from "../channels/channel-config.js";
export {
buildMessagingTarget,
ensureTargetId,
normalizeTargetId,
parseAtUserTarget,
parseMentionPrefixOrAtUserTarget,
parseTargetMention,
parseTargetPrefix,
parseTargetPrefixes,
requireTargetKind,
type MessagingTarget,
type MessagingTargetKind,
type MessagingTargetParseOptions,
} from "../channels/targets.js";
export {
buildUnresolvedTargetResults,
resolveTargetsWithOptionalToken,
} from "../channels/plugins/target-resolvers.js";