a2a-xmtp 1.2.1 → 1.2.2

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.
Files changed (2) hide show
  1. package/README.md +3 -4
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -15,7 +15,6 @@ Decentralized Agent-to-Agent E2EE messaging for [OpenClaw](https://openclaw.ai)
15
15
 
16
16
  ```bash
17
17
  openclaw plugins install a2a-xmtp
18
- chown -R root:root ~/.openclaw/extensions/a2a-xmtp/
19
18
  ```
20
19
 
21
20
  ## Configure
@@ -34,7 +33,7 @@ Edit `~/.openclaw/openclaw.json`:
34
33
  "config": {
35
34
  "xmtp": {
36
35
  "env": "dev",
37
- "dbPath": "/root/.openclaw/xmtp-data"
36
+ "dbPath": "~/.openclaw/xmtp-data"
38
37
  }
39
38
  }
40
39
  }
@@ -46,7 +45,7 @@ Edit `~/.openclaw/openclaw.json`:
46
45
  Then restart:
47
46
 
48
47
  ```bash
49
- mkdir -p /root/.openclaw/xmtp-data
48
+ mkdir -p ~/.openclaw/xmtp-data
50
49
  openclaw gateway restart
51
50
  ```
52
51
 
@@ -57,7 +56,7 @@ openclaw gateway restart
57
56
  openclaw plugins list | grep a2a-xmtp
58
57
 
59
58
  # Check bridge status
60
- TOKEN=$(python3 -c "import json; print(json.load(open('/root/.openclaw/openclaw.json'))['gateway']['auth']['token'])")
59
+ TOKEN=$(python3 -c "import json,os; print(json.load(open(os.path.expanduser('~/.openclaw/openclaw.json')))['gateway']['auth']['token'])")
61
60
  curl -s -H "Authorization: Bearer $TOKEN" http://localhost:18789/a2a-xmtp/status
62
61
  ```
63
62
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "a2a-xmtp",
3
- "version": "1.2.1",
3
+ "version": "1.2.2",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",