@memclaw/plugin 0.9.0 → 0.9.1

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
@@ -76,23 +76,37 @@ bun install
76
76
 
77
77
  # Build the plugin
78
78
  bun run build
79
+ ```
80
+
81
+ **Option A: Use plugins.load.paths**
82
+
83
+ ```json
84
+ {
85
+ "plugins": {
86
+ "load": {
87
+ "paths": ["/path/to/cortex-mem/examples/@memclaw/plugin"]
88
+ },
89
+ "entries": {
90
+ "memclaw": { "enabled": true }
91
+ }
92
+ }
93
+ }
94
+ ```
95
+
96
+ **Option B: Symlink to extensions directory**
79
97
 
80
- # Create a symlink to the plugin directory
81
- # This makes OpenClaw use your local version
82
- mkdir -p ~/.openclaw/plugins
83
- ln -sf "$(pwd)" ~/.openclaw/plugins/memclaw
98
+ ```bash
99
+ mkdir -p ~/.openclaw/extensions
100
+ ln -sf "$(pwd)" ~/.openclaw/extensions/memclaw
84
101
  ```
85
102
 
86
- Then configure in `openclaw.json` with the local plugin path:
103
+ Then enable in `openclaw.json`:
87
104
 
88
105
  ```json
89
106
  {
90
107
  "plugins": {
91
108
  "entries": {
92
- "memclaw": {
93
- "enabled": true,
94
- "path": "./plugins/memclaw"
95
- }
109
+ "memclaw": { "enabled": true }
96
110
  }
97
111
  }
98
112
  }
@@ -1,72 +1,72 @@
1
1
  {
2
- "id": "memclaw",
3
- "name": "MemClaw",
4
- "version": "0.9.0",
5
- "description": "Layered semantic memory for OpenClaw with L0/L1/L2 tiered retrieval, easy setup, and migration from native memory",
6
- "kind": "memory",
7
- "skills": ["skill"],
8
- "configSchema": {
9
- "type": "object",
10
- "properties": {
11
- "serviceUrl": {
12
- "type": "string",
13
- "description": "Cortex Memory service URL",
14
- "default": "http://127.0.0.1:8085"
15
- },
16
- "defaultSessionId": {
17
- "type": "string",
18
- "description": "Default session ID for memory operations",
19
- "default": "default"
20
- },
21
- "searchLimit": {
22
- "type": "integer",
23
- "description": "Default number of search results",
24
- "default": 10,
25
- "minimum": 1,
26
- "maximum": 50
27
- },
28
- "minScore": {
29
- "type": "number",
30
- "description": "Minimum relevance score for search results",
31
- "default": 0.6,
32
- "minimum": 0,
33
- "maximum": 1
34
- },
35
- "tenantId": {
36
- "type": "string",
37
- "description": "Tenant ID for data isolation",
38
- "default": "tenant_claw"
39
- },
40
- "autoStartServices": {
41
- "type": "boolean",
42
- "description": "Automatically start Qdrant and cortex-mem-service if not running",
43
- "default": true
44
- },
45
- "qdrantPort": {
46
- "type": "integer",
47
- "description": "Qdrant port (default: 6333 for HTTP, 6334 for gRPC)",
48
- "default": 6334
49
- },
50
- "servicePort": {
51
- "type": "integer",
52
- "description": "cortex-mem-service port",
53
- "default": 8085
54
- }
55
- },
56
- "required": []
57
- },
58
- "uiHints": {
59
- "serviceUrl": {
60
- "label": "Service URL",
61
- "description": "The HTTP endpoint of your cortex-mem-service instance"
62
- },
63
- "tenantId": {
64
- "label": "Tenant ID",
65
- "description": "Tenant identifier for data isolation"
66
- },
67
- "autoStartServices": {
68
- "label": "Auto-start Services",
69
- "description": "Automatically start Qdrant and cortex-mem-service when plugin loads"
70
- }
71
- }
2
+ "id": "memclaw",
3
+ "name": "MemClaw",
4
+ "version": "0.9.1",
5
+ "description": "Layered semantic memory for OpenClaw with L0/L1/L2 tiered retrieval, easy setup, and migration from native memory",
6
+ "kind": "memory",
7
+ "skills": ["skill"],
8
+ "configSchema": {
9
+ "type": "object",
10
+ "properties": {
11
+ "serviceUrl": {
12
+ "type": "string",
13
+ "description": "Cortex Memory service URL",
14
+ "default": "http://127.0.0.1:8085"
15
+ },
16
+ "defaultSessionId": {
17
+ "type": "string",
18
+ "description": "Default session ID for memory operations",
19
+ "default": "default"
20
+ },
21
+ "searchLimit": {
22
+ "type": "integer",
23
+ "description": "Default number of search results",
24
+ "default": 10,
25
+ "minimum": 1,
26
+ "maximum": 50
27
+ },
28
+ "minScore": {
29
+ "type": "number",
30
+ "description": "Minimum relevance score for search results",
31
+ "default": 0.6,
32
+ "minimum": 0,
33
+ "maximum": 1
34
+ },
35
+ "tenantId": {
36
+ "type": "string",
37
+ "description": "Tenant ID for data isolation",
38
+ "default": "tenant_claw"
39
+ },
40
+ "autoStartServices": {
41
+ "type": "boolean",
42
+ "description": "Automatically start Qdrant and cortex-mem-service if not running",
43
+ "default": true
44
+ },
45
+ "qdrantPort": {
46
+ "type": "integer",
47
+ "description": "Qdrant port (default: 6333 for HTTP, 6334 for gRPC)",
48
+ "default": 6334
49
+ },
50
+ "servicePort": {
51
+ "type": "integer",
52
+ "description": "cortex-mem-service port",
53
+ "default": 8085
54
+ }
55
+ },
56
+ "required": []
57
+ },
58
+ "uiHints": {
59
+ "serviceUrl": {
60
+ "label": "Service URL",
61
+ "description": "The HTTP endpoint of your cortex-mem-service instance"
62
+ },
63
+ "tenantId": {
64
+ "label": "Tenant ID",
65
+ "description": "Tenant identifier for data isolation"
66
+ },
67
+ "autoStartServices": {
68
+ "label": "Auto-start Services",
69
+ "description": "Automatically start Qdrant and cortex-mem-service when plugin loads"
70
+ }
71
+ }
72
72
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@memclaw/plugin",
3
- "version": "0.9.0",
3
+ "version": "0.9.1",
4
4
  "description": "MemClaw - The Cortex Memory' plugin for OpenClaw. Layered semantic memory for OpenClaw with easy setup and migration",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -42,7 +42,7 @@
42
42
  "@memclaw/bin-win-x64": "0.1.0"
43
43
  },
