UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

2 lines • 342 B
//!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};