@sellable/install 0.1.180 → 0.1.181

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.
@@ -31,7 +31,7 @@ function getInstallVersion() {
31
31
  }
32
32
  }
33
33
 
34
- const CODEX_PLUGIN_VERSION = "0.1.35";
34
+ const CODEX_PLUGIN_VERSION = "0.1.36";
35
35
  const CODEX_PLUGIN_COMPAT_VERSIONS = [
36
36
  "0.1.8",
37
37
  "0.1.9",
@@ -60,6 +60,7 @@ const CODEX_PLUGIN_COMPAT_VERSIONS = [
60
60
  "0.1.32",
61
61
  "0.1.33",
62
62
  "0.1.34",
63
+ "0.1.35",
63
64
  ];
64
65
  const INSTALL_PACKAGE_SPEC =
65
66
  process.env.SELLABLE_INSTALL_PACKAGE_SPEC || "@sellable/install@latest";
@@ -1733,7 +1734,22 @@ function claudeCustomAgents() {
1733
1734
  }
1734
1735
 
1735
1736
  function writeCodexPluginSkills(pluginRoot, opts) {
1736
- for (const skill of codexPluginSkills()) {
1737
+ const skills = codexPluginSkills();
1738
+ const currentSkillDirs = new Set(skills.map((skill) => skill.dir));
1739
+ const skillsRoot = join(pluginRoot, "skills");
1740
+
1741
+ if (existsSync(skillsRoot)) {
1742
+ for (const entry of readdirSync(skillsRoot, { withFileTypes: true })) {
1743
+ if (!entry.isDirectory() || currentSkillDirs.has(entry.name)) continue;
1744
+ const stalePath = join(skillsRoot, entry.name);
1745
+ logVerbose(
1746
+ `${C.grey}Removing stale Codex plugin skill ${stalePath}${C.reset}`
1747
+ );
1748
+ if (!opts.dryRun) rmSync(stalePath, { recursive: true, force: true });
1749
+ }
1750
+ }
1751
+
1752
+ for (const skill of skills) {
1737
1753
  const skillRoot = join(pluginRoot, "skills", skill.dir);
1738
1754
  writeFile(join(skillRoot, "SKILL.md"), skill.skillMd, opts);
1739
1755
  if (skill.soulMd) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sellable/install",
3
- "version": "0.1.180",
3
+ "version": "0.1.181",
4
4
  "type": "module",
5
5
  "description": "One-command installer for Sellable MCP in Claude Code and Codex",
6
6
  "bin": {