@xdarkicex/openclaw-memory-libravdb 1.4.8 → 1.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.
@@ -2,17 +2,35 @@
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.8",
6
- "kind": "context-engine",
5
+ "version": "1.4.10",
6
+ "kind": [
7
+ "memory",
8
+ "context-engine"
9
+ ],
7
10
  "configSchema": {
8
11
  "type": "object",
9
12
  "additionalProperties": false,
10
13
  "properties": {
11
- "dbPath": { "type": "string" },
12
- "sidecarPath": { "type": "string" },
13
- "useSessionSummarySearchExperiment": { "type": "boolean" },
14
- "embeddingRuntimePath": { "type": "string" },
15
- "embeddingBackend": { "type": "string", "enum": ["bundled", "onnx-local", "custom-local"] },
14
+ "dbPath": {
15
+ "type": "string"
16
+ },
17
+ "sidecarPath": {
18
+ "type": "string"
19
+ },
20
+ "useSessionSummarySearchExperiment": {
21
+ "type": "boolean"
22
+ },
23
+ "embeddingRuntimePath": {
24
+ "type": "string"
25
+ },
26
+ "embeddingBackend": {
27
+ "type": "string",
28
+ "enum": [
29
+ "bundled",
30
+ "onnx-local",
31
+ "custom-local"
32
+ ]
33
+ },
16
34
  "embeddingProfile": {
17
35
  "type": "string",
18
36
  "default": "all-minilm-l6-v2"
@@ -21,22 +39,60 @@
21
39
  "type": "string",
22
40
  "default": "all-minilm-l6-v2"
23
41
  },
24
- "embeddingModelPath": { "type": "string" },
25
- "embeddingTokenizerPath": { "type": "string" },
26
- "embeddingDimensions": { "type": "number" },
27
- "embeddingNormalize": { "type": "boolean" },
28
- "summarizerBackend": { "type": "string", "enum": ["bundled", "onnx-local", "ollama-local", "custom-local"] },
29
- "summarizerProfile": { "type": "string" },
30
- "summarizerRuntimePath": { "type": "string" },
31
- "summarizerModelPath": { "type": "string" },
32
- "summarizerTokenizerPath": { "type": "string" },
33
- "summarizerModel": { "type": "string" },
34
- "summarizerEndpoint": { "type": "string" },
35
- "sessionTTL": { "type": "number" },
36
- "topK": { "type": "number" },
37
- "alpha": { "type": "number" },
38
- "beta": { "type": "number" },
39
- "gamma": { "type": "number" },
42
+ "embeddingModelPath": {
43
+ "type": "string"
44
+ },
45
+ "embeddingTokenizerPath": {
46
+ "type": "string"
47
+ },
48
+ "embeddingDimensions": {
49
+ "type": "number"
50
+ },
51
+ "embeddingNormalize": {
52
+ "type": "boolean"
53
+ },
54
+ "summarizerBackend": {
55
+ "type": "string",
56
+ "enum": [
57
+ "bundled",
58
+ "onnx-local",
59
+ "ollama-local",
60
+ "custom-local"
61
+ ]
62
+ },
63
+ "summarizerProfile": {
64
+ "type": "string"
65
+ },
66
+ "summarizerRuntimePath": {
67
+ "type": "string"
68
+ },
69
+ "summarizerModelPath": {
70
+ "type": "string"
71
+ },
72
+ "summarizerTokenizerPath": {
73
+ "type": "string"
74
+ },
75
+ "summarizerModel": {
76
+ "type": "string"
77
+ },
78
+ "summarizerEndpoint": {
79
+ "type": "string"
80
+ },
81
+ "sessionTTL": {
82
+ "type": "number"
83
+ },
84
+ "topK": {
85
+ "type": "number"
86
+ },
87
+ "alpha": {
88
+ "type": "number"
89
+ },
90
+ "beta": {
91
+ "type": "number"
92
+ },
93
+ "gamma": {
94
+ "type": "number"
95
+ },
40
96
  "ingestionGateThreshold": {
41
97
  "type": "number",
42
98
  "default": 0.35
@@ -47,7 +103,9 @@
47
103
  },
48
104
  "markdownIngestionRoots": {
49
105
  "type": "array",
50
- "items": { "type": "string" }
106
+ "items": {
107
+ "type": "string"
108
+ }
51
109
  },
52
110
  "markdownIngestionObsidianEnabled": {
53
111
  "type": "boolean",
@@ -55,15 +113,21 @@
55
113
  },
56
114
  "markdownIngestionObsidianRoots": {
57
115
  "type": "array",
58
- "items": { "type": "string" }
116
+ "items": {
117
+ "type": "string"
118
+ }
59
119
  },
60
120
  "markdownIngestionObsidianInclude": {
61
121
  "type": "array",
62
- "items": { "type": "string" }
122
+ "items": {
123
+ "type": "string"
124
+ }
63
125
  },
64
126
  "markdownIngestionObsidianExclude": {
65
127
  "type": "array",
66
- "items": { "type": "string" }
128
+ "items": {
129
+ "type": "string"
130
+ }
67
131
  },
68
132
  "markdownIngestionObsidianDebounceMs": {
69
133
  "type": "number",
@@ -71,11 +135,15 @@
71
135
  },
72
136
  "markdownIngestionInclude": {
73
137
  "type": "array",
74
- "items": { "type": "string" }
138
+ "items": {
139
+ "type": "string"
140
+ }
75
141
  },
76
142
  "markdownIngestionExclude": {
77
143
  "type": "array",
78
- "items": { "type": "string" }
144
+ "items": {
145
+ "type": "string"
146
+ }
79
147
  },
80
148
  "markdownIngestionCollection": {
81
149
  "type": "string",
@@ -103,16 +171,38 @@
103
171
  "type": "object",
104
172
  "additionalProperties": false,
105
173
  "default": {
106
- "w1c": 0.35, "w2c": 0.40, "w3c": 0.25,
107
- "w1t": 0.40, "w2t": 0.35, "w3t": 0.25
174
+ "w1c": 0.35,
175
+ "w2c": 0.4,
176
+ "w3c": 0.25,
177
+ "w1t": 0.4,
178
+ "w2t": 0.35,
179
+ "w3t": 0.25
108
180
  },
109
181
  "properties": {
110
- "w1c": { "type": "number", "default": 0.35 },
111
- "w2c": { "type": "number", "default": 0.40 },
112
- "w3c": { "type": "number", "default": 0.25 },
113
- "w1t": { "type": "number", "default": 0.40 },
114
- "w2t": { "type": "number", "default": 0.35 },
115
- "w3t": { "type": "number", "default": 0.25 }
182
+ "w1c": {
183
+ "type": "number",
184
+ "default": 0.35
185
+ },
186
+ "w2c": {
187
+ "type": "number",
188
+ "default": 0.4
189
+ },
190
+ "w3c": {
191
+ "type": "number",
192
+ "default": 0.25
193
+ },
194
+ "w1t": {
195
+ "type": "number",
196
+ "default": 0.4
197
+ },
198
+ "w2t": {
199
+ "type": "number",
200
+ "default": 0.35
201
+ },
202
+ "w3t": {
203
+ "type": "number",
204
+ "default": 0.25
205
+ }
116
206
  }
117
207
  },
118
208
  "gatingTechNorm": {
@@ -132,21 +222,42 @@
132
222
  "default": 0.5,
133
223
  "description": "Controls how much summary confidence affects retrieval score. 0 ignores summary quality and 1 fully suppresses zero-confidence summaries."
134
224
  },
135
- "recencyLambdaSession": { "type": "number" },
136
- "recencyLambdaUser": { "type": "number" },
137
- "recencyLambdaGlobal": { "type": "number" },
138
- "tokenBudgetFraction": { "type": "number" },
139
- "compactThreshold": { "type": "number" },
225
+ "recencyLambdaSession": {
226
+ "type": "number"
227
+ },
228
+ "recencyLambdaUser": {
229
+ "type": "number"
230
+ },
231
+ "recencyLambdaGlobal": {
232
+ "type": "number"
233
+ },
234
+ "tokenBudgetFraction": {
235
+ "type": "number"
236
+ },
237
+ "compactThreshold": {
238
+ "type": "number"
239
+ },
140
240
  "compactSessionTokenBudget": {
141
241
  "type": "number",
142
242
  "default": 2000,
143
243
  "description": "Auto-trigger compaction when the session accumulates this many tokens since the last compaction. Set to 0 to disable auto-compaction."
144
244
  },
145
- "ollamaUrl": { "type": "string" },
146
- "compactModel": { "type": "string" },
147
- "rpcTimeoutMs": { "type": "number", "default": 30000 },
148
- "maxRetries": { "type": "number" },
149
- "logLevel": { "type": "string" }
245
+ "ollamaUrl": {
246
+ "type": "string"
247
+ },
248
+ "compactModel": {
249
+ "type": "string"
250
+ },
251
+ "rpcTimeoutMs": {
252
+ "type": "number",
253
+ "default": 30000
254
+ },
255
+ "maxRetries": {
256
+ "type": "number"
257
+ },
258
+ "logLevel": {
259
+ "type": "string"
260
+ }
150
261
  }
151
262
  }
