refactor(plugin-sdk): share direct dm ingress helpers

This commit is contained in:
Peter Steinberger
2026-03-22 09:57:06 -07:00
parent 8a111f1cb9
commit c96c319db3
9 changed files with 620 additions and 173 deletions

View File

@@ -1,5 +1,11 @@
import type { OpenClawConfig } from "../config/config.js";
import { resolveDmGroupAccessWithLists } from "../security/dm-policy-shared.js";
export {
createPreCryptoDirectDmAuthorizer,
resolveInboundDirectDmAccessWithRuntime,
type DirectDmCommandAuthorizationRuntime,
type ResolvedInboundDirectDmAccess,
} from "./direct-dm.js";
export {
hasControlCommand,