mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 16:10:42 +00:00
Simplify plugin installation and runtime loading around package-manager-owned dependencies, with Jiti reserved for local/TS fallback paths. Also scans npm plugin install roots so hoisted transitive dependencies are covered by dependency denylist and node_modules symlink checks.
13 lines
628 B
TypeScript
13 lines
628 B
TypeScript
export const optionalBundledClusters: string[];
|
|
export const optionalBundledClusterSet: Set<string>;
|
|
export const OPTIONAL_BUNDLED_BUILD_ENV: "OPENCLAW_INCLUDE_OPTIONAL_BUNDLED";
|
|
export function isOptionalBundledCluster(cluster: string): boolean;
|
|
export function shouldIncludeOptionalBundledClusters(env?: NodeJS.ProcessEnv): boolean;
|
|
export function hasReleasedBundledInstall(packageJson: unknown): boolean;
|
|
export function isExplicitlyDownloadablePlugin(packageJson: unknown): boolean;
|
|
export function shouldBuildBundledCluster(
|
|
cluster: string,
|
|
env?: NodeJS.ProcessEnv,
|
|
options?: { packageJson?: unknown },
|
|
): boolean;
|