@wipcomputer/wip-ldm-os 0.4.16 → 0.4.17

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.16"
8
+ version: "0.4.17"
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
@@ -52,6 +52,7 @@ if (existsSync(VERSION_PATH)) {
52
52
  const v = JSON.parse(readFileSync(VERSION_PATH, 'utf8'));
53
53
  if (v.version && v.version !== PKG_VERSION) {
54
54
  v.version = PKG_VERSION;
55
+ v.installed = new Date().toISOString(); // #86: update install date on CLI upgrade
55
56
  v.updated = new Date().toISOString();
56
57
  writeFileSync(VERSION_PATH, JSON.stringify(v, null, 2) + '\n');
57
58
  }
package/lib/deploy.mjs CHANGED
@@ -572,9 +572,9 @@ function installClaudeCodeHook(repoPath, door) {
572
572
  const extDir = join(LDM_EXTENSIONS, toolName);
573
573
  const installedGuard = join(extDir, 'guard.mjs');
574
574
 
575
- // Deploy guard.mjs to ~/.ldm/extensions/{toolName}/ if not already there
575
+ // Deploy guard.mjs to ~/.ldm/extensions/{toolName}/ (#85: always update, not just when missing)
576
576
  const srcGuard = join(repoPath, 'guard.mjs');
577
- if (!existsSync(installedGuard) && existsSync(srcGuard)) {
577
+ if (existsSync(srcGuard)) {
578
578
  try {
579
579
  if (!existsSync(extDir)) mkdirSync(extDir, { recursive: true });
580
580
  copyFileSync(srcGuard, installedGuard);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wipcomputer/wip-ldm-os",
3
- "version": "0.4.16",
3
+ "version": "0.4.17",
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",