@cortexmem/bridge-openclaw 0.1.0 → 0.1.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
@@ -5,17 +5,16 @@ Bridge plugin that connects [OpenClaw](https://github.com/openclaw) agents to [C
5
5
  ## Install
6
6
 
7
7
  ```bash
8
- npm install @cortexmem/bridge-openclaw
8
+ openclaw plugins install @cortexmem/bridge-openclaw
9
9
  ```
10
10
 
11
- ## Quick Start
11
+ ## Configure
12
12
 
13
- ```typescript
14
- import cortexBridge from '@cortexmem/bridge-openclaw';
13
+ Set environment variables or configure via `openclaw.json`:
15
14
 
16
- const agent = new Agent({
17
- plugins: [cortexBridge],
18
- });
15
+ ```bash
16
+ CORTEX_URL=http://localhost:21100 # Cortex server URL
17
+ CORTEX_DEBUG=true # Optional: enable debug logging
19
18
  ```
20
19
 
21
20
  ## Environment Variables
@@ -0,0 +1,23 @@
1
+ {
2
+ "id": "cortex-bridge",
3
+ "name": "Cortex Memory Bridge",
4
+ "kind": "memory",
5
+ "configSchema": {
6
+ "type": "object",
7
+ "additionalProperties": false,
8
+ "properties": {
9
+ "cortexUrl": {
10
+ "type": "string",
11
+ "default": "http://localhost:21100"
12
+ },
13
+ "debug": {
14
+ "type": "boolean",
15
+ "default": false
16
+ }
17
+ }
18
+ },
19
+ "uiHints": {
20
+ "cortexUrl": { "label": "Cortex Server URL" },
21
+ "debug": { "label": "Enable Debug Logging" }
22
+ }
23
+ }
package/package.json CHANGED
@@ -1,16 +1,20 @@
1
1
  {
2
2
  "name": "@cortexmem/bridge-openclaw",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "files": [
8
8
  "dist",
9
+ "openclaw.plugin.json",
9
10
  "README.md"
10
11
  ],
11
12
  "publishConfig": {
12
13
  "access": "public"
13
14
  },
15
+ "openclaw": {
16
+ "extensions": ["./dist/index.js"]
17
+ },
14
18
  "scripts": {
15
19
  "build": "tsup src/index.ts --format esm --dts",
16
20
  "dev": "tsx src/index.ts"