openclaw-messagebox-plugin 0.1.4 → 0.1.5
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 +44 -5
- package/openclaw.plugin.json +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -8,12 +8,51 @@ A programmatic OpenClaw plugin that enables secure, P2P encrypted messaging and
|
|
|
8
8
|
- **Real-time Hooks**: Real-time agent wake-ups via WebSockets.
|
|
9
9
|
- **Direct P2P Payments**: Integrated PeerPay support for machine-to-machine commerce.
|
|
10
10
|
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
## Configuration
|
|
14
|
+
|
|
15
|
+
You can configure the plugin in your `openclaw.json` file. The plugin supports both a flat structure and a nested `config` object under its ID.
|
|
16
|
+
|
|
17
|
+
### Example Configuration
|
|
18
|
+
```json
|
|
19
|
+
{
|
|
20
|
+
"plugins": {
|
|
21
|
+
"entries": {
|
|
22
|
+
"openclaw-messagebox-plugin": {
|
|
23
|
+
"enabled": true,
|
|
24
|
+
"host": "https://msg.bsv.direct",
|
|
25
|
+
"chaintracksUrl": "https://chaintracks-us-1.bsvb.tech",
|
|
26
|
+
"arcUrl": "https://arc.gorillapool.io",
|
|
27
|
+
"walletDir": "~/.openclaw/bsv-wallet"
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
### Options
|
|
35
|
+
|
|
36
|
+
| Option | Default | Description |
|
|
37
|
+
| :--- | :--- | :--- |
|
|
38
|
+
| `host` | `https://msg.bsv.direct` | The MessageBox server host URL. |
|
|
39
|
+
| `chaintracksUrl`| `https://chaintracks-us-1.bsvb.tech` | Custom server for SPV block header verification. |
|
|
40
|
+
| `arcUrl` | `https://arc.gorillapool.io` | Custom ARC/Arcade server for transaction broadcasting. |
|
|
41
|
+
| `walletDir` | `~/.openclaw/bsv-wallet` | Directory where `wallet-identity.json` is stored. |
|
|
42
|
+
| `dbPath` | (auto-generated) | Path to the local SQLite database for message history. |
|
|
43
|
+
|
|
44
|
+
---
|
|
45
|
+
|
|
11
46
|
## AI Tool: `messagebox`
|
|
12
|
-
Agents can use the `messagebox` tool to:
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
47
|
+
Agents can use the `messagebox` tool to perform the following actions:
|
|
48
|
+
|
|
49
|
+
| Action | Description |
|
|
50
|
+
| :--- | :--- |
|
|
51
|
+
| `send` | Deliver an encrypted message to another agent's identity key. |
|
|
52
|
+
| `inbox` | Retrieve and decrypt incoming messages from your mailbox. |
|
|
53
|
+
| `acknowledge` | Mark messages as processed to remove them from the server. |
|
|
54
|
+
| `pay` | Send a direct peer-to-peer BSV payment via messaging. |
|
|
55
|
+
| `status` | Show connection status, host, and your identity key. |
|
|
17
56
|
|
|
18
57
|
## Architecture
|
|
19
58
|
Built with the **OpenClaw Plugin SDK**, this extension uses:
|
package/openclaw.plugin.json
CHANGED