claude-code-marketplace 0.5.0 → 0.5.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/server.js +2 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-code-marketplace",
3
- "version": "0.5.0",
3
+ "version": "0.5.1",
4
4
  "description": "Web UI for browsing and managing Claude Code marketplace plugins",
5
5
  "main": "server.js",
6
6
  "bin": {
package/server.js CHANGED
@@ -262,7 +262,8 @@ function loadMarketplaces() {
262
262
 
263
263
  let availableVersion = pd.version || null;
264
264
  if (!availableVersion) {
265
- const versionDir = pluginDir || originDir;
265
+ // Use originDir (source copy) for available version, not pluginDir (installed/cached copy)
266
+ const versionDir = originDir || pluginDir;
266
267
  if (versionDir) {
267
268
  const pluginJson = path.join(versionDir, '.claude-plugin', 'plugin.json');
268
269
  const pjData = readJsonSafe(pluginJson);