@wazionapps/openclaw-memory-nexo-brain 7.37.4 → 7.38.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/README.md +11 -11
- package/dist/index.d.ts +4 -4
- package/dist/index.js +16 -16
- package/dist/mcp-bridge.d.ts +1 -1
- package/dist/mcp-bridge.js +2 -2
- package/dist/tools.d.ts +1 -1
- package/dist/tools.js +1 -1
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
# @wazionapps/openclaw-memory-nexo-brain
|
|
2
2
|
|
|
3
|
-
Native OpenClaw memory plugin powered by [NEXO
|
|
3
|
+
Native OpenClaw memory plugin powered by the [NEXO Desktop runtime core](https://nexo-desktop.com).
|
|
4
4
|
|
|
5
5
|
## What It Does
|
|
6
6
|
|
|
7
|
-
Replaces OpenClaw's default memory with
|
|
7
|
+
Replaces OpenClaw's default memory with NEXO Desktop runtime services:
|
|
8
8
|
|
|
9
|
-
- **
|
|
10
|
-
- **
|
|
11
|
-
- **Trust Scoring**
|
|
12
|
-
- **Guard System**
|
|
13
|
-
- **
|
|
14
|
-
- **Session Continuity**
|
|
9
|
+
- **Local Memory** - semantic recall across working and long-term memory
|
|
10
|
+
- **Deep Sleep** - overnight consolidation, cleanup, and memory maintenance
|
|
11
|
+
- **Trust Scoring** - calibrates verification rigor based on alignment history
|
|
12
|
+
- **Guard System** - checks past errors before code changes
|
|
13
|
+
- **Conflict Detection** - detects conflicts between new instructions and established knowledge
|
|
14
|
+
- **Session Continuity** - resumes from where the last session left off via session diaries
|
|
15
15
|
|
|
16
16
|
## Install
|
|
17
17
|
|
|
18
18
|
```bash
|
|
19
|
-
# 1. Install NEXO
|
|
19
|
+
# 1. Install the NEXO Desktop runtime core compatibility package
|
|
20
20
|
npx nexo-brain
|
|
21
21
|
|
|
22
22
|
# 2. Install the OpenClaw plugin
|
|
@@ -77,7 +77,7 @@ OpenClaw Agent
|
|
|
77
77
|
↓ (tool calls)
|
|
78
78
|
TypeScript Adapter (this plugin)
|
|
79
79
|
↓ (JSON-RPC over stdio)
|
|
80
|
-
Python MCP Server (NEXO
|
|
80
|
+
Python MCP Server (NEXO runtime core)
|
|
81
81
|
↓
|
|
82
82
|
SQLite (nexo.db + cognitive.db)
|
|
83
83
|
↓
|
|
@@ -89,7 +89,7 @@ fastembed vectors (BAAI/bge-small-en-v1.5, CPU)
|
|
|
89
89
|
- macOS (Linux planned)
|
|
90
90
|
- Python 3 with fastembed
|
|
91
91
|
- OpenClaw >= 2026.3.0
|
|
92
|
-
- Run `npx nexo-brain` first to install the
|
|
92
|
+
- Run `npx nexo-brain` first to install the runtime core
|
|
93
93
|
|
|
94
94
|
## License
|
|
95
95
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* NEXO
|
|
2
|
+
* NEXO Desktop Runtime - Native OpenClaw Memory Plugin
|
|
3
3
|
*
|
|
4
|
-
* Replaces OpenClaw's default memory system with NEXO
|
|
5
|
-
*
|
|
6
|
-
*
|
|
4
|
+
* Replaces OpenClaw's default memory system with NEXO Desktop runtime services:
|
|
5
|
+
* local memory, semantic recall, trust scoring, guard system, Deep Sleep,
|
|
6
|
+
* and session continuity.
|
|
7
7
|
*
|
|
8
8
|
* Architecture: TypeScript adapter -> MCP Bridge (stdio) -> Python NEXO server
|
|
9
9
|
*
|
package/dist/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* NEXO
|
|
2
|
+
* NEXO Desktop Runtime - Native OpenClaw Memory Plugin
|
|
3
3
|
*
|
|
4
|
-
* Replaces OpenClaw's default memory system with NEXO
|
|
5
|
-
*
|
|
6
|
-
*
|
|
4
|
+
* Replaces OpenClaw's default memory system with NEXO Desktop runtime services:
|
|
5
|
+
* local memory, semantic recall, trust scoring, guard system, Deep Sleep,
|
|
6
|
+
* and session continuity.
|
|
7
7
|
*
|
|
8
8
|
* Architecture: TypeScript adapter -> MCP Bridge (stdio) -> Python NEXO server
|
|
9
9
|
*
|
|
@@ -48,8 +48,8 @@ let bridge = null;
|
|
|
48
48
|
let sessionId = null;
|
|
49
49
|
export default definePluginEntry({
|
|
50
50
|
id: "memory-nexo-brain",
|
|
51
|
-
name: "NEXO
|
|
52
|
-
description: "
|
|
51
|
+
name: "NEXO Desktop Runtime",
|
|
52
|
+
description: "Local memory, Deep Sleep, semantic recall, trust scoring, and guarded continuity from the NEXO Desktop runtime core.",
|
|
53
53
|
kind: "memory",
|
|
54
54
|
register(api) {
|
|
55
55
|
const config = (api.pluginConfig || {});
|
|
@@ -73,10 +73,10 @@ export default definePluginEntry({
|
|
|
73
73
|
return [];
|
|
74
74
|
}
|
|
75
75
|
const lines = [
|
|
76
|
-
"##
|
|
76
|
+
"## NEXO Desktop Runtime Memory",
|
|
77
77
|
"",
|
|
78
|
-
"You have access to
|
|
79
|
-
"
|
|
78
|
+
"You have access to persistent local memory from the NEXO Desktop runtime core.",
|
|
79
|
+
"Deep Sleep consolidates memory and maintains continuity between sessions.",
|
|
80
80
|
"Semantic search finds memories by meaning, not just keywords.",
|
|
81
81
|
"",
|
|
82
82
|
];
|
|
@@ -153,13 +153,13 @@ export default definePluginEntry({
|
|
|
153
153
|
if (!diary && !cognitive) {
|
|
154
154
|
return;
|
|
155
155
|
}
|
|
156
|
-
api.logger.info(`nexo
|
|
156
|
+
api.logger.info(`nexo runtime: injecting session diary + memory context`);
|
|
157
157
|
return {
|
|
158
158
|
prependContext: formatMemoryContext(diary || "", cognitive || ""),
|
|
159
159
|
};
|
|
160
160
|
}
|
|
161
161
|
catch (err) {
|
|
162
|
-
api.logger.warn(`nexo
|
|
162
|
+
api.logger.warn(`nexo runtime: auto-recall failed: ${err instanceof Error ? err.message : err}`);
|
|
163
163
|
return {};
|
|
164
164
|
}
|
|
165
165
|
});
|
|
@@ -218,10 +218,10 @@ export default definePluginEntry({
|
|
|
218
218
|
api.registerCli(({ program }) => {
|
|
219
219
|
const nexo = program
|
|
220
220
|
.command("nexo")
|
|
221
|
-
.description("NEXO
|
|
221
|
+
.description("NEXO Desktop runtime memory commands");
|
|
222
222
|
nexo
|
|
223
223
|
.command("status")
|
|
224
|
-
.description("Show NEXO
|
|
224
|
+
.description("Show NEXO Desktop runtime memory status")
|
|
225
225
|
.action(async () => {
|
|
226
226
|
try {
|
|
227
227
|
await bridge.start();
|
|
@@ -286,13 +286,13 @@ export default definePluginEntry({
|
|
|
286
286
|
id: "memory-nexo-brain",
|
|
287
287
|
start: async () => {
|
|
288
288
|
await bridge.start();
|
|
289
|
-
api.logger.info("nexo
|
|
289
|
+
api.logger.info("nexo runtime: memory service started");
|
|
290
290
|
},
|
|
291
291
|
stop: async () => {
|
|
292
292
|
await bridge.stop();
|
|
293
|
-
api.logger.info("nexo
|
|
293
|
+
api.logger.info("nexo runtime: memory service stopped");
|
|
294
294
|
},
|
|
295
295
|
});
|
|
296
|
-
api.logger.info("nexo
|
|
296
|
+
api.logger.info("nexo runtime: plugin registered successfully");
|
|
297
297
|
},
|
|
298
298
|
});
|
package/dist/mcp-bridge.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* MCP Bridge
|
|
2
|
+
* MCP Bridge - communicates with the NEXO runtime MCP server via stdio JSON-RPC.
|
|
3
3
|
*
|
|
4
4
|
* Spawns the Python MCP server as a child process and sends/receives
|
|
5
5
|
* JSON-RPC 2.0 messages over stdin/stdout.
|
package/dist/mcp-bridge.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* MCP Bridge
|
|
2
|
+
* MCP Bridge - communicates with the NEXO runtime MCP server via stdio JSON-RPC.
|
|
3
3
|
*
|
|
4
4
|
* Spawns the Python MCP server as a child process and sends/receives
|
|
5
5
|
* JSON-RPC 2.0 messages over stdin/stdout.
|
|
@@ -51,7 +51,7 @@ export class McpBridge {
|
|
|
51
51
|
await this.send("initialize", {
|
|
52
52
|
protocolVersion: "2024-11-05",
|
|
53
53
|
capabilities: {},
|
|
54
|
-
clientInfo: { name: "openclaw-memory-nexo-brain", version: "7.
|
|
54
|
+
clientInfo: { name: "openclaw-memory-nexo-brain", version: "7.38.6" },
|
|
55
55
|
});
|
|
56
56
|
await this.send("notifications/initialized", {});
|
|
57
57
|
this.initialized = true;
|
package/dist/tools.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Tool definitions for the NEXO
|
|
2
|
+
* Tool definitions for the NEXO Desktop runtime OpenClaw memory plugin.
|
|
3
3
|
*
|
|
4
4
|
* Exposes cognitive memory tools as native OpenClaw tools via TypeBox schemas.
|
|
5
5
|
* Each tool maps to a NEXO MCP tool via the MCP bridge.
|
package/dist/tools.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Tool definitions for the NEXO
|
|
2
|
+
* Tool definitions for the NEXO Desktop runtime OpenClaw memory plugin.
|
|
3
3
|
*
|
|
4
4
|
* Exposes cognitive memory tools as native OpenClaw tools via TypeBox schemas.
|
|
5
5
|
* Each tool maps to a NEXO MCP tool via the MCP bridge.
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wazionapps/openclaw-memory-nexo-brain",
|
|
3
|
-
"version": "7.
|
|
4
|
-
"description": "OpenClaw
|
|
3
|
+
"version": "7.38.6",
|
|
4
|
+
"description": "OpenClaw memory plugin powered by the NEXO Desktop runtime core: local memory, Deep Sleep, trust scoring, and guarded continuity.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"exports": "./dist/index.js",
|
|
@@ -48,12 +48,12 @@
|
|
|
48
48
|
"ai-memory",
|
|
49
49
|
"vector-search"
|
|
50
50
|
],
|
|
51
|
-
"author": "
|
|
51
|
+
"author": "WAzion Apps <info@wazion.com>",
|
|
52
52
|
"license": "AGPL-3.0",
|
|
53
53
|
"repository": {
|
|
54
54
|
"type": "git",
|
|
55
55
|
"url": "git+https://github.com/wazionapps/nexo.git",
|
|
56
56
|
"directory": "openclaw-plugin"
|
|
57
57
|
},
|
|
58
|
-
"homepage": "https://
|
|
58
|
+
"homepage": "https://nexo-desktop.com"
|
|
59
59
|
}
|