





















@@ -233,16 +233,16 @@ const RUNTIME_API_EXPORT_GUARDS: Record<string, readonly string[]> = {
233233],
234234[bundledPluginFile({ rootDir: ROOT_DIR, pluginId: "whatsapp", relativePath: "runtime-api.ts" })]:
235235[
236-'export * from "./src/active-listener.js";',
237-'export * from "./src/action-runtime.js";',
238-'export * from "./src/agent-tools-login.js";',
239-'export * from "./src/auth-store.js";',
240-'export * from "./src/auto-reply.js";',
241-'export * from "./src/inbound.js";',
242-'export * from "./src/login.js";',
243-'export * from "./src/media.js";',
244-'export * from "./src/send.js";',
245-'export * from "./src/session.js";',
236+'export { getActiveWebListener, resolveWebAccountId, type ActiveWebListener, type ActiveWebSendOptions } from "./src/active-listener.js";',
237+'export { handleWhatsAppAction, whatsAppActionRuntime } from "./src/action-runtime.js";',
238+'export { createWhatsAppLoginTool } from "./src/agent-tools-login.js";',
239+'export { formatWhatsAppWebAuthStatusState, getWebAuthAgeMs, hasWebCredsSync, logWebSelfId, logoutWeb, pickWebChannel, readCredsJsonRaw, readWebAuthExistsBestEffort, readWebAuthExistsForDecision, readWebAuthSnapshot, readWebAuthSnapshotBestEffort, readWebAuthState, readWebSelfId, readWebSelfIdentity, readWebSelfIdentityForDecision, resolveDefaultWebAuthDir, resolveWebCredsBackupPath, resolveWebCredsPath, restoreCredsFromBackupIfNeeded, WA_WEB_AUTH_DIR, webAuthExists, WHATSAPP_AUTH_UNSTABLE_CODE, WhatsAppAuthUnstableError, type WhatsAppWebAuthState } from "./src/auth-store.js";',
240+'export { DEFAULT_WEB_MEDIA_BYTES, HEARTBEAT_PROMPT, HEARTBEAT_TOKEN, monitorWebChannel, resolveHeartbeatRecipients, runWebHeartbeatOnce, SILENT_REPLY_TOKEN, stripHeartbeatToken, type WebChannelStatus, type WebMonitorTuning } from "./src/auto-reply.js";',
241+'export { extractContactContext, extractLocationData, extractMediaPlaceholder, extractText, monitorWebInbox, resetWebInboundDedupe, type WebInboundMessage, type WebListenerCloseReason } from "./src/inbound.js";',
242+'export { loginWeb } from "./src/login.js";',
243+'export { getDefaultLocalRoots, loadWebMedia, loadWebMediaRaw, LocalMediaAccessError, optimizeImageToJpeg, optimizeImageToPng, type LocalMediaAccessErrorCode, type WebMediaResult } from "./src/media.js";',
244+'export { sendMessageWhatsApp, sendPollWhatsApp, sendReactionWhatsApp, sendTypingWhatsApp } from "./src/send.js";',
245+'export { createWaSocket, formatError, getStatusCode, newConnectionId, waitForCredsSaveQueue, waitForCredsSaveQueueWithTimeout, waitForWaConnection, writeCredsJsonAtomically, type CredsQueueWaitResult } from "./src/session.js";',
246246'export { setWhatsAppRuntime } from "./src/runtime.js";',
247247'export { startWebLoginWithQr, waitForWebLogin } from "./login-qr-runtime.js";',
248248],
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。