fix: discover source-only plugins in checkouts

This commit is contained in:
Peter Steinberger
2026-05-02 17:30:59 +01:00
parent cc8a8f1df1
commit 5551d9fad4
26 changed files with 227 additions and 268 deletions

View File

@@ -35,14 +35,7 @@ function hasReleasedBundledInstall(packageJson) {
);
}
function isExplicitlyDownloadablePlugin(packageJson) {
return packageJson?.openclaw?.bundle?.includeInCore === false;
}
export function shouldBuildBundledCluster(cluster, env = process.env, options = {}) {
if (isExplicitlyDownloadablePlugin(options.packageJson)) {
return false;
}
if (hasReleasedBundledInstall(options.packageJson)) {
return true;
}