perf(whatsapp): add doctor contract fast path

This commit is contained in:
Vincent Koc
2026-04-14 17:27:01 +01:00
parent 87eac5377c
commit 8d3bd4859e
2 changed files with 27 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
import type { ChannelDoctorLegacyConfigRule } from "openclaw/plugin-sdk/channel-contract";
export { normalizeCompatibilityConfig } from "./src/doctor-contract.js";
// WhatsApp currently exposes doctor compatibility fixes without extra legacy
// rule scans. Keep that empty answer on a lightweight contract surface so
// config validation stays off the broad contract-api import path.
export const legacyConfigRules: ChannelDoctorLegacyConfigRule[] = [];