@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 CHANGED
@@ -281,6 +281,7 @@ type BundledSkillStatus = {
281
281
  enabled: boolean;
282
282
  eligible: boolean;
283
283
  ineligibilityReason: string | null;
284
+ hasInstallSpecs: boolean;
284
285
  };
285
286
  declare function listBundledSkills({ skillsConfig, fullConfig, }: {
286
287
  skillsConfig: SkillsConfig;
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
  }