UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

9 lines (8 loc) • 363 B
//#region src/plugins/default-enablement.ts /** True when a plugin should be enabled by default for a platform. */ function isPluginEnabledByDefaultForPlatform(e, t = process.platform) { if (e.enabledByDefault === true) return true; return e.enabledByDefaultOnPlatforms?.includes(t) === true; } //#endregion export { isPluginEnabledByDefaultForPlatform as t };