@xdarkicex/openclaw-memory-libravdb 1.4.32 → 1.4.34

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/README.md CHANGED
@@ -160,130 +160,19 @@ openclaw memory dream-promote --user-id <userId> --dream-file /path/to/DREAMS.md
160
160
  Use [Install](./docs/install.md) for service lifecycle commands and
161
161
  [Uninstall](./docs/uninstall.md) for safe shutdown and removal.
162
162
 
163
- ## Configuration Reference
163
+ ## Configuration
164
164
 
165
- All configuration keys are optional.
165
+ All keys are optional. For the full reference, see [Configuration](./docs/configuration.md).
166
166
 
167
- If you do not have a GPU available, setting `onnxDevice` to `"cpu"` is
168
- recommended to avoid startup failures from missing GPU/NPU providers,
169
- but this is also optional — the service auto-detects and falls back to
170
- CPU when a provider is unavailable.
171
-
172
- ### Connection
173
-
174
- | Key | Type | Default | Notes |
175
- |---|---|---|---|
176
- | `sidecarPath` | string | `auto` | `"auto"` probes standard socket paths; set `unix:/path` or `tcp:host:port` to override |
177
- | `grpcEndpoint` | string | — | Optional gRPC kernel endpoint for hosts using the gRPC kernel transport |
178
- | `rpcTimeoutMs` | number | `30000` | Per-call timeout for service RPC (ms) |
179
- | `dbPath` | string | auto-named | Explicit DB path; when set bypasses model-specific naming |
180
-
181
- ### Embedding
182
-
183
- | Key | Type | Default | Notes |
167
+ | Key | Type | Default | |
184
168
  |---|---|---|---|
169
+ | `sidecarPath` | string | `auto` | `"auto"` probes standard paths; set `unix:/path` or `tcp:host:port` to override |
185
170
  | `embeddingProfile` | string | `nomic-embed-text-v1.5` | Primary embedding model |
186
- | `fallbackProfile` | string | `bge-small-en-v1.5` | Fallback when primary model fails dimension checks |
187
- | `embeddingBackend` | string | | `bundled`, `onnx-local`, or `custom-local` |
188
- | `onnxDevice` | string | `auto` | ONNX execution provider: `auto`, `cpu`, `coreml` (macOS), `cuda` (Linux/Windows), `directml` (Windows), `openvino` (Linux) |
189
- | `embeddingRuntimePath` | string | — | Path to ONNX runtime library (maps to `LIBRAVDB_ONNX_RUNTIME`) |
190
- | `embeddingModelPath` | string | — | Path to custom embedding model `.onnx` file |
191
- | `embeddingTokenizerPath` | string | — | Path to custom tokenizer file |
192
- | `embeddingDimensions` | number | — | Embedding dimension override |
193
- | `embeddingNormalize` | boolean | — | Enable embedding normalization |
194
-
195
- ### Retrieval
196
-
197
- | Key | Type | Default | Notes |
198
- |---|---|---|---|
199
- | `topK` | number | — | Max results per search |
200
- | `alpha` | number | — | Semantic similarity weight |
201
- | `beta` | number | — | Recency weight |
202
- | `gamma` | number | — | Summary quality weight |
171
+ | `fallbackProfile` | string | `bge-small-en-v1.5` | Fallback profile for dimension mismatches |
172
+ | `onnxDevice` | string | `auto` | ONNX execution provider; set `cpu` to bypass CoreML/MPS on Intel Macs |
173
+ | `userId` | string | auto-derived | Stable identity for cross-session durable memory |
203
174
  | `crossSessionRecall` | boolean | `true` | When `false`, only session-scoped memories are retrieved |
