@remnic/plugin-openclaw 1.0.2 → 1.0.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/README.md +54 -0
- package/package.json +1 -1
package/README.md
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
# @remnic/plugin-openclaw
|
|
2
|
+
|
|
3
|
+
OpenClaw plugin for Remnic memory. Thin adapter that connects the OpenClaw gateway to [`@remnic/core`](https://www.npmjs.com/package/@remnic/core).
|
|
4
|
+
|
|
5
|
+
Part of [Remnic](https://github.com/joshuaswarren/remnic), the universal memory layer for AI agents.
|
|
6
|
+
|
|
7
|
+
## Install
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
openclaw plugins install @remnic/plugin-openclaw --pin
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Or ask your OpenClaw agent:
|
|
14
|
+
|
|
15
|
+
> Install the @remnic/plugin-openclaw plugin and configure it as my memory system.
|
|
16
|
+
|
|
17
|
+
## Configure
|
|
18
|
+
|
|
19
|
+
Add the plugin to your `openclaw.json`:
|
|
20
|
+
|
|
21
|
+
```jsonc
|
|
22
|
+
{
|
|
23
|
+
"plugins": {
|
|
24
|
+
"allow": ["openclaw-engram"],
|
|
25
|
+
"slots": { "memory": "openclaw-engram" }
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
Then restart the gateway:
|
|
31
|
+
|
|
32
|
+
```bash
|
|
33
|
+
launchctl kickstart -k gui/501/ai.openclaw.gateway
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
## What it does
|
|
37
|
+
|
|
38
|
+
This plugin hooks into the OpenClaw gateway lifecycle:
|
|
39
|
+
|
|
40
|
+
- **`gateway_start`** -- initializes the Remnic memory engine
|
|
41
|
+
- **`before_agent_start`** -- injects relevant memories into the agent's context
|
|
42
|
+
- **`agent_end`** -- buffers the conversation turn for extraction
|
|
43
|
+
- **Tools** -- registers `memory_search`, `memory_stats`, and other agent tools
|
|
44
|
+
- **Commands** -- provides CLI commands for memory management
|
|
45
|
+
|
|
46
|
+
All memory processing uses [`@remnic/core`](https://www.npmjs.com/package/@remnic/core). Data stays on your local filesystem as plain markdown files.
|
|
47
|
+
|
|
48
|
+
## Standalone usage
|
|
49
|
+
|
|
50
|
+
If you're not using OpenClaw, use [`@remnic/cli`](https://www.npmjs.com/package/@remnic/cli) or [`@remnic/server`](https://www.npmjs.com/package/@remnic/server) instead.
|
|
51
|
+
|
|
52
|
+
## License
|
|
53
|
+
|
|
54
|
+
MIT
|