claude-code-marketplace 0.5.5 → 0.5.7

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-code-marketplace",
3
- "version": "0.5.5",
3
+ "version": "0.5.7",
4
4
  "description": "Web UI for browsing and managing Claude Code marketplace plugins",
5
5
  "main": "server.js",
6
6
  "bin": {
package/public/app.js CHANGED
@@ -394,8 +394,8 @@ function renderPluginRow(p) {
394
394
  <span class="tree-icon">${icon}</span>
395
395
  <span class="tree-label">${esc(p.name)} ${ver} ${updateIndicator}</span>
396
396
  ${desc}
397
- ${scopes}
398
397
  ${summary}
398
+ ${scopes}
399
399
  </div>`;
400
400
 
401
401
  return html;
@@ -589,7 +589,7 @@ function renderDetailComponents(pluginId, comps, hasDirAccess) {
589
589
 
590
590
  let readmeHtml = '';
591
591
  if (comps._readmePath && hasDirAccess) {
592
- readmeHtml = `<div class="readme-comp-item" onclick="openContentModal('${esc(pluginId)}', '${esc(comps._readmePath)}', 'readme')">
592
+ readmeHtml = `<div class="readme-comp-item" onclick="openContentModal('${escJs(pluginId)}', '${escJs(comps._readmePath)}', 'readme')">
593
593
  <span class="icon">${ICONS.readme}</span> ${esc(comps._readmePath)}
594
594
  </div>`;
595
595
  }
@@ -615,7 +615,7 @@ function renderDetailComponents(pluginId, comps, hasDirAccess) {
615
615
  const clickPath = configFile || (dir ? `${dir}/${name}` : name);
616
616
  const cls = hasDirAccess ? '' : ' disabled';
617
617
  const click = hasDirAccess
618
- ? ` onclick="openContentModal('${esc(pluginId)}', '${esc(clickPath)}', '${esc(type)}')"`
618
+ ? ` onclick="openContentModal('${escJs(pluginId)}', '${escJs(clickPath)}', '${escJs(type)}')"`
619
619
  : '';
620
620
  html += `<div class="detail-comp-item${cls}"${click}>
621
621
  <span class="icon">${type === 'skills' ? ICONS.folder : ICONS.file}</span>
package/server.js CHANGED
@@ -374,7 +374,7 @@ function countComponents(pluginDir, meta = {}) {
374
374
  const data = readJsonSafe(mcpFile);
375
375
  if (data) {
376
376
  result.mcpServers = Object.keys(data.mcpServers || data);
377
- if (result.mcpServers.length) configFiles.mcpServers = mcpPath;
377
+ if (result.mcpServers.length) configFiles.mcpServers = toUnixPath(mcpPath);
378
378
  }
379
379
  }
380
380
 
@@ -386,7 +386,7 @@ function countComponents(pluginDir, meta = {}) {
386
386
  if (data) {
387
387
  const hooksObj = data.hooks || data;
388
388
  result.hooks = Object.keys(hooksObj).filter(k => k !== 'description');
389
- if (result.hooks.length) configFiles.hooks = hooksPath;
389
+ if (result.hooks.length) configFiles.hooks = toUnixPath(hooksPath);
390
390
  }
391
391
  }
392
392
 
@@ -397,7 +397,7 @@ function countComponents(pluginDir, meta = {}) {
397
397
  const data = readJsonSafe(lspFile);
398
398
  if (data) {
399
399
  result.lspServers = Object.keys(data.lspServers || data);
400
- if (result.lspServers.length) configFiles.lspServers = lspPath;
400
+ if (result.lspServers.length) configFiles.lspServers = toUnixPath(lspPath);
401
401
  }
402
402
  }
403
403