@xdarkicex/openclaw-memory-libravdb 1.4.70 → 1.4.72

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/dist/index.js CHANGED
@@ -39904,17 +39904,18 @@ function defaultEndpoint(platform = process.platform, homeDir = os3.homedir(), p
39904
39904
  if (platform === "win32") {
39905
39905
  return "tcp:127.0.0.1:37421";
39906
39906
  }
39907
+ const joinSocketPath = path4.posix.join;
39907
39908
  const sockName = "libravdb.sock";
39908
39909
  const candidateDirs = [
39909
39910
  // User-local (npm plugin convention)
39910
- homeDir?.trim() ? path4.join(homeDir, ".libravdbd", "run") : null,
39911
+ homeDir?.trim() ? joinSocketPath(homeDir, ".libravdbd", "run") : null,
39911
39912
  // Homebrew (Apple Silicon) — matches the Homebrew formula LaunchAgent
39912
39913
  "/opt/homebrew/var/libravdbd/run",
39913
39914
  // Homebrew (Intel Mac) / manual Linux installs
39914
39915
  "/usr/local/var/libravdbd/run"
39915
39916
  ].filter((d) => d !== null);
39916
39917
  for (const dir of candidateDirs) {
39917
- const sockPath = path4.join(dir, sockName);
39918
+ const sockPath = joinSocketPath(dir, sockName);
39918
39919
  try {
39919
39920
  if (pathExists(sockPath)) {
39920
39921
  return `unix:${sockPath}`;
@@ -39922,8 +39923,8 @@ function defaultEndpoint(platform = process.platform, homeDir = os3.homedir(), p
39922
39923
  } catch {
39923
39924
  }
39924
39925
  }
39925
- const baseDir = homeDir?.trim() ? path4.join(homeDir, ".libravdbd", "run") : path4.join(".", ".libravdbd", "run");
39926
- return `unix:${path4.join(baseDir, sockName)}`;
39926
+ const baseDir = homeDir?.trim() ? joinSocketPath(homeDir, ".libravdbd", "run") : joinSocketPath(".", ".libravdbd", "run");
39927
+ return `unix:${joinSocketPath(baseDir, sockName)}`;
39927
39928
  }
39928
39929
  function createDefaultRuntime() {
39929
39930
  return {
package/dist/sidecar.js CHANGED
@@ -369,17 +369,18 @@ export function defaultEndpoint(platform = process.platform, homeDir = os.homedi
369
369
  if (platform === "win32") {
370
370
  return "tcp:127.0.0.1:37421";
371
371
  }
372
+ const joinSocketPath = path.posix.join;
372
373
  const sockName = "libravdb.sock";
373
374
  const candidateDirs = [
374
375
  // User-local (npm plugin convention)
375
- homeDir?.trim() ? path.join(homeDir, ".libravdbd", "run") : null,
376
+ homeDir?.trim() ? joinSocketPath(homeDir, ".libravdbd", "run") : null,
376
377
  // Homebrew (Apple Silicon) — matches the Homebrew formula LaunchAgent
377
378
  "/opt/homebrew/var/libravdbd/run",
378
379
  // Homebrew (Intel Mac) / manual Linux installs
379
380
  "/usr/local/var/libravdbd/run",
380
381
  ].filter((d) => d !== null);
381
382
  for (const dir of candidateDirs) {
382
- const sockPath = path.join(dir, sockName);
383
+ const sockPath = joinSocketPath(dir, sockName);
383
384
  try {
384
385
  if (pathExists(sockPath)) {
385
386
  return `unix:${sockPath}`;
@@ -391,9 +392,9 @@ export function defaultEndpoint(platform = process.platform, homeDir = os.homedi
391
392
  }
392
393
  // Fallback to the original user-local path so error messages stay familiar.
393
394
  const baseDir = homeDir?.trim()
394
- ? path.join(homeDir, ".libravdbd", "run")
395
- : path.join(".", ".libravdbd", "run");
396
- return `unix:${path.join(baseDir, sockName)}`;
395
+ ? joinSocketPath(homeDir, ".libravdbd", "run")
396
+ : joinSocketPath(".", ".libravdbd", "run");
397
+ return `unix:${joinSocketPath(baseDir, sockName)}`;
397
398
  }
398
399
  export function buildSidecarEnv(cfg) {
399
400
  const env = {};
@@ -2,7 +2,7 @@
2
2
  "id": "libravdb-memory",
3
3
  "name": "LibraVDB Memory",
4
4
  "description": "Persistent vector memory with three-tier hybrid scoring",
5
- "version": "1.4.70",
5
+ "version": "1.4.72",
6
6
  "kind": [
7
7
  "memory",
8
8
  "context-engine"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xdarkicex/openclaw-memory-libravdb",
3
- "version": "1.4.70",
3
+ "version": "1.4.72",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -64,9 +64,6 @@
64
64
  "prepack": "npm run build",
65
65
  "build:daemon": "bash scripts/build-daemon.sh"
66
66
  },
67
- "dependencies": {
68
- "openclaw": "*"
69
- },
70
67
  "devDependencies": {
71
68
  "@bufbuild/protobuf": "1.7.2",
72
69
  "@grpc/grpc-js": "^1.14.3",
@@ -75,6 +72,7 @@
75
72
  "@types/node": "^20.11.0",
76
73
  "@xdarkicex/libravdb-contracts": "^0.0.6",
77
74
  "esbuild": "^0.27.0",
75
+ "openclaw": "2026.4.11",
78
76
  "typescript": "^6.0.3"
79
77
  },
80
78
  "peerDependencies": {