Files
openclaw/extensions/mattermost/src/runtime-api.ts
2026-05-06 01:46:42 +01:00

70 lines
1.9 KiB
TypeScript

export {
applyAccountNameToChannelSection,
applySetupAccountConfigPatch,
type BaseProbeResult,
type BlockStreamingCoalesceConfig,
buildAgentMediaPayload,
buildChannelConfigSchema,
buildComputedAccountStatusSnapshot,
buildModelsProviderData,
buildPendingHistoryContextFromMap,
type ChannelAccountSnapshot,
type ChannelDirectoryEntry,
type ChannelGroupContext,
type ChannelMessageActionName,
type ChannelPlugin,
type ChatType,
chunkTextForOutbound,
clearHistoryEntriesIfEnabled,
createAccountStatusSink,
createChannelPairingController,
createChannelMessageReplyPipeline,
createDedupeCache,
DEFAULT_ACCOUNT_ID,
DEFAULT_GROUP_HISTORY_LIMIT,
DM_GROUP_ACCESS_REASON,
type DmPolicy,
evaluateSenderGroupAccessForPolicy,
formatInboundFromLabel,
getAgentScopedMediaLocalRoots,
GROUP_POLICY_BLOCKED_LABEL,
type GroupPolicy,
type HistoryEntry,
isDangerousNameMatchingEnabled,
isRequestBodyLimitError,
isTrustedProxyAddress,
listSkillCommandsForAgents,
loadOutboundMediaFromUrl,
loadSessionStore,
logInboundDrop,
logTypingFailure,
migrateBaseNameToDefaultAccount,
type ModelsProviderData,
normalizeAccountId,
normalizeProviderId,
type OpenClawConfig,
type OpenClawPluginApi,
parseStrictPositiveInteger,
type PluginRuntime,
rawDataToString,
readRequestBodyWithLimit,
readStoreAllowFromForDmPolicy,
recordPendingHistoryEntryIfEnabled,
registerPluginHttpRoute,
type ReplyPayload,
resolveAllowlistMatchSimple,
resolveAllowlistProviderRuntimeGroupPolicy,
resolveChannelMediaMaxBytes,
resolveClientIp,
resolveControlCommandGate,
resolveDefaultGroupPolicy,
resolveDmGroupAccessWithLists,
resolveEffectiveAllowFromLists,
resolveStoredModelOverride,
resolveStorePath,
resolveThreadSessionKeys,
type RuntimeEnv,
setMattermostRuntime,
warnMissingProviderGroupPolicyFallbackOnce,
} from "../runtime-api.js";