@wipcomputer/wip-ldm-os 0.4.9 → 0.4.10

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.
Files changed (3) hide show
  1. package/SKILL.md +1 -1
  2. package/bin/ldm.js +3 -1
  3. package/package.json +1 -1
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.9"
8
+ version: "0.4.10"
9
9
  homepage: "https://github.com/wipcomputer/wip-ldm-os"
10
10
  author: "Parker Todd Brooks"
11
11
  category: infrastructure
package/bin/ldm.js CHANGED
@@ -66,6 +66,8 @@ function acquireInstallLock() {
66
66
  try {
67
67
  if (existsSync(LOCK_PATH)) {
68
68
  const lock = JSON.parse(readFileSync(LOCK_PATH, 'utf8'));
69
+ // Re-entrant: if we already hold the lock, allow it
70
+ if (lock.pid === process.pid) return true;
69
71
  // Check if PID is still alive
70
72
  try {
71
73
  process.kill(lock.pid, 0); // signal 0 = just check if alive
@@ -597,7 +599,7 @@ function autoDetectExtensions() {
597
599
  // ── ldm install (bare): scan system, show real state, update if needed ──
598
600
 
599
601
  async function cmdInstallCatalog() {
600
- if (!DRY_RUN && !acquireInstallLock()) return;
602
+ // No lock here. cmdInstall() already holds it when calling this.
601
603
 
602
604
  autoDetectExtensions();
603
605
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wipcomputer/wip-ldm-os",
3
- "version": "0.4.9",
3
+ "version": "0.4.10",
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",