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

@@ -316,9 +316,7 @@ function resolveStatus({ dirName, packageJson, excludedDirs }) {
const hasInstallSpec =
typeof packageJson.openclaw?.install?.clawhubSpec === "string" ||
typeof packageJson.openclaw?.install?.npmSpec === "string";
const excluded =
excludedDirs.has(dirName) || packageJson.openclaw?.bundle?.includeInCore === false;
if (!excluded) {
if (!excludedDirs.has(dirName)) {
return "core";
}
if (release?.publishToClawHub === true || release?.publishToNpm === true || hasInstallSpec) {