claude-code-marketplace 0.5.1 → 0.5.2

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.1",
3
+ "version": "0.5.2",
4
4
  "description": "Web UI for browsing and managing Claude Code marketplace plugins",
5
5
  "main": "server.js",
6
6
  "bin": {
package/public/style.css CHANGED
@@ -472,8 +472,8 @@ body {
472
472
  border-color: var(--scope-local);
473
473
  }
474
474
  .scope-toggle.disabled {
475
- opacity: 0.4;
476
- text-decoration: line-through;
475
+ border-style: dashed;
476
+ opacity: 0.6;
477
477
  }
478
478
 
479
479
  /* Light theme: boost inactive scope contrast further */
package/server.js CHANGED
@@ -31,6 +31,10 @@ let projectPath = getArg('project') || process.cwd();
31
31
  if (projectPath.startsWith('~')) projectPath = projectPath.replace('~', os.homedir());
32
32
  const PORT = parseInt(getArg('port') || process.env.PORT || '3457', 10);
33
33
 
34
+ function toUnixPath(p) {
35
+ return p ? p.replace(/\\/g, '/') : p;
36
+ }
37
+
34
38
  function readJsonSafe(filePath) {
35
39
  try {
36
40
  return JSON.parse(fs.readFileSync(filePath, 'utf-8'));
@@ -157,7 +161,7 @@ function loadMarketplaces() {
157
161
  path: sourceData.path || null,
158
162
  url: sourceData.url || null,
159
163
  },
160
- installLocation,
164
+ installLocation: toUnixPath(installLocation),
161
165
  lastUpdated: entryData.lastUpdated || null,
162
166
  version: null,
163
167
  plugins: [],
@@ -285,8 +289,8 @@ function loadMarketplaces() {
285
289
  scopeDetails,
286
290
  installedScopes,
287
291
  components,
288
- _pluginDir: pluginDir,
289
- _originDir: originDir,
292
+ _pluginDir: toUnixPath(pluginDir),
293
+ _originDir: toUnixPath(originDir),
290
294
  _fsComps: fsComps,
291
295
  metadata: Object.fromEntries(
292
296
  Object.entries(pd).filter(([k]) => !['name', 'description', 'source', 'version', ...compKeys].includes(k))
@@ -473,7 +477,7 @@ function scanCustomizations(basePath, scope) {
473
477
  scopeDetails,
474
478
  installedScopes: [scope],
475
479
  components,
476
- _pluginDir: basePath,
480
+ _pluginDir: toUnixPath(basePath),
477
481
  _fsComps: components,
478
482
  metadata: {},
479
483
  }],