diff --git a/extensions/browser/src/utils.ts b/extensions/browser/src/utils.ts index 10786b9270c..8ddadd894c9 100644 --- a/extensions/browser/src/utils.ts +++ b/extensions/browser/src/utils.ts @@ -1 +1 @@ -export { CONFIG_DIR, escapeRegExp, resolveUserPath, shortenHomePath } from "./sdk-config.js"; +export { CONFIG_DIR, escapeRegExp, resolveUserPath } from "./sdk-config.js"; diff --git a/extensions/discord/src/actions/runtime.messaging.ts b/extensions/discord/src/actions/runtime.messaging.ts index 9a3550595e9..6c2d4f78688 100644 --- a/extensions/discord/src/actions/runtime.messaging.ts +++ b/extensions/discord/src/actions/runtime.messaging.ts @@ -7,10 +7,7 @@ import { createDiscordMessagingActionContext, type DiscordMessagingActionOptions, } from "./runtime.messaging.shared.js"; -export { - discordMessagingActionRuntime, - resolveDiscordReactionTargetChannelId, -} from "./runtime.messaging.runtime.js"; +export { discordMessagingActionRuntime } from "./runtime.messaging.runtime.js"; export async function handleDiscordMessagingAction( action: string, diff --git a/extensions/telegram/src/runtime.ts b/extensions/telegram/src/runtime.ts index 2a7e99dbfdb..265362451c4 100644 --- a/extensions/telegram/src/runtime.ts +++ b/extensions/telegram/src/runtime.ts @@ -1,5 +1,5 @@ import { createPluginRuntimeStore } from "openclaw/plugin-sdk/runtime-store"; -export type { TelegramChannelRuntime, TelegramRuntime } from "./runtime.types.js"; +export type { TelegramRuntime } from "./runtime.types.js"; import type { TelegramRuntime } from "./runtime.types.js"; const { diff --git a/extensions/whatsapp/src/auto-reply/monitor/process-message.ts b/extensions/whatsapp/src/auto-reply/monitor/process-message.ts index 79caeb846c9..5f763d91d61 100644 --- a/extensions/whatsapp/src/auto-reply/monitor/process-message.ts +++ b/extensions/whatsapp/src/auto-reply/monitor/process-message.ts @@ -20,7 +20,6 @@ import { getPrimaryIdentityId, getSelfIdentity, getSenderIdentity } from "../../ import { resolveWhatsAppCommandAuthorized, resolveWhatsAppInboundPolicy, - type ResolvedWhatsAppInboundPolicy, } from "../../inbound-policy.js"; import { newConnectionId } from "../../reconnect.js"; import { formatError } from "../../session.js"; @@ -530,10 +529,3 @@ export async function processMessage(params: { }); return didSendReply; } - -export const __testing = { - resolveWhatsAppCommandAuthorized, - resolveWhatsAppInboundPolicy: ( - params: Parameters[0], - ): ResolvedWhatsAppInboundPolicy => resolveWhatsAppInboundPolicy(params), -};