openclaw/extensions/bluebubbles/src/runtime-api.ts

62 lines
2.6 KiB
TypeScript

export { resolveAckReaction } from "openclaw/plugin-sdk/agent-runtime";
export {
createActionGate,
jsonResult,
readNumberParam,
readReactionParams,
readStringParam,
} from "openclaw/plugin-sdk/channel-actions";
export type { HistoryEntry } from "openclaw/plugin-sdk/reply-history";
export {
evictOldHistoryKeys,
recordPendingHistoryEntryIfEnabled,
} from "openclaw/plugin-sdk/reply-history";
export { resolveControlCommandGate } from "openclaw/plugin-sdk/command-auth";
export { logAckFailure, logTypingFailure } from "openclaw/plugin-sdk/channel-feedback";
export { logInboundDrop } from "openclaw/plugin-sdk/channel-inbound";
export { BLUEBUBBLES_ACTION_NAMES, BLUEBUBBLES_ACTIONS } from "./actions-contract.js";
export { resolveChannelMediaMaxBytes } from "openclaw/plugin-sdk/media-runtime";
export { PAIRING_APPROVED_MESSAGE } from "openclaw/plugin-sdk/channel-status";
export { collectBlueBubblesStatusIssues } from "./status-issues.js";
export type {
BaseProbeResult,
ChannelAccountSnapshot,
ChannelMessageActionAdapter,
ChannelMessageActionName,
} from "openclaw/plugin-sdk/channel-contract";
export type {
ChannelPlugin,
OpenClawConfig,
PluginRuntime,
} from "openclaw/plugin-sdk/channel-core";
export { parseFiniteNumber } from "openclaw/plugin-sdk/infra-runtime";
export { DEFAULT_ACCOUNT_ID } from "openclaw/plugin-sdk/account-id";
export {
DM_GROUP_ACCESS_REASON,
readStoreAllowFromForDmPolicy,
resolveDmGroupAccessWithLists,
} from "openclaw/plugin-sdk/channel-policy";
export { readBooleanParam } from "openclaw/plugin-sdk/boolean-param";
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 { resolveRequestUrl } from "openclaw/plugin-sdk/request-url";
export { buildProbeChannelStatusSummary } from "openclaw/plugin-sdk/channel-status";
export { stripMarkdown } from "openclaw/plugin-sdk/text-runtime";
export { extractToolSend } from "openclaw/plugin-sdk/tool-send";
export {
WEBHOOK_RATE_LIMIT_DEFAULTS,
createFixedWindowRateLimiter,
createWebhookInFlightLimiter,
readWebhookBodyOrReject,
registerWebhookTargetWithPluginRoute,
resolveRequestClientIp,
resolveWebhookTargetWithAuthOrRejectSync,
withResolvedWebhookRequestPipeline,
} from "openclaw/plugin-sdk/webhook-ingress";
export { resolveChannelContextVisibilityMode } from "openclaw/plugin-sdk/config-runtime";
export {
evaluateSupplementalContextVisibility,
shouldIncludeSupplementalContext,
} from "openclaw/plugin-sdk/security-runtime";