204
- | `useSessionRecallProjection` | boolean | | Use `session_recall` collection instead of `session` |
205
- | `useSessionSummarySearchExperiment` | boolean | — | Use `session_summary` collection for search |
206
-
207
- ### Ingestion gating
208
-
209
- Gating thresholds and scoring weights are owned by the vector service and configured via
210
- service environment variables. See the service documentation for tuning details.
211
-
212
- The plugin exposes `ingestionGateThreshold` for host-side gating decisions:
213
-
214
- | Key | Type | Default | Notes |
215
- |---|---|---|---|
216
- | `ingestionGateThreshold` | number | `0.35` | Minimum semantic relevance score used by the plugin host for ingestion gating |
217
-
218
- ### Compaction
219
-
220
- | Key | Type | Default | Notes |
221
- |---|---|---|---|
222
- | `compactThreshold` | number | — | Absolute token threshold for forced compaction |
223
- | `compactionThresholdFraction` | number | `0.8` | Dynamic trigger as fraction of active token budget |
224
- | `compactSessionTokenBudget` | number | `2000` | Auto-compact when session exceeds this many tokens since last compaction; `0` disables |
225
- | `compactionQualityWeight` | number | `0.5` | How much summary confidence affects retrieval score (0 = ignore, 1 = full suppression) |
226
-
227
- ### Summarizer
228
-
229
- | Key | Type | Default | Notes |
230
- |---|---|---|---|
231
- | `summarizerBackend` | string | — | `bundled`, `onnx-local`, `ollama-local`, or `custom-local` |
232
- | `summarizerProfile` | string | — | Summarizer model profile |
233
- | `summarizerModel` | string | — | Model name for summarization |
234
- | `summarizerModelPath` | string | — | Path to summarizer model file |
235
- | `summarizerTokenizerPath` | string | — | Path to summarizer tokenizer file |
236
- | `summarizerRuntimePath` | string | — | Path to summarizer ONNX runtime |
237
- | `summarizerEndpoint` | string | — | External summarizer endpoint URL |
238
- | `ollamaUrl` | string | — | Ollama base URL (populates `summarizerEndpoint` when unset) |
239
- | `compactModel` | string | — | Model to use for compaction summaries (populates `summarizerModel` when unset) |
240
-
241
- ### Identity
242
-
243
- | Key | Type | Default | Notes |
244
- |---|---|---|---|
245
- | `userId` | string | auto-derived | Stable user identity for cross-session durable memory |
246
- | `identityPath` | string | `$OPENCLAW_STATE_DIR/libravdb-identity.json` | Custom path for the auto-derived identity file |
247
-
248
- ### Markdown ingestion
249
-
250
- | Key | Type | Default | Notes |
251
- |---|---|---|---|
252
- | `markdownIngestionEnabled` | boolean | `false` | Watch markdown roots for changes |
253
- | `markdownIngestionRoots` | string[] | — | Directories to watch |
254
- | `markdownIngestionInclude` | string[] | — | Glob patterns to include |
255
- | `markdownIngestionExclude` | string[] | — | Glob patterns to exclude |
256
- | `markdownIngestionDebounceMs` | number | `150` | Debounce window for file change events |
257
- | `markdownIngestionObsidianEnabled` | boolean | `false` | Watch Obsidian vault roots |
258
- | `markdownIngestionObsidianRoots` | string[] | — | Obsidian vault directories |
259
- | `markdownIngestionObsidianInclude` | string[] | — | Obsidian glob include patterns |
260
- | `markdownIngestionObsidianExclude` | string[] | — | Obsidian glob exclude patterns |
261
- | `markdownIngestionObsidianDebounceMs` | number | `150` | Obsidian debounce window |
262
-
263
- ### Dream promotion
264
-
265
- | Key | Type | Default | Notes |
266
- |---|---|---|---|
267
- | `dreamPromotionEnabled` | boolean | `false` | Enable dream diary promotion |
268
- | `dreamPromotionDiaryPath` | string | — | Path to dream diary markdown file |
269
- | `dreamPromotionUserId` | string | — | User ID for dream collection scoping |
270
- | `dreamPromotionDebounceMs` | number | `150` | Debounce window for dream diary changes |
271
-
272
- ### Misc
273
-
274
- | Key | Type | Default | Notes |
275
- |---|---|---|---|
276
- | `sessionTTL` | number | — | Session TTL in seconds |
277
- | `recencyLambdaSession` | number | — | Session recency decay factor |
278
- | `recencyLambdaUser` | number | — | User recency decay factor |
279
- | `recencyLambdaGlobal` | number | — | Global recency decay factor |
280
- | `tokenBudgetFraction` | number | — | Fraction of host token budget to use for memory context |
281
- | `maxRetries` | number | — | Max RPC retries |
282
- | `logLevel` | string | — | Log level override |
283
- | `lifecycleJournalMaxEntries` | number | `500` | Max lifecycle journal entries |
284
- | `authoredHardBudgetFraction` | number | — | Token budget fraction for hard-authored recall (0–1) |
285
- | `authoredSoftBudgetFraction` | number | — | Token budget fraction for soft-authored recall (0–1) |
286
- | `elevatedGuidanceBudgetFraction` | number | — | Token budget fraction for elevated guidance recall (0–1) |
175
+ | `compactSessionTokenBudget` | number | `2000` | Auto-compaction token threshold; `0` disables |
287
176
 
288
177
  ## Optional Features
289
178
 
@@ -298,8 +187,8 @@ The plugin exposes `ingestionGateThreshold` for host-side gating decisions:
298
187
 
299
188
  - New install: [Install](./docs/install.md), [Installation reference](./docs/installation.md)
300
189
  - Understand the design: [Problem](./docs/problem.md), [Architecture](./docs/architecture.md), [ADRs](./docs/architecture-decisions/README.md)
190
+ - Configure: [Configuration](./docs/configuration.md), [Features](./docs/features.md), [Embedding profiles](./docs/embedding-profiles.md), [Models](./docs/models.md)
301
191
  - Operate safely: [Security](./docs/security.md), [Uninstall](./docs/uninstall.md)
302
- - Configure optional inputs: [Features](./docs/features.md), [Embedding profiles](./docs/embedding-profiles.md), [Models](./docs/models.md)
303
192
  - Advanced operations: [Performance and tuning](./docs/performance-and-tuning.md)
304
193
  - Work from source: [Development](./docs/development.md), [Contributing](./docs/contributing.md)
305
194