@xdarkicex/openclaw-memory-libravdb 1.6.5 → 1.6.6

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/identity.js CHANGED
@@ -56,7 +56,7 @@ function writeIdentityFile(path, userId, parts) {
56
56
  const dir = dirname(path);
57
57
  mkdirSync(dir, { recursive: true });
58
58
  const tmp = `${path}.${process.pid}.${Math.random().toString(36).slice(2, 8)}.tmp`;
59
- writeFileSync(tmp, JSON.stringify(identity, null, 2) + "\n");
59
+ writeFileSync(tmp, JSON.stringify(identity, null, 2) + "\n", { mode: 0o600 });
60
60
  renameSync(tmp, path);
61
61
  }
62
62
  export function resolveIdentity(params) {
package/dist/index.js CHANGED
@@ -25033,7 +25033,7 @@ function writeIdentityFile(path4, userId, parts) {
25033
25033
  const dir = dirname(path4);
25034
25034
  mkdirSync(dir, { recursive: true });
25035
25035
  const tmp = `${path4}.${process.pid}.${Math.random().toString(36).slice(2, 8)}.tmp`;
25036
- writeFileSync(tmp, JSON.stringify(identity, null, 2) + "\n");
25036
+ writeFileSync(tmp, JSON.stringify(identity, null, 2) + "\n", { mode: 384 });
25037
25037
  renameSync(tmp, path4);
25038
25038
  }
25039
25039
  function resolveIdentity(params) {
@@ -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.6.5",
5
+ "version": "1.6.6",
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.6.5",
3
+ "version": "1.6.6",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",