openclaw/src/security/audit-channel.runtime.ts
2026-03-18 09:33:21 -07:00

18 lines
489 B
TypeScript

import {
isNumericTelegramUserId,
normalizeTelegramAllowFromEntry,
} from "openclaw/plugin-sdk/telegram";
import { readChannelAllowFromStore } from "../pairing/pairing-store.js";
import {
isDiscordMutableAllowEntry,
isZalouserMutableGroupEntry,
} from "./mutable-allowlist-detectors.js";
export const auditChannelRuntime = {
readChannelAllowFromStore,
isDiscordMutableAllowEntry,
isZalouserMutableGroupEntry,
isNumericTelegramUserId,
normalizeTelegramAllowFromEntry,
};