babyclaw 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.
@@ -29,15 +29,20 @@ export default command({
29
29
  const bundled = listBundledSkills({ skillsConfig, fullConfig });
30
30
  let slug = await options.slug();
31
31
  if (!slug) {
32
- const enableable = bundled.filter((s) => s.eligible && !s.enabled);
32
+ const enableable = bundled.filter((s) => !s.enabled && (s.eligible || s.hasInstallSpecs));
33
33
  if (enableable.length === 0) {
34
34
  client.log(c.muted(" No skills available to enable."));
35
35
  return;
36
36
  }
37
- const choices = enableable.map((s) => ({
38
- title: `${s.frontmatter?.name ?? s.slug} ${c.muted("—")} ${c.muted(s.frontmatter?.description ?? "")}`,
39
- value: s.slug,
40
- }));
37
+ const choices = enableable.map((s) => {
38
+ const name = s.frontmatter?.name ?? s.slug;
39
+ const desc = s.frontmatter?.description ?? "";
40
+ const suffix = !s.eligible ? ` ${c.warning("(requires setup)")}` : "";
41
+ return {
42
+ title: `${name} ${c.muted("—")} ${c.muted(desc)}${suffix}`,
43
+ value: s.slug,
44
+ };
45
+ });
41
46
  choices.push({ title: c.muted("Cancel"), value: "__cancel__" });
42
47
  const selected = await client.prompt({
43
48
  type: "select",
@@ -55,7 +60,7 @@ export default command({
55
60
  process.exitCode = 1;
56
61
  return;
57
62
  }
58
- if (!skill.eligible) {
63
+ if (!skill.eligible && !skill.hasInstallSpecs) {
59
64
  client.log(c.error(`✗ Skill "${slug}" is not eligible on this system.`));
60
65
  if (skill.ineligibilityReason) {
61
66
  client.log(c.muted(` ${skill.ineligibilityReason}`));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "babyclaw",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "The babyclaw command-line interface",
5
5
  "keywords": [
6
6
  "agent",
@@ -24,7 +24,7 @@
24
24
  "dependencies": {
25
25
  "@gud/cli": "1.0.0-beta.7",
26
26
  "picocolors": "^1.1.1",
27
- "@babyclaw/gateway": "0.2.0"
27
+ "@babyclaw/gateway": "0.2.1"
28
28
  },
29
29
  "devDependencies": {
30
30
  "@types/node": "^24.3.0",