claude-code-marketplace 0.8.0 → 0.9.0

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.8.0",
3
+ "version": "0.9.0",
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
@@ -1356,6 +1356,11 @@ function setFocusedRow(index, rows) {
1356
1356
  _focusedRowEl = row;
1357
1357
  }
1358
1358
 
1359
+ function getFocusedPluginId() {
1360
+ if (_focusedRowEl?.dataset.rowType === 'plugin') return _focusedRowEl.dataset.rowId;
1361
+ return null;
1362
+ }
1363
+
1359
1364
  function getFocusedIndex(rows) {
1360
1365
  if (!focusedRowId) return -1;
1361
1366
  return rows.findIndex((r) => r.dataset.rowId === focusedRowId);
@@ -1408,7 +1413,13 @@ function handleKeydown(e) {
1408
1413
 
1409
1414
  if (matchKey(e, 'e')) {
1410
1415
  e.preventDefault();
1411
- toggleExpandAll();
1416
+ const id = selectedPluginId || getFocusedPluginId();
1417
+ if (id) {
1418
+ openFolderInEditor({ pluginId: id });
1419
+ toast('Opening in editor…', 'info');
1420
+ } else {
1421
+ toast('Select a plugin first', 'info');
1422
+ }
1412
1423
  return;
1413
1424
  }
1414
1425
 
package/public/index.html CHANGED
@@ -138,7 +138,7 @@
138
138
  <tr><td><kbd>?</kbd></td><td>Show keyboard shortcuts</td></tr>
139
139
  <tr><td><kbd>/</kbd></td><td>Focus search</td></tr>
140
140
  <tr><td><kbd>S</kbd></td><td>Focus scope filter</td></tr>
141
- <tr><td><kbd>E</kbd></td><td>Expand / Collapse all</td></tr>
141
+ <tr><td><kbd>E</kbd></td><td>Open plugin in editor</td></tr>
142
142
  <tr><td><kbd>R</kbd></td><td>Refresh data</td></tr>
143
143
  <tr><td><kbd>T</kbd></td><td>Toggle theme</td></tr>
144
144
  <tr><td><kbd>U</kbd></td><td>Open user CLAUDE.md</td></tr>
package/public/sw.js CHANGED
@@ -1,4 +1,4 @@
1
- const CACHE_NAME = 'cc-marketplace-v1';
1
+ const CACHE_NAME = 'cc-marketplace-v2';
2
2
  const PRECACHE = ['/', '/style.css', '/app.js'];
3
3
 
4
4
  self.addEventListener('install', (e) => {