44
44
  "engines": {
45
- "node": ">=22.0.0"
45
+ "node": ">=20.0.0"
46
46
  },
47
47
  "files": [
48
48
  "dist/",
@@ -6,55 +6,16 @@ Installation and configuration guide for MemClaw.
6
6
 
7
7
  | Requirement | Details |
8
8
  |-------------|---------|
9
- | **Platforms** | Windows x64, macOS Apple Silicon |
10
- | **Node.js** | ≥ 22.0.0 |
9
+ | **Platforms** | Windows x86, macOS Apple Silicon |
10
+ | **Node.js** | ≥ 20.0.0 |
11
11
  | **OpenClaw** | Installed and configured |
12
12
 
13
13
  ## Installation
14
14
 
15
- ### Method 1: Install from npm
16
-
17
15
  ```bash
18
16
  openclaw plugins install @memclaw/plugin
19
17
  ```
20
18
 
21
- ### Method 2: Local Development Installation
22
-
23
- For developers using a local version or developing the plugin:
24
-
25
- ```bash
26
- # Clone the repository
27
- git clone https://github.com/sopaco/cortex-mem.git
28
- cd cortex-mem/examples/@memclaw/plugin
29
-
30
- # Install dependencies
31
- bun install
32
-
33
- # Build the plugin
34
- bun run build
35
-
36
- # Create symlink to plugin directory
37
- mkdir -p ~/.openclaw/plugins
38
- ln -sf "$(pwd)" ~/.openclaw/plugins/memclaw
39
- ```
40
-
41
- Configure in `openclaw.json` with local path:
42
-
43
- ```json
44
- {
45
- "plugins": {
46
- "entries": {
47
- "memclaw": {
48
- "enabled": true,
49
- "path": "./plugins/memclaw"
50
- }
51
- }
52
- }
53
- }
54
- ```
55
-
56
- After code changes, rebuild with `bun run build` and restart OpenClaw.
57
-
58
19
  ## OpenClaw Configuration
59
20
 
60
21
  Edit your `openclaw.json`: