UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

18 lines (17 loc) • 1.71 kB
import { n as createLazyRuntimeMethodBinder } from "./lazy-runtime-CJrzFzqU.mjs"; //#region src/plugins/install-security-scan.ts const bindInstallSecurityScanRuntime = createLazyRuntimeMethodBinder(() => import("./install-security-scan.runtime.js")); /** Scans an unpacked bundle source before plugin install/update. */ const scanBundleInstallSource = bindInstallSecurityScanRuntime((runtime) => runtime.scanBundleInstallSourceRuntime); /** Scans a package source directory and executable metadata before install/update. */ const scanPackageInstallSource = bindInstallSecurityScanRuntime((runtime) => runtime.scanPackageInstallSourceRuntime); /** Scans the installed package dependency tree after npm resolution. */ const scanInstalledPackageDependencyTree = bindInstallSecurityScanRuntime((runtime) => runtime.scanInstalledPackageDependencyTreeRuntime); /** Runs npm install policy checks before package install side effects. */ const preflightPluginNpmInstallPolicy = bindInstallSecurityScanRuntime((runtime) => runtime.preflightPluginNpmInstallPolicyRuntime); /** Runs git install policy checks before plugin install side effects. */ const preflightPluginGitInstallPolicy = bindInstallSecurityScanRuntime((runtime) => runtime.preflightPluginGitInstallPolicyRuntime); /** Evaluates shared install policy for skill-managed dependency installs. */ const evaluateSkillInstallPolicy = bindInstallSecurityScanRuntime((runtime) => runtime.evaluateSkillInstallPolicyRuntime); //#endregion export { scanInstalledPackageDependencyTree as a, scanBundleInstallSource as i, preflightPluginGitInstallPolicy as n, scanPackageInstallSource as o, preflightPluginNpmInstallPolicy as r, evaluateSkillInstallPolicy as t };