@babyclaw/gateway 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +1 -0
- package/dist/index.js +5 -2
- package/dist/index.js.map +1 -1
- package/dist/main.js +5 -2
- package/dist/main.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -4392,7 +4392,8 @@ function listBundledSkills({
|
|
|
4392
4392
|
frontmatter: null,
|
|
4393
4393
|
enabled: false,
|
|
4394
4394
|
eligible: false,
|
|
4395
|
-
ineligibilityReason: "Could not read SKILL.md"
|
|
4395
|
+
ineligibilityReason: "Could not read SKILL.md",
|
|
4396
|
+
hasInstallSpecs: false
|
|
4396
4397
|
};
|
|
4397
4398
|
}
|
|
4398
4399
|
const raw = parseFrontmatter({ content });
|
|
@@ -4401,12 +4402,14 @@ function listBundledSkills({
|
|
|
4401
4402
|
const entry = skillsConfig.entries[skillKey];
|
|
4402
4403
|
const enabled = entry?.enabled === true;
|
|
4403
4404
|
const { eligible, reason } = frontmatter ? checkSkillEligibility({ frontmatter, skillsConfig, fullConfig }) : { eligible: false, reason: "Invalid frontmatter" };
|
|
4405
|
+
const hasInstallSpecs = (frontmatter?.openclaw?.install?.length ?? 0) > 0;
|
|
4404
4406
|
return {
|
|
4405
4407
|
slug,
|
|
4406
4408
|
frontmatter,
|
|
4407
4409
|
enabled,
|
|
4408
4410
|
eligible,
|
|
4409
|
-
ineligibilityReason: reason
|
|
4411
|
+
ineligibilityReason: reason,
|
|
4412
|
+
hasInstallSpecs
|
|
4410
4413
|
};
|
|
4411
4414
|
});
|
|
4412
4415
|
}
|