claudeup 4.5.3 → 4.5.4
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
|
@@ -325,20 +325,22 @@ export function SkillsScreen() {
|
|
|
325
325
|
}
|
|
326
326
|
return;
|
|
327
327
|
}
|
|
328
|
-
// Action keys
|
|
329
|
-
if (
|
|
330
|
-
if (
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
if (
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
328
|
+
// Action keys only when NOT actively typing in search
|
|
329
|
+
if (!isSearchActive) {
|
|
330
|
+
if (event.name === "u" && selectedSkill) {
|
|
331
|
+
if (selectedSkill.installed && selectedSkill.installedScope === "user")
|
|
332
|
+
handleUninstall();
|
|
333
|
+
else
|
|
334
|
+
handleInstall("user");
|
|
335
|
+
return;
|
|
336
|
+
}
|
|
337
|
+
else if (event.name === "p" && selectedSkill) {
|
|
338
|
+
if (selectedSkill.installed && selectedSkill.installedScope === "project")
|
|
339
|
+
handleUninstall();
|
|
340
|
+
else
|
|
341
|
+
handleInstall("project");
|
|
342
|
+
return;
|
|
343
|
+
}
|
|
342
344
|
}
|
|
343
345
|
if (isSearchActive) {
|
|
344
346
|
if (event.name === "k" || event.name === "j") {
|
|
@@ -358,15 +358,17 @@ export function SkillsScreen() {
|
|
|
358
358
|
return;
|
|
359
359
|
}
|
|
360
360
|
|
|
361
|
-
// Action keys
|
|
362
|
-
if (
|
|
363
|
-
if (
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
if (
|
|
368
|
-
|
|
369
|
-
|
|
361
|
+
// Action keys only when NOT actively typing in search
|
|
362
|
+
if (!isSearchActive) {
|
|
363
|
+
if (event.name === "u" && selectedSkill) {
|
|
364
|
+
if (selectedSkill.installed && selectedSkill.installedScope === "user") handleUninstall();
|
|
365
|
+
else handleInstall("user");
|
|
366
|
+
return;
|
|
367
|
+
} else if (event.name === "p" && selectedSkill) {
|
|
368
|
+
if (selectedSkill.installed && selectedSkill.installedScope === "project") handleUninstall();
|
|
369
|
+
else handleInstall("project");
|
|
370
|
+
return;
|
|
371
|
+
}
|
|
370
372
|
}
|
|
371
373
|
|
|
372
374
|
if (isSearchActive) {
|