1+ import { DEFAULT_ACCOUNT_ID } from "openclaw/plugin-sdk/account-id" ;
12import { buildDmGroupAccountAllowlistAdapter } from "openclaw/plugin-sdk/allowlist-config-edit" ;
2- import { createChatChannelPlugin } from "openclaw/plugin-sdk/core" ;
3+ import { formatWhatsAppConfigAllowFromEntries } from "openclaw/plugin-sdk/channel-config-helpers" ;
4+ import { createChatChannelPlugin , type ChannelPlugin } from "openclaw/plugin-sdk/core" ;
35import {
46 createAsyncComputedAccountStatusAdapter ,
57 createDefaultChannelRuntimeState ,
@@ -22,21 +24,17 @@ import {
2224 listWhatsAppDirectoryGroupsFromConfig ,
2325 listWhatsAppDirectoryPeersFromConfig ,
2426} from "./directory-config.js" ;
27+ import {
28+ resolveWhatsAppGroupIntroHint ,
29+ resolveWhatsAppMentionStripRegexes ,
30+ } from "./group-intro.js" ;
2531import {
2632 resolveWhatsAppGroupRequireMention ,
2733 resolveWhatsAppGroupToolPolicy ,
2834} from "./group-policy.js" ;
35+ import { resolveWhatsAppHeartbeatRecipients } from "./heartbeat-recipients.js" ;
2936import { looksLikeWhatsAppTargetId , normalizeWhatsAppMessagingTarget } from "./normalize.js" ;
30- import {
31- DEFAULT_ACCOUNT_ID ,
32- formatWhatsAppConfigAllowFromEntries ,
33- resolveWhatsAppGroupIntroHint ,
34- resolveWhatsAppHeartbeatRecipients ,
35- resolveWhatsAppMentionStripRegexes ,
36- type ChannelPlugin ,
37- isWhatsAppGroupJid ,
38- normalizeWhatsAppTarget ,
39- } from "./runtime-api.js" ;
37+ import { isWhatsAppGroupJid , normalizeWhatsAppTarget } from "./normalize.js" ;
4038import { getWhatsAppRuntime } from "./runtime.js" ;
4139import { resolveWhatsAppOutboundSessionRoute } from "./session-route.js" ;
4240import { whatsappSetupAdapter } from "./setup-core.js" ;
0 commit comments