openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
2 lines • 342 B
JavaScript
//!src/plugins/hook-policy-decisions.ts
function resolvePromptInjectionAllowed(e){return e?.allowPromptModification!==false}function resolveConversationAccessAllowed(e,t){return e===`bundled`?t?.allowConversationAccess!==false:t?.allowConversationAccess===true}export{resolvePromptInjectionAllowed as n,resolveConversationAccessAllowed as t};