mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 05:30:42 +00:00
* feat(qa): add whatsapp live lane * ci: add gated whatsapp and discord qa live lanes * ci: honor qa live env gates in release selection * test: update qa live workflow gate assertion * ci: split live QA release gates
219 lines
5.6 KiB
TypeScript
219 lines
5.6 KiB
TypeScript
export { whatsappPlugin } from "./src/channel.js";
|
|
export { whatsappSetupPlugin } from "./src/channel.setup.js";
|
|
export {
|
|
DEFAULT_WHATSAPP_MEDIA_MAX_MB,
|
|
hasAnyWhatsAppAuth,
|
|
listEnabledWhatsAppAccounts,
|
|
listWhatsAppAccountIds,
|
|
listWhatsAppAuthDirs,
|
|
resolveDefaultWhatsAppAccountId,
|
|
type ResolvedWhatsAppAccount,
|
|
resolveWhatsAppAccount,
|
|
resolveWhatsAppAuthDir,
|
|
resolveWhatsAppMediaMaxBytes,
|
|
} from "./src/accounts.js";
|
|
export { DEFAULT_WEB_MEDIA_BYTES } from "./src/auto-reply/constants.js";
|
|
export { whatsappCommandPolicy } from "./src/command-policy.js";
|
|
export {
|
|
resolveWhatsAppGroupRequireMention,
|
|
resolveWhatsAppGroupToolPolicy,
|
|
} from "./src/group-policy.js";
|
|
export { WHATSAPP_LEGACY_OUTBOUND_SEND_DEP_KEYS } from "./src/outbound-send-deps.js";
|
|
export {
|
|
__test__,
|
|
asNullableObjectRecord,
|
|
asNullableRecord,
|
|
asOptionalObjectRecord,
|
|
asOptionalRecord,
|
|
asRecord,
|
|
assertWebChannel,
|
|
type AssistantVisibleTextSanitizerProfile,
|
|
bindAbortRelay,
|
|
buildTimeoutAbortSignal,
|
|
chunkItems,
|
|
chunkMarkdownIR,
|
|
clamp,
|
|
clampInt,
|
|
clampNumber,
|
|
type CodeRegion,
|
|
CONFIG_DIR,
|
|
convertMarkdownTables,
|
|
createScopedExpiringIdCache,
|
|
DEFAULT_LOG_DIR,
|
|
DEFAULT_LOG_FILE,
|
|
diagnosticLogger,
|
|
type DisplayMessageWithContent,
|
|
displayPath,
|
|
displayString,
|
|
ensureDir,
|
|
escapeRegExp,
|
|
fetchWithTimeout,
|
|
FILE_REF_EXTENSIONS_WITH_TLD,
|
|
findCodeRegions,
|
|
getChildLogger,
|
|
getDefaultRedactPatterns,
|
|
getDiagnosticSessionStateCountForTest,
|
|
getLogger,
|
|
getResolvedLoggerSettings,
|
|
hasNonEmptyString,
|
|
hasOrphanReasoningCloseBoundary,
|
|
hasSystemMark,
|
|
type InlineDirectiveParseResult,
|
|
isAutoLinkedFileRef,
|
|
isFileLogLevelEnabled,
|
|
isInsideCode,
|
|
isRecord,
|
|
isSelfChatMode,
|
|
jidToE164,
|
|
type JidToE164Options,
|
|
localeLowercasePreservingWhitespace,
|
|
logActiveRuns,
|
|
logDebug,
|
|
logError,
|
|
type LoggerResolvedSettings,
|
|
type LoggerSettings,
|
|
logInfo,
|
|
logLaneDequeue,
|
|
logLaneEnqueue,
|
|
logMessageProcessed,
|
|
logMessageQueued,
|
|
logRunAttempt,
|
|
logSessionStateChange,
|
|
logSuccess,
|
|
logToolLoopAction,
|
|
logWarn,
|
|
logWebhookError,
|
|
logWebhookProcessed,
|
|
logWebhookReceived,
|
|
lowercasePreservingWhitespace,
|
|
type MarkdownIR,
|
|
type MarkdownLinkSpan,
|
|
type MarkdownParseOptions,
|
|
type MarkdownStyle,
|
|
type MarkdownStyleSpan,
|
|
type MarkdownTableData,
|
|
type MarkdownTableMeta,
|
|
markdownToIR,
|
|
markdownToIRWithMeta,
|
|
markdownToWhatsApp,
|
|
normalizeArrayBackedTrimmedStringList,
|
|
normalizeAtHashSlug,
|
|
normalizeCsvOrLooseStringList,
|
|
normalizeE164,
|
|
normalizeFastMode,
|
|
normalizeHyphenSlug,
|
|
normalizeLowercaseStringOrEmpty,
|
|
normalizeNullableString,
|
|
normalizeOptionalLowercaseString,
|
|
normalizeOptionalString,
|
|
normalizeOptionalStringifiedId,
|
|
normalizeOptionalThreadValue,
|
|
normalizeOptionalTrimmedStringList,
|
|
normalizeSingleOrTrimmedStringList,
|
|
normalizeStringEntries,
|
|
normalizeStringEntriesLower,
|
|
normalizeStringifiedOptionalString,
|
|
normalizeTrimmedStringList,
|
|
parseInlineDirectives,
|
|
pathExists,
|
|
type PinoLikeLogger,
|
|
prefixSystemMessage,
|
|
type ReactionLevel,
|
|
readStringField,
|
|
readStringValue,
|
|
type ReasoningTagMode,
|
|
type ReasoningTagTrim,
|
|
redactIdentifier,
|
|
redactSensitiveLines,
|
|
type RedactSensitiveMode,
|
|
redactSensitiveText,
|
|
redactToolDetail,
|
|
type RenderedMarkdownChunk,
|
|
type RenderLink,
|
|
renderMarkdownIRChunksWithinLimit,
|
|
type RenderMarkdownIRChunksWithinLimitOptions,
|
|
renderMarkdownWithMarkers,
|
|
type RenderOptions,
|
|
type RenderStyleMap,
|
|
type RenderStyleMarker,
|
|
resetDiagnosticStateForTest,
|
|
resetLogger,
|
|
resolveConfigDir,
|
|
type ResolvedReactionLevel,
|
|
type ResolvedRedactOptions,
|
|
resolveGlobalMap,
|
|
resolveGlobalSingleton,
|
|
resolveHomeDir,
|
|
resolveJidToE164,
|
|
resolvePrimaryStringValue,
|
|
resolveReactionLevel,
|
|
resolveRedactOptions,
|
|
resolveStuckSessionWarnMs,
|
|
resolveUserPath,
|
|
safeParseJson,
|
|
sanitizeAssistantVisibleText,
|
|
sanitizeAssistantVisibleTextWithOptions,
|
|
sanitizeAssistantVisibleTextWithProfile,
|
|
sanitizeReplyDirectiveId,
|
|
sanitizeTerminalText,
|
|
type ScopedExpiringIdCache,
|
|
setLoggerOverride,
|
|
sha256HexPrefix,
|
|
shortenHomeInString,
|
|
shortenHomePath,
|
|
sleep,
|
|
sliceMarkdownIR,
|
|
sliceUtf16Safe,
|
|
startDiagnosticHeartbeat,
|
|
stopDiagnosticHeartbeat,
|
|
stripAssistantInternalScaffolding,
|
|
stripDowngradedToolCallText,
|
|
stripInlineDirectiveTagsForDelivery,
|
|
stripInlineDirectiveTagsForDisplay,
|
|
stripInlineDirectiveTagsFromMessageForDisplay,
|
|
stripMarkdown,
|
|
stripMinimaxToolCallXml,
|
|
stripReasoningTagsFromText,
|
|
stripToolCallXmlTags,
|
|
summarizeStringEntries,
|
|
SYSTEM_MARK,
|
|
toPinoLikeLogger,
|
|
toWhatsappJid,
|
|
truncateUtf16Safe,
|
|
type WebChannel,
|
|
withTimeout,
|
|
} from "./src/text-runtime.js";
|
|
export {
|
|
type WebChannelHealthState,
|
|
type WebChannelStatus,
|
|
type WebInboundMsg,
|
|
type WebMonitorTuning,
|
|
} from "./src/auto-reply/types.js";
|
|
export {
|
|
type ActiveWebListener,
|
|
type ActiveWebSendOptions,
|
|
type WebInboundMessage,
|
|
type WebListenerCloseReason,
|
|
type WhatsAppStructuredContactContext,
|
|
} from "./src/inbound/types.js";
|
|
export {
|
|
listWhatsAppDirectoryGroupsFromConfig,
|
|
listWhatsAppDirectoryPeersFromConfig,
|
|
} from "./src/directory-config.js";
|
|
export { resolveWhatsAppOutboundTarget } from "./src/resolve-outbound-target.js";
|
|
export {
|
|
isWhatsAppGroupJid,
|
|
normalizeWhatsAppAllowFromEntries,
|
|
isWhatsAppUserTarget,
|
|
looksLikeWhatsAppTargetId,
|
|
normalizeWhatsAppMessagingTarget,
|
|
normalizeWhatsAppTarget,
|
|
} from "./src/normalize-target.js";
|
|
export { resolveWhatsAppGroupIntroHint } from "./src/runtime-api.js";
|
|
export { __testing as whatsappAccessControlTesting } from "./src/inbound/access-control.js";
|
|
export {
|
|
startWhatsAppQaDriverSession,
|
|
type WhatsAppQaDriverObservedMessage,
|
|
type WhatsAppQaDriverSession,
|
|
} from "./src/qa-driver.runtime.js";
|