@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 CHANGED
@@ -5,7 +5,7 @@ license: MIT
5
5
  interface: [cli, skill]
6
6
  metadata:
7
7
  display-name: "LDM OS"
8
- version: "0.4.23"
8
+ version: "0.4.24"
9
9
  homepage: "https://github.com/wipcomputer/wip-ldm-os"
10
10
  author: "Parker Todd Brooks"
11
11
  category: infrastructure
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
- const toolName = pkg?.name?.replace(/^@\w+\//, '') || basename(toolPath);
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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wipcomputer/wip-ldm-os",
3
- "version": "0.4.23",
3
+ "version": "0.4.24",
4
4
  "type": "module",
5
5
  "description": "LDM OS: identity, memory, and sovereignty infrastructure for AI agents",
6
6
  "main": "src/boot/boot-hook.mjs",