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 +1 -1
- package/public/app.js +12 -1
- package/public/index.html +1 -1
- package/public/sw.js +1 -1
package/package.json
CHANGED
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
|
-
|
|
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>
|
|
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