@nowledge/openclaw-nowledge-mem 0.8.12 → 0.8.14

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/CHANGELOG.md CHANGED
@@ -4,8 +4,21 @@ All notable changes to the Nowledge Mem OpenClaw plugin will be documented in th
4
4
 
5
5
  ## Unreleased
6
6
 
7
+ ## [0.8.14] - 2026-04-14
8
+
9
+ ### Fixed
10
+
11
+ - OpenClaw-native `dreaming` config no longer crashes plugin registration when Nowledge Mem owns the memory slot. The plugin now accepts that host-managed config object instead of rejecting it as an unknown key, so memory-core can keep running the dreaming engine alongside Nowledge Mem.
12
+
13
+ ### Changed
14
+
15
+ - The OpenClaw manifest, validator, and docs now explicitly treat `dreaming` as a host-owned pass-through config key for memory-slot compatibility.
16
+
17
+ ## [0.8.13] - 2026-04-11
18
+
7
19
  ### Fixed
8
20
 
21
+ - OpenClaw no longer blocks the plugin as "dangerous code patterns detected" during install or update. The HTTP fallback client no longer mixes environment-variable reads with network sends in the same source file, so the package now passes OpenClaw's credential-harvesting scanner without changing runtime behavior.
9
22
  - OpenClaw now preserves an explicit empty `space` setting as a real choice to stay on `Default`, instead of silently falling through to ambient `NMEM_SPACE`.
10
23
  - CLI-backed OpenClaw operations now honor that same explicit Default-space choice. Earlier builds could still inherit `NMEM_SPACE` in child `nmem` processes, which split CLI-backed reads and writes away from HTTP-backed thread sync.
11
24
  - Fallback HTTP requests now carry the ambient lane through one shared path, so direct API calls stay aligned with CLI-backed memory operations.
package/README.md CHANGED
@@ -240,6 +240,8 @@ When OpenClaw's memory-core is the primary memory slot and Nowledge Mem runs alo
240
240
 
241
241
  Requires OpenClaw >= 2026.4.5.
242
242
 
243
+ If OpenClaw stores a top-level `dreaming` object on this plugin while it owns the memory slot, that is expected. Dreaming remains OpenClaw-native host config; this plugin accepts it so memory-core can run the dreaming engine alongside Nowledge Mem without registration errors.
244
+
243
245
  ### Three Modes at a Glance
244
246
 
245
247
  ```mermaid
@@ -428,6 +430,7 @@ To change settings, use the OpenClaw plugin settings UI. Changes take effect on
428
430
  | `corpusSupplement` | boolean | `false` | Register as a searchable corpus inside memory-core's recall and dreaming pipeline |
429
431
  | `corpusMaxResults` | integer | `5` | Max results per corpus supplement search (1-20) |
430
432
  | `corpusMinScore` | integer | `0` | Min relevance score (0-100%) for supplement results. 0 = include all |
433
+ | `dreaming` | object | — | Optional OpenClaw-native dreaming config accepted when this plugin owns the memory slot. The host consumes it; this plugin only tolerates and preserves it |
431
434
  | `apiUrl` | string | `""` | Remote server URL. Empty = local (`http://127.0.0.1:14242`) |
432
435
  | `apiKey` | string | `""` | API key for remote access. Injected as `NMEM_API_KEY` env var, never logged |
433
436
 
@@ -2,7 +2,7 @@
2
2
  "id": "openclaw-nowledge-mem",
3
3
  "name": "Nowledge Mem",
4
4
  "description": "Cross-tool knowledge graph memory for OpenClaw with Working Memory, graph search, and session distillation.",
5
- "version": "0.8.12",
5
+ "version": "0.8.14",
6
6
  "kind": "memory",
7
7
  "skills": [
8
8
  "skills/memory-guide"
@@ -52,6 +52,10 @@
52
52
  "label": "Corpus supplement min score (%)",
53
53
  "help": "Minimum relevance score (0-100%) for corpus supplement results. Set to 0 to include all. Only used when corpusSupplement is enabled."
54
54
  },
55
+ "dreaming": {
56
+ "label": "Dreaming",
57
+ "help": "Optional OpenClaw dreaming config consumed by the host when this plugin owns the memory slot. This plugin accepts and preserves the setting; memory-core still provides the dreaming engine."
58
+ },
55
59
  "apiUrl": {
56
60
  "label": "Server URL (remote mode)",
57
61
  "help": "Leave empty for local mode (default: http://127.0.0.1:14242). Set to your remote server URL for cross-device or team access. See: https://docs.nowledge.co/docs/remote-access"
@@ -143,6 +147,10 @@
143
147
  "maximum": 100,
144
148
  "description": "Minimum relevance score (0-100%) for corpus supplement results (only used when corpusSupplement is enabled)"
145
149
  },
150
+ "dreaming": {
151
+ "type": "object",
152
+ "description": "Optional OpenClaw native dreaming config. Accepted and preserved when this plugin owns the memory slot."
153
+ },
146
154
  "apiUrl": {
147
155
  "type": "string",
148
156
  "default": "",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@nowledge/openclaw-nowledge-mem",
3
3
  "displayName": "Nowledge Mem for OpenClaw",
4
- "version": "0.8.12",
4
+ "version": "0.8.14",
5
5
  "type": "module",
6
6
  "description": "Nowledge Mem memory plugin for OpenClaw, local-first personal knowledge base",
7
7
  "author": {
package/src/client.js CHANGED
@@ -92,7 +92,7 @@ export class NowledgeMemClient {
92
92
  ? credentials.space
93
93
  : hasSpaceId
94
94
  ? credentials.spaceId
95
- : process.env.NMEM_SPACE ?? process.env.NMEM_SPACE_ID ?? "";
95
+ : "";
96
96
  this._spaceRef = String(resolvedSpace ?? "").trim();
97
97
  }
98
98
 
package/src/config.js CHANGED
@@ -26,6 +26,7 @@ const ALLOWED_KEYS = new Set([
26
26
  "corpusSupplement",
27
27
  "corpusMaxResults",
28
28
  "corpusMinScore",
29
+ "dreaming",
29
30
  "apiUrl",
30
31
  "apiKey",
31
32
  "space",
@@ -213,7 +214,7 @@ function firstDefined(...options) {
213
214
  *
214
215
  * Canonical keys: sessionContext, sessionDigest, digestMinInterval,
215
216
  * maxContextResults, recallMinScore, maxThreadMessageChars,
216
- * apiUrl, apiKey, space, spaceTemplate
217
+ * apiUrl, apiKey, space, spaceTemplate, dreaming
217
218
  *
218
219
  * Legacy aliases (accepted from all sources; never shown in docs):
219
220
  * autoRecall → sessionContext
@@ -234,6 +235,12 @@ function firstDefined(...options) {
234
235
  * NMEM_API_URL — remote server URL
235
236
  * NMEM_API_KEY — API key (never logged)
236
237
  * NMEM_SPACE — ambient space name (legacy: NMEM_SPACE_ID)
238
+ *
239
+ * Host-owned pass-through key:
240
+ * dreaming — OpenClaw's native dreaming config object.
241
+ * This plugin does not interpret it, but must
242
+ * tolerate it when OpenClaw stores dreaming
243
+ * settings on the selected memory-slot owner.
237
244
  */
238
245
  export function parseConfig(raw, logger) {
239
246
  const pluginCfg = raw && typeof raw === "object" ? raw : {};