@nowledge/openclaw-nowledge-mem 0.8.1 → 0.8.3
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 +19 -0
- package/README.md +16 -2
- package/SKILL.md +4 -11
- package/openclaw.plugin.json +3 -1
- package/package.json +18 -2
- package/src/hooks/behavioral.js +4 -7
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,25 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to the Nowledge Mem OpenClaw plugin will be documented in this file.
|
|
4
4
|
|
|
5
|
+
## [0.8.3] - 2026-04-08
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
|
|
9
|
+
- Added a release validator and ClawHub publish runbook so package metadata, manifest defaults, and publish-time expectations can be checked before submission.
|
|
10
|
+
|
|
11
|
+
### Changed
|
|
12
|
+
|
|
13
|
+
- Added the external code-plugin metadata ClawHub expects in `package.json` and aligned the manifest-facing package description for official catalog review.
|
|
14
|
+
- Synced the checked-in `package-lock.json` package version with the actual plugin version so pack and publish surfaces stay coherent.
|
|
15
|
+
- Tightened the release validator so it now catches changelog drift, `openclaw.release` flag drift, unreadable required files, and config-schema contract changes before a ClawHub publish.
|
|
16
|
+
- Updated install guidance to use ClawHub as the primary path while keeping bare package names documented as a resolver fallback.
|
|
17
|
+
|
|
18
|
+
## [0.8.2] - 2026-04-08
|
|
19
|
+
|
|
20
|
+
### Changed
|
|
21
|
+
|
|
22
|
+
- **Assertive behavioral guidance replaces conditional phrasing.** The per-turn system prompt injection now uses "Search proactively... Do not wait to be asked" and "Save autonomously... Do not wait to be asked" instead of the previous "Before answering questions about prior work... search." This directly addresses reports of GPT 5.4 and Kimi K2.5 not proactively searching memories. Also trimmed redundant lines (signal examples, output-format description) to keep the injection tight (~60 tokens), restoring the "(not file paths)" hint.
|
|
23
|
+
|
|
5
24
|
## [0.8.1] - 2026-04-07
|
|
6
25
|
|
|
7
26
|
### Fixed
|
package/README.md
CHANGED
|
@@ -14,11 +14,25 @@ This is not a flat note store. Nowledge Mem links related knowledge into a graph
|
|
|
14
14
|
## Installation
|
|
15
15
|
|
|
16
16
|
```bash
|
|
17
|
-
openclaw plugins install
|
|
17
|
+
openclaw plugins install clawhub:@nowledge/openclaw-nowledge-mem
|
|
18
18
|
```
|
|
19
19
|
|
|
20
20
|
OpenClaw's installer writes the install record, enables the plugin, and switches the `memory` slot to `openclaw-nowledge-mem`. Restart OpenClaw after install to load it.
|
|
21
21
|
|
|
22
|
+
If you prefer the default resolver path, bare package names also work because OpenClaw resolves external plugins from ClawHub first and then falls back to npm:
|
|
23
|
+
|
|
24
|
+
```bash
|
|
25
|
+
openclaw plugins install @nowledge/openclaw-nowledge-mem
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
If you need a pinned local checkout for validation or development, use local linking:
|
|
29
|
+
|
|
30
|
+
```bash
|
|
31
|
+
git clone https://github.com/nowledge-co/community.git
|
|
32
|
+
cd community/nowledge-mem-openclaw-plugin
|
|
33
|
+
openclaw plugins install --link .
|
|
34
|
+
```
|
|
35
|
+
|
|
22
36
|
### Agent-assisted setup
|
|
23
37
|
|
|
24
38
|
If another AI agent is helping you install this plugin, point it at the bundled [SKILL.md](./SKILL.md).
|
|
@@ -460,7 +474,7 @@ If you also use linked or workspace copies, review `plugins.load.paths` before r
|
|
|
460
474
|
The memory slot is probably still set to the built-in `memory-core`. OpenClaw 3.22+ defaults to `memory-core` when no explicit slot is configured. Reinstall to reset the slot automatically:
|
|
461
475
|
|
|
462
476
|
```bash
|
|
463
|
-
openclaw plugins install
|
|
477
|
+
openclaw plugins install clawhub:@nowledge/openclaw-nowledge-mem
|
|
464
478
|
```
|
|
465
479
|
|
|
466
480
|
Or set the slot manually in `~/.openclaw/openclaw.json`:
|
package/SKILL.md
CHANGED
|
@@ -102,20 +102,13 @@ Success means the backend responds correctly through `nmem`. Do not skip this st
|
|
|
102
102
|
Default install:
|
|
103
103
|
|
|
104
104
|
```bash
|
|
105
|
-
openclaw plugins install
|
|
105
|
+
openclaw plugins install clawhub:@nowledge/openclaw-nowledge-mem
|
|
106
106
|
```
|
|
107
107
|
|
|
108
|
-
|
|
108
|
+
Alternatively, if the user is installing from OpenClaw's default registry rather than ClawHub, this also works:
|
|
109
109
|
|
|
110
110
|
```bash
|
|
111
|
-
|
|
112
|
-
MIRROR_TIME="$(curl -o /dev/null -sS --connect-timeout 2 --max-time 6 -w '%{time_total}' https://registry.npmmirror.com/@nowledge%2fopenclaw-nowledge-mem || echo timeout)"
|
|
113
|
-
|
|
114
|
-
if [ "$MIRROR_TIME" != "timeout" ] && { [ "$NPMJS_TIME" = "timeout" ] || awk "BEGIN { exit !($NPMJS_TIME > 2 && $MIRROR_TIME < $NPMJS_TIME) }"; }; then
|
|
115
|
-
NPM_CONFIG_REGISTRY=https://registry.npmmirror.com openclaw plugins install @nowledge/openclaw-nowledge-mem
|
|
116
|
-
else
|
|
117
|
-
openclaw plugins install @nowledge/openclaw-nowledge-mem
|
|
118
|
-
fi
|
|
111
|
+
openclaw plugins install @nowledge/openclaw-nowledge-mem
|
|
119
112
|
```
|
|
120
113
|
|
|
121
114
|
Important facts:
|
|
@@ -196,7 +189,7 @@ If only `memory_search` and `memory_get` tools are available (other Nowledge Mem
|
|
|
196
189
|
}
|
|
197
190
|
```
|
|
198
191
|
|
|
199
|
-
If missing, reinstall (`openclaw plugins install
|
|
192
|
+
If missing, reinstall (`openclaw plugins install clawhub:@nowledge/openclaw-nowledge-mem`) which sets the slot automatically. This is common after upgrading OpenClaw to 3.22+ where the default memory slot changed.
|
|
200
193
|
|
|
201
194
|
Then verify in chat.
|
|
202
195
|
|
package/openclaw.plugin.json
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "openclaw-nowledge-mem",
|
|
3
|
-
"
|
|
3
|
+
"name": "Nowledge Mem",
|
|
4
|
+
"description": "Cross-tool knowledge graph memory for OpenClaw with Working Memory, graph search, and session distillation.",
|
|
5
|
+
"version": "0.8.3",
|
|
4
6
|
"kind": "memory",
|
|
5
7
|
"skills": [
|
|
6
8
|
"skills/memory-guide"
|
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nowledge/openclaw-nowledge-mem",
|
|
3
|
-
"
|
|
3
|
+
"displayName": "Nowledge Mem for OpenClaw",
|
|
4
|
+
"version": "0.8.3",
|
|
4
5
|
"type": "module",
|
|
5
6
|
"description": "Nowledge Mem memory plugin for OpenClaw, local-first personal knowledge base",
|
|
6
7
|
"author": {
|
|
@@ -24,10 +25,25 @@
|
|
|
24
25
|
"openclaw.plugin.json"
|
|
25
26
|
],
|
|
26
27
|
"openclaw": {
|
|
27
|
-
"extensions": ["./src/index.js"]
|
|
28
|
+
"extensions": ["./src/index.js"],
|
|
29
|
+
"install": {
|
|
30
|
+
"npmSpec": "@nowledge/openclaw-nowledge-mem",
|
|
31
|
+
"minHostVersion": ">=2026.4.5"
|
|
32
|
+
},
|
|
33
|
+
"compat": {
|
|
34
|
+
"pluginApi": ">=2026.4.5"
|
|
35
|
+
},
|
|
36
|
+
"build": {
|
|
37
|
+
"openclawVersion": "2026.4.5"
|
|
38
|
+
},
|
|
39
|
+
"release": {
|
|
40
|
+
"publishToClawHub": true,
|
|
41
|
+
"publishToNpm": true
|
|
42
|
+
}
|
|
28
43
|
},
|
|
29
44
|
"main": "src/index.js",
|
|
30
45
|
"scripts": {
|
|
46
|
+
"validate": "node scripts/validate-plugin.mjs",
|
|
31
47
|
"lint": "biome check .",
|
|
32
48
|
"format": "biome format --write ."
|
|
33
49
|
},
|
package/src/hooks/behavioral.js
CHANGED
|
@@ -20,11 +20,9 @@ import { ceState } from "../ce-state.js";
|
|
|
20
20
|
export const BASE_GUIDANCE = [
|
|
21
21
|
"<nowledge-mem-guidance>",
|
|
22
22
|
"You have access to the user's personal knowledge graph (Nowledge Mem).",
|
|
23
|
-
"
|
|
24
|
-
"search with memory_search using natural language queries (not file paths).",
|
|
25
|
-
"memory_search returns memories with scores, labels, and relevant past conversation snippets.",
|
|
23
|
+
"Search proactively with memory_search when past context would improve your answer. Do not wait to be asked. Use natural language queries, not file paths.",
|
|
26
24
|
"When results include a sourceThreadId, use nowledge_mem_thread_fetch for full conversation context.",
|
|
27
|
-
"
|
|
25
|
+
"Save autonomously with nowledge_mem_save when the conversation produces a decision, preference, plan, procedure, or learning. Do not wait to be asked.",
|
|
28
26
|
"</nowledge-mem-guidance>",
|
|
29
27
|
].join("\n");
|
|
30
28
|
|
|
@@ -32,10 +30,9 @@ export const SESSION_CONTEXT_GUIDANCE = [
|
|
|
32
30
|
"<nowledge-mem-guidance>",
|
|
33
31
|
"You have access to the user's personal knowledge graph (Nowledge Mem).",
|
|
34
32
|
"Relevant memories and your Working Memory have already been injected into this prompt.",
|
|
35
|
-
"Use memory_search
|
|
36
|
-
"memory_search also returns relevant past conversation snippets alongside memories.",
|
|
33
|
+
"Use memory_search for specifics beyond what was auto-recalled, or when the user references prior work not covered above. Natural language queries, not file paths.",
|
|
37
34
|
"When results include a sourceThreadId, use nowledge_mem_thread_fetch for full conversation context.",
|
|
38
|
-
"
|
|
35
|
+
"Save autonomously with nowledge_mem_save when the conversation produces a decision, preference, plan, procedure, or learning. Do not wait to be asked.",
|
|
39
36
|
"</nowledge-mem-guidance>",
|
|
40
37
|
].join("\n");
|
|
41
38
|
|