skiller 0.7.22 → 0.7.23

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/cli/index.js CHANGED
File without changes
@@ -792,6 +792,7 @@ async function syncClaudePluginsToSkillsDirs(args) {
792
792
  continue;
793
793
  const desiredPrefix = pluginNamespacePrefixByPluginId.get(item.pluginId) ??
794
794
  sanitizeId(item.pluginId);
795
+ const currentNamespacedBase = `${desiredPrefix}-${item.baseName}`;
795
796
  // Migration: previous versions used `${pluginId}__${name}`, then
796
797
  // `${pluginId}-${name}`. If we changed the namespace prefix (for example
797
798
  // to omit marketplace), don't preserve the old destination so the item
@@ -801,6 +802,13 @@ async function syncClaudePluginsToSkillsDirs(args) {
801
802
  if (prev.startsWith(`${sanitizeId(item.pluginId)}-`) &&
802
803
  desiredPrefix !== sanitizeId(item.pluginId))
803
804
  continue;
805
+ // If the item was previously namespaced only because its base name was
806
+ // unavailable, drop that sticky destination once the base name is free.
807
+ if ((prev === currentNamespacedBase ||
808
+ prev.startsWith(`${currentNamespacedBase}-`)) &&
809
+ !taken.has(item.baseName)) {
810
+ continue;
811
+ }
804
812
  if (taken.has(prev))
805
813
  continue;
806
814
  assignedDestByItemKey.set(item.itemKey, prev);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "skiller",
3
- "version": "0.7.22",
3
+ "version": "0.7.23",
4
4
  "description": "Skiller — apply the same rules to all coding agents",
5
5
  "main": "dist/lib.js",
6
6
  "publishConfig": {