UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

10 lines (9 loc) • 389 B
//#region src/plugins/hook-policy-decisions.ts function resolvePromptInjectionAllowed(e) { return e?.allowPromptInjection !== false; } function resolveConversationAccessAllowed(e, t) { return e === "bundled" ? t?.allowConversationAccess !== false : t?.allowConversationAccess === true; } //#endregion export { resolvePromptInjectionAllowed as n, resolveConversationAccessAllowed as t };