152
263
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xdarkicex/openclaw-memory-libravdb",
3
- "version": "1.4.8",
3
+ "version": "1.4.10",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -37,7 +37,7 @@
37
37
  }
38
38
  },
39
39
  "scripts": {
40
- "build": "pnpm run generate:contracts && tsc -p tsconfig.build.json && mkdir -p dist/proto && cp -rf api/proto/. dist/proto/",
40
+ "build": "tsc -p tsconfig.build.json && mkdir -p dist/proto dist/generated && cp -rf api/proto/. dist/proto/ && cp -rf src/generated/. dist/generated/",
41
41
  "check": "tsc --noEmit && pnpm run test:ts",
42
42
  "test:ts": "tsc -p tsconfig.tests.json && node --test .ts-build/test/unit/*.test.js",
43
43
  "test:integration": "tsc -p tsconfig.tests.json && node --test .ts-build/test/integration/checklist-validation.test.js .ts-build/test/integration/dream-promotion.test.js .ts-build/test/integration/host-flow.test.js .ts-build/test/integration/markdown-ingest.test.js .ts-build/test/integration/sidecar-lifecycle.test.js",
@@ -49,18 +49,17 @@
49
49
  "benchmark:longmemeval:score": "node scripts/longmemeval-score.mjs",
50
50
  "benchmark:longmemeval:diagnose": "node scripts/longmemeval-diagnose.mjs",
51
51
  "prepack": "npm run build",
52
- "build:daemon": "bash scripts/build-daemon.sh",
53
- "generate:contracts": "cd ../libravdb-contracts && pnpm run build && cp -r gen/js/. ../openclaw-memory-libravdb/src/generated/"
52
+ "build:daemon": "bash scripts/build-daemon.sh"
54
53
  },
55
54
  "dependencies": {
56
55
  "@bufbuild/protobuf": "1.7.2",
57
56
  "@grpc/grpc-js": "^1.14.3",
58
57
  "@grpc/proto-loader": "^0.8.0",
59
- "@xdarkicex/libravdb-contracts": "file:../libravdb-contracts",
60
58
  "openclaw": "*"
61
59
  },
62
60
  "devDependencies": {
63
- "@types/node": "^20.11.0"
61
+ "@types/node": "^20.11.0",
62
+ "typescript": "^6.0.3"
64
63
  },
65
64
  "peerDependencies": {
66
65
  "openclaw": ">=2026.3.22"