test(bluebubbles): split monitor processing seam

This commit is contained in:
Vincent Koc
2026-04-03 20:54:01 +09:00
parent 0d938748a5
commit d888ce242b
2 changed files with 39 additions and 19 deletions

View File

@@ -0,0 +1,20 @@
export { resolveAckReaction } from "openclaw/plugin-sdk/bluebubbles";
export { logAckFailure, logTypingFailure } from "openclaw/plugin-sdk/channel-feedback";
export { logInboundDrop } from "openclaw/plugin-sdk/channel-inbound";
export { mapAllowFromEntries } from "openclaw/plugin-sdk/channel-config-helpers";
export { createChannelPairingController } from "openclaw/plugin-sdk/channel-pairing";
export { createChannelReplyPipeline } from "openclaw/plugin-sdk/channel-reply-pipeline";
export {
DM_GROUP_ACCESS_REASON,
readStoreAllowFromForDmPolicy,
resolveDmGroupAccessWithLists,
} from "openclaw/plugin-sdk/channel-policy";
export { resolveControlCommandGate } from "openclaw/plugin-sdk/command-auth";
export { resolveChannelContextVisibilityMode } from "openclaw/plugin-sdk/config-runtime";
export {
evictOldHistoryKeys,
recordPendingHistoryEntryIfEnabled,
type HistoryEntry,
} from "openclaw/plugin-sdk/reply-history";
export { evaluateSupplementalContextVisibility } from "openclaw/plugin-sdk/security-runtime";
export { stripMarkdown } from "openclaw/plugin-sdk/text-runtime";

View File

@@ -20,6 +20,25 @@ import {
type NormalizedWebhookMessage,
type NormalizedWebhookReaction,
} from "./monitor-normalize.js";
import {
DM_GROUP_ACCESS_REASON,
createChannelPairingController,
createChannelReplyPipeline,
evictOldHistoryKeys,
evaluateSupplementalContextVisibility,
logAckFailure,
logInboundDrop,
logTypingFailure,
mapAllowFromEntries,
readStoreAllowFromForDmPolicy,
recordPendingHistoryEntryIfEnabled,
resolveAckReaction,
resolveChannelContextVisibilityMode,
resolveDmGroupAccessWithLists,
resolveControlCommandGate,
stripMarkdown,
type HistoryEntry,
} from "./monitor-processing-api.js";
import {
getShortIdForUuid,
rememberBlueBubblesReplyCache,
@@ -39,25 +58,6 @@ import { enrichBlueBubblesParticipantsWithContactNames } from "./participant-con
import { isBlueBubblesPrivateApiEnabled } from "./probe.js";
import { normalizeBlueBubblesReactionInput, sendBlueBubblesReaction } from "./reactions.js";
import type { OpenClawConfig } from "./runtime-api.js";
import {
DM_GROUP_ACCESS_REASON,
createChannelPairingController,
createChannelReplyPipeline,
evictOldHistoryKeys,
evaluateSupplementalContextVisibility,
logAckFailure,
logInboundDrop,
logTypingFailure,
mapAllowFromEntries,
readStoreAllowFromForDmPolicy,
recordPendingHistoryEntryIfEnabled,
resolveAckReaction,
resolveChannelContextVisibilityMode,
resolveDmGroupAccessWithLists,
resolveControlCommandGate,
stripMarkdown,
type HistoryEntry,
} from "./runtime-api.js";
import { normalizeSecretInputString } from "./secret-input.js";
import { resolveChatGuidForTarget, sendMessageBlueBubbles } from "./send.js";
import {