@rely-ai/caliber 1.31.0-dev.1774711990 → 1.31.0-dev.1774712501

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.
Files changed (2) hide show
  1. package/dist/bin.js +5 -3
  2. package/package.json +1 -1
package/dist/bin.js CHANGED
@@ -368,6 +368,7 @@ These are auto-extracted from real tool usage \u2014 treat them as project-speci
368
368
  var builtin_skills_exports = {};
369
369
  __export(builtin_skills_exports, {
370
370
  BUILTIN_SKILLS: () => BUILTIN_SKILLS,
371
+ BUILTIN_SKILL_NAMES: () => BUILTIN_SKILL_NAMES,
371
372
  FIND_SKILLS_SKILL: () => FIND_SKILLS_SKILL,
372
373
  SAVE_LEARNING_SKILL: () => SAVE_LEARNING_SKILL,
373
374
  SETUP_CALIBER_SKILL: () => SETUP_CALIBER_SKILL,
@@ -603,7 +604,6 @@ function ensureBuiltinSkills() {
603
604
  if (!fs17.existsSync(platformDir)) continue;
604
605
  for (const skill of BUILTIN_SKILLS) {
605
606
  const skillPath = path16.join(skillsDir, skill.name, "SKILL.md");
606
- if (fs17.existsSync(skillPath)) continue;
607
607
  fs17.mkdirSync(path16.dirname(skillPath), { recursive: true });
608
608
  fs17.writeFileSync(skillPath, buildSkillContent(skill));
609
609
  written.push(skillPath);
@@ -611,7 +611,7 @@ function ensureBuiltinSkills() {
611
611
  }
612
612
  return written;
613
613
  }
614
- var FIND_SKILLS_SKILL, SAVE_LEARNING_SKILL, SETUP_CALIBER_SKILL, BUILTIN_SKILLS, PLATFORM_CONFIGS;
614
+ var FIND_SKILLS_SKILL, SAVE_LEARNING_SKILL, SETUP_CALIBER_SKILL, BUILTIN_SKILLS, PLATFORM_CONFIGS, BUILTIN_SKILL_NAMES;
615
615
  var init_builtin_skills = __esm({
616
616
  "src/lib/builtin-skills.ts"() {
617
617
  "use strict";
@@ -643,6 +643,7 @@ var init_builtin_skills = __esm({
643
643
  { platformDir: ".cursor", skillsDir: path16.join(".cursor", "skills") },
644
644
  { platformDir: ".agents", skillsDir: path16.join(".agents", "skills") }
645
645
  ];
646
+ BUILTIN_SKILL_NAMES = new Set(BUILTIN_SKILLS.map((s) => s.name));
646
647
  }
647
648
  });
648
649
 
@@ -2823,6 +2824,7 @@ var SKILL_FORMAT_RULES = `All skills follow the OpenSkills standard (agentskills
2823
2824
 
2824
2825
  Skill field requirements:
2825
2826
  - "name": kebab-case (lowercase letters, numbers, hyphens only). Becomes the directory name.
2827
+ - "name" MUST NOT be any of these reserved names (they are managed by Caliber automatically): "setup-caliber", "find-skills", "save-learning". Do NOT generate skills with these names.
2826
2828
  - "description": MUST include WHAT it does + WHEN to use it with specific trigger phrases. Example: "Manages database migrations. Use when user says 'run migration', 'create migration', 'db schema change', or modifies files in db/migrations/."
2827
2829
  - "content": markdown body only \u2014 do NOT include YAML frontmatter, it is generated from name+description.
2828
2830
 
@@ -3674,7 +3676,7 @@ if ${guard}; then
3674
3676
  echo "\\033[2mcaliber: refreshing docs...\\033[0m"
3675
3677
  ${invoke} refresh 2>/dev/null || true
3676
3678
  ${invoke} learn finalize 2>/dev/null || true
3677
- git diff --name-only -- CLAUDE.md .claude/ .cursor/ AGENTS.md CALIBER_LEARNINGS.md 2>/dev/null | xargs git add 2>/dev/null || true
3679
+ git diff --name-only -- CLAUDE.md .claude/ .cursor/ .cursorrules .github/copilot-instructions.md .github/instructions/ AGENTS.md CALIBER_LEARNINGS.md 2>/dev/null | xargs git add 2>/dev/null || true
3678
3680
  fi
3679
3681
  ${PRECOMMIT_END}`;
3680
3682
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rely-ai/caliber",
3
- "version": "1.31.0-dev.1774711990",
3
+ "version": "1.31.0-dev.1774712501",
4
4
  "description": "AI context infrastructure for coding agents — keeps CLAUDE.md, Cursor rules, and skills in sync as your codebase evolves",
5
5
  "type": "module",
6
6
  "bin": {