openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
18 lines (17 loc) • 1.63 kB
JavaScript
import { n as createLazyRuntimeMethodBinder } from "./lazy-runtime-zGjszCtt.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((e) => e.scanBundleInstallSourceRuntime);
/** Scans a package source directory and executable metadata before install/update. */
const scanPackageInstallSource = bindInstallSecurityScanRuntime((e) => e.scanPackageInstallSourceRuntime);
/** Scans the installed package dependency tree after npm resolution. */
const scanInstalledPackageDependencyTree = bindInstallSecurityScanRuntime((e) => e.scanInstalledPackageDependencyTreeRuntime);
/** Runs npm install policy checks before package install side effects. */
const preflightPluginNpmInstallPolicy = bindInstallSecurityScanRuntime((e) => e.preflightPluginNpmInstallPolicyRuntime);
/** Runs git install policy checks before plugin install side effects. */
const preflightPluginGitInstallPolicy = bindInstallSecurityScanRuntime((e) => e.preflightPluginGitInstallPolicyRuntime);
/** Evaluates shared install policy for skill-managed dependency installs. */
const evaluateSkillInstallPolicy = bindInstallSecurityScanRuntime((e) => e.evaluateSkillInstallPolicyRuntime);
//#endregion
export { scanInstalledPackageDependencyTree as a, scanBundleInstallSource as i, preflightPluginGitInstallPolicy as n, scanPackageInstallSource as o, preflightPluginNpmInstallPolicy as r, evaluateSkillInstallPolicy as t };