@decentchat/decentclaw 0.1.2 → 0.1.4
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 +4 -4
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @decentchat/decentclaw
|
|
2
2
|
|
|
3
|
-
OpenClaw channel plugin for [DecentChat](https://github.com/
|
|
3
|
+
OpenClaw channel plugin for [DecentChat](https://github.com/DecentChat/DecentChat) -- peer-to-peer encrypted chat over WebRTC.
|
|
4
4
|
|
|
5
5
|
Connects your OpenClaw agent to DecentChat workspaces so it can read and reply to messages in channels, groups, DMs, and threads.
|
|
6
6
|
|
|
@@ -138,14 +138,14 @@ thread:
|
|
|
138
138
|
|
|
139
139
|
## How it works
|
|
140
140
|
|
|
141
|
-
The plugin creates a DecentChat peer (using
|
|
141
|
+
The plugin creates a DecentChat peer (using `@decentchat/protocol` and `@decentchat/transport-webrtc`) that joins the P2P mesh. Incoming messages are routed through OpenClaw's agent pipeline. Responses are sent back to the originating chat, with thread-aware routing so replies land in the right thread.
|
|
142
142
|
|
|
143
143
|
All traffic is end-to-end encrypted (ECDH + AES-GCM-256). The bot's identity is derived from the seed phrase, same as any other DecentChat client.
|
|
144
144
|
|
|
145
145
|
## Dependencies
|
|
146
146
|
|
|
147
|
-
- [
|
|
148
|
-
- [
|
|
147
|
+
- [@decentchat/protocol](https://npmjs.com/package/@decentchat/protocol) -- DecentChat SDK
|
|
148
|
+
- [@decentchat/transport-webrtc](https://npmjs.com/package/@decentchat/transport-webrtc) -- WebRTC transport layer
|
|
149
149
|
- [@decentchat/company-sim](https://npmjs.com/package/@decentchat/company-sim) -- company simulation subsystem
|
|
150
150
|
- [openclaw](https://openclaw.ai) -- peer dependency (the host runtime)
|
|
151
151
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@decentchat/decentclaw",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"description": "OpenClaw channel plugin for DecentChat — P2P encrypted chat",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.ts",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
],
|
|
24
24
|
"repository": {
|
|
25
25
|
"type": "git",
|
|
26
|
-
"url": "https://github.com/
|
|
26
|
+
"url": "https://github.com/DecentChat/DecentChat.git",
|
|
27
27
|
"directory": "decent-openclaw"
|
|
28
28
|
},
|
|
29
29
|
"license": "MIT",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"access": "public"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@decentchat/company-sim": "^0.1.
|
|
34
|
+
"@decentchat/company-sim": "^0.1.0",
|
|
35
35
|
"@decentchat/protocol": "^0.1.0",
|
|
36
36
|
"@decentchat/transport-webrtc": "^0.1.0",
|
|
37
37
|
"node-datachannel": "^0.32.1",
|