@wipcomputer/wip-ldm-os 0.4.23 → 0.4.24
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/SKILL.md +1 -1
- package/lib/deploy.mjs +4 -1
- package/package.json +1 -1
package/SKILL.md
CHANGED
package/lib/deploy.mjs
CHANGED
|
@@ -683,7 +683,10 @@ export function installSingleTool(toolPath) {
|
|
|
683
683
|
|
|
684
684
|
if (ifaceNames.length === 0) return 0;
|
|
685
685
|
|
|
686
|
-
|
|
686
|
+
// Derive tool name from package.json, never from /tmp/ clone path
|
|
687
|
+
let toolName = pkg?.name?.replace(/^@\w+\//, '') || basename(toolPath);
|
|
688
|
+
// Strip ldm-install- prefix if it leaked from clone path
|
|
689
|
+
toolName = toolName.replace(/^ldm-install-/, '');
|
|
687
690
|
|
|
688
691
|
// Migrate ldm-install-* ghost directories (#96)
|
|
689
692
|
// Old installs used /tmp/ldm-install-<name> as source, which leaked into the directory name